root@server [~]# service exim status
exim dead but subsys locked
Solution :
Stop cron
service crond stop
vi /usr/local/prm/ignore
Add the entry “exim”
Save and quit
service exim start
service crond start
service exim status
root@server [~]# service exim status
exim dead but subsys locked
Solution :
Stop cron
service crond stop
vi /usr/local/prm/ignore
Add the entry “exim”
Save and quit
service exim start
service crond start
service exim status
exim -bp |exiqsumm –> List the number of mails in queue and its size. Also it shows the domain on to which the mail is send. NOTE : Its not the domain from which the mail is send.
exim -bpr | grep frozen | wc -l —> Shows the number of mails that are frozen
exiqgrep -z -i | xargs exim -Mrm —> Remove just the frozen mails.
exiqgrep -i -f [email protected] | xargs exim -Mrm –> Remove all mails from a particular email address.
exim -Mvh Message ID —> To view exim mail header
exim -Mvb Message ID —> To view exim mail body
exim -q -v —> Forcefully run mail queue.
If an entry present in
/etc/localdomains
Mail server will be the currents server
If mail server set as remote server, then entry will be present on
/etc/remoteserver
tail -f 100 /var/log/exim_mainlog