Peace proposal: postfix+sendmail+mailscanner

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Mar 9 23:59:46 CET 2007


Right,

In this holy war of MTA's may I suggest a peace proposal? At least humor 
me and read it in full before you start firing again.

Just a few assumptions:
  - MailScanner is designed to work on mailqueues. (batch wise)
  - sendmail's way of working with mailqueues does fit MailScanner.
  - postfix prefers SMTP conversations between postfix and 3rd party
    components.

As some prefer to maintain postfix configurations instead of sendmail 
configurations there is a gap left between the MailScanner and postfix 
ideologies.

How about using a stripped down sendmail config to bridge that gap? That 
config could be generic as far as I can figure it out.

The flow would then be something like:

 	Outside world ==SMTP==> postfix:25
 	postfix ==SMTP==> sendmail:10225
 	sendmail ==QUEUE==> MailScanner
 	...... MailScanner (doing a lot of tricks)
 	MailScanner ==QUEUE==> sendmail
 	sendmail ==SMTP==> postfix:10025
 	postfix delivery as usual

Basically sendmail would be a stripped down solution to translate from 
SMTP to inbound queue and outbound queue to SMTP again.

>From the postfix perspective sendmail is just another filter pretty much 
like one would do for amavisd, .....

The trick is to build a sendmail config that would do the trick and does 
not require changes for multidomain handling. The SmartHost option would 
be sufficient to handle the hand of back to postfix. (Even I can write 
that part. ;-)

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hugo.vanderkooij.org/
 	    This message is using 100% recycled electrons.

 	Some men see computers as they are and say "Windows"
 	I use computers with Linux and say "Why Windows?"
 		(Thanks JFK, for the insight.)


More information about the MailScanner mailing list