Linux setup steps/Exim 4 configuration
From Nick Jenkins
Exim 4 configuration:
Need to configure exim rather than remove it because the "at" package depends on a mail-transport-agent package.
dpkg-reconfigure exim4-config
Then choose these options:
Split configuration into small files? No [default] General type of mail configuration: internet site; mail is sent and received directly using SMTP System mail name: YourHostName.com IP-addresses to listen on for incoming SMTP connections: 127.0.0.1 Other destinations for which mail is accepted: <blank> Domains to relay mail for: YourOtherHostName.com machines to relay for: <blank> Keep number of DNS-queries minimal (Dial-on-Demand)? No Delivery method for local mail: mbox format in /var/mail/
[this allows mail to be sent locally, but not by other hosts connecting to this one]
If sending mail is not working:
To see the queue, and try to clear it out, do this:
exim4 -v -v -v -qff
To view the log messages, do this:
view /var/log/exim4/mainlog
or:
tail -f /var/log/exim4/mainlog
