Archive for the tag 'Commands'

SBDavid

Useful Exim Commands

Useful Exim Commands

Exim is a mail transfer agent used on Unix-like operating systems. Exim is highly configurable, and therefore has features that are lacking in other MTAs. Exim has always had substantial facilities for mail policy controls, providing facilities for the administrator to control who may send or relay mail through the system.

To print a count of the mails in the queue -> exim -bpc

Print a listing of the messages in the queue (time queued, size, message-id, sender, recipient) -> exim -bp

To show the current configuration file of exim -> exim -bP

To show the version and configuration file of exim -> exim -bV

Generate and display Exim stats from a logfile -> eximstats /var/log/exim_mainlog

Print what Exim is doing right now -> exiwhat

To Print the message-id of the messages in queue -> exiqgrep -i

To remove a mail from the queue -> exim -Mrm

To freeze a mail -> exim -Mf

To deliver a specific mail from the queue -> exim -M

To remove all frozen mails -> exiqgrep -z -i | xargs exim -Mrm

To view the headers of a mail -> exim -Mvh

To view body of a mail -> exim -Mvb

« Prev