Exim4: Test and Administer

exim -bV tests the configuration, shows some summery

exim -bt <address> simulates the processing of the given address

exim -v <address> gives the option to directly pass a message to exim (mo MTA). -v is to see everything exim is doing on the stderr. Headers go per line, eg. From: me@here.org

The following adds a SPAM tag to the subject line:[1]

headers_add "New-Subject: SPAM: $h_subject:"headers_remove subjectneaders_add "Subject: $h_new-subject:"
headers_remove new-subject

To summerize the unsend messages from the mailq use exim -bpu | exiqsumm (-bp to show all)

Remove all frozen/unsent messages in one line: exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm"; $3}' | sh. There should be a shorter one using exiqgrep, but I cannot figure it out right now. [1]

Testing the rewrite (-brw <address>) or retry rules (-brt <address [short | long]>|<domain>)

To test whether exim4 is configured properly (or any other mail server) abuse.net gives a relay test page. Also to decide how the confiuration will basically be done, a good starting point is delivered with the exim package: /usr/share/doc/exim4-config/README.Debian.gz (what a surprise 😉 )

Also, the wiki of exim.org seams a good securing resource. But that has to wait a few more hours because of humanly wants at this hour.


  1. Saturday, 18th Jun 2011 at 13:34

    Thanks for revealing your ideas. Something is that learners have an option between federal student loan plus a private student loan where it’s easier to go for student loan online debt consolidation than over the federal education loan.

  2. Saturday, 18th Jun 2011 at 13:34

    Many thanks for this article. I will also like to express that it can always be hard when you find yourself in school and simply starting out to establish a long credit history. There are many scholars who are just simply trying to pull through and have a long or favourable credit history are often a difficult matter to have.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: