Exim Tips

Exim Tips


Summary

Just my notes for Exim administration


Detail

Log file is located at /var/log/exim4/mainlog

See some general stats: eximstats -nr /var/log/exim4/mainlog

See current activity: exim4 -bp | exiqsumm

See the # of messages in the queue: exim4 -bpc

See undelivered messages in the queue: exim4 -bpu

See what the actual processes are doing: exiwhat

Checking mailbox size: du -hsc * (run in /home)

The configuration template is in /etc/exim4/update-exim4.conf.conf and the actual config file in in /var/lib/exim4/config.autogenerated

Regenerate the config file from the template: update-exim4.conf

Reload the configuration: invoke-rc.d exim4 reload

Send a test message send "content" | mail -s "subject" [email protected]

Send a message without "send": echo "body" | mail -s "subject" [email protected]

Process the queue: exim -q -v

Process the queue, ignoring retry times: exim -qf -v

Process the queue, including even frozen messages: exim -qff -v

To see the contents of a specific message: exim -Mvc messageid

References