How to accept all mail and forward to another SMTP server?

Michele Neylon:: michele at BLACKNIGHT.IE
Tue Oct 11 21:30:28 IST 2005

If the gateway server is running sendmail simply add the following into
the mailertable (usually in /etc/mail/mailertable ):
domain.tld  esmtp:[destination]

The square brackets are required
Destination can be an IP address or hostname

Sendmail will check the mailertable and see that it is set to accept
mail for the domain, mailscanner will filter it and send on the "clean"
mail to the destination



Mr Michele Neylon
Blacknight Solutions
Quality Business Hosting & Colocation
Tel. 1850 927 280
Intl. +353 (0) 59  9183072
Direct Dial: +353 (0)59 9183090
Fax. +353 (0) 59  9164239

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki ( and
the archives (

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list