Exim: Difference between revisions

From Psygen Wiki
Jump to navigation Jump to search
(Created page with "exim is a popular mailserver. You can use the exim command to administer, get info from, and other interactions with the exim mailserver. <code>exim -Mvh <i>messageID</i></co...")
 
No edit summary
Line 3: Line 3:
<code>exim -Mvh <i>messageID</i></code> show email header for the specified message
<code>exim -Mvh <i>messageID</i></code> show email header for the specified message


exim  -Mvb messageID (show the body of the email)
<code>exim  -Mvb <i>messageID</i></code> show the body of the email


exim  -Mvl messageID (show the logs for the specified email)
<code>exim  -Mvl <i>messageID</i></code> show the logs for the specified email


exim -bpc (show the number of e-mails in the queue)
<code>exim -bpc</code> show the number of e-mails in the queue


exim -bp (show the e-mails in the queue)
<code>exim -bp</code> show the e-mails in the queue


exigrep (grep for mail logs example: exigrep spam@psygen.org /var/log/exim_mainlog )
 
<code>exigrep</code> grep for mail logs
 
'''Example:'''
 
<code>exigrep spam@psygen.org /var/log/exim_mainlog</code>

Revision as of 18:35, 21 December 2016

exim is a popular mailserver. You can use the exim command to administer, get info from, and other interactions with the exim mailserver.

exim -Mvh messageID show email header for the specified message

exim -Mvb messageID show the body of the email

exim -Mvl messageID show the logs for the specified email

exim -bpc show the number of e-mails in the queue

exim -bp show the e-mails in the queue


exigrep grep for mail logs

Example:

exigrep spam@psygen.org /var/log/exim_mainlog