To test verbose mail-delivery and debugging via the Exim SMTP server in @Mail, you can use the following command:
/usr/local/atmail/mailserver/bin/exim -d -v ‘user@localdomain.com’
^D ( control D )
This will step through each router in Exim, until the message is delivered or bounced.
This command can be useful for debugging, ( to test why a message cannot be delivered, database connection details, exim router reports, aliases and catch-all delivery )
For a more simple version use the command:
# /usr/local/atmail/mailserver/bin/exim -bt ‘username@localdomain.com’
username@localdomain.com
router = spamcheck_router, transport = spamcheck
This will emulate message-delivery and report which router can handle the message. The above message reports the message is accepted within @Mail.
For accounts that do not exist the following is returned:
username@localdomain.com is undeliverable:
Unrouteable address