Thursday, February 7, 2013

Basic Exim Commands:


Check the mail logs through following command:

[root@test  ~]# cat /var/log/exim_mainlog | grep domainname.com


To see sent mail log view /var/log/maillog file.


You can see messages that are in the postfix queue.


[root@test  ~]# mailq


-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------


Count the number of messages in the queue on the server use following command

.
[root@test  ~]# exim -bpc


 Listing the messages in the queue (time queued, size, message-id, sender, recipient).


[root@test  ~]# exim -bp


Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals).


[root@test  ~]# exim -bp | exiqsumm


Check what Exim is doing right now.


[root@test  ~]# exiwhat

No comments:

Post a Comment