Exim Mail Server Quick Solution

grep mail@mail.com /var/log/exim_mainlog

tail -f /var/log/exim_mainlog

grep 1IapG1-0007YX-8t /var/log/exim_mainlog

# grep mail@mail.com /var/log/exim_mainlog

Grep a particular mail
tail -f /var/log/exim_mainlog | exigrep we3cares

Forcibly deliver the mails
exim -qff -v

Find the count of mails in queue
exim -bpc

Exim restart
/sbin/service exim restart
/etc/init.d/exim restart

To delete frozen mails
exim -bp | grep frozen | awk ‘{print $3}’ | xargs exim -Mrm
grep -R -l ‘*** Frozen’ /var/spool/exim/msglog/*|cut -b26-|xargs exim -Mrm

To find the frozen mails
exim -bp | grep frozen | awk ‘{print $3}’

To send mail
mail -v mail@mail.com

pa -ax | grep -i email

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.