Exim: Difference between revisions

From Psygen Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
<code>exim  -Mvl <i>messageID</i></code> show the logs for the specified email
<code>exim  -Mvl <i>messageID</i></code> show the logs for the specified email


<code>Exim -Mrm <I>messageID</i></code> remove the specified message from the queue
<code>exim -Mrm <I>messageID</i></code> remove the specified message from the queue


<code>exim -bpc</code> show the number of e-mails in the queue
<code>exim -bpc</code> show the number of e-mails in the queue
Line 17: Line 17:
<code>exim -bt person@ example. com</code> Sends a "test message" to the specified e-mail address. Kind of a  "traceroute for exim".
<code>exim -bt person@ example. com</code> Sends a "test message" to the specified e-mail address. Kind of a  "traceroute for exim".


<code> -v </code> Verbose. Can be used with any other options.





Revision as of 17:25, 9 January 2017

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 -Mvc messageID show the compete message, including headers

exim -Mvl messageID show the logs for the specified email

exim -Mrm messageID remove the specified message from the queue

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

exim -bp show the e-mails in the queue

exim -bt person@ example. com Sends a "test message" to the specified e-mail address. Kind of a "traceroute for exim".

-v Verbose. Can be used with any other options.


exigrep grep for mail logs

Example:

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


References

  1. Exim documentation