Postfix AROUND MailScanner

Chris Trudeau chris at TRUDEAU.ORG
Wed Nov 5 15:01:36 GMT 2003


Peter,

Thanks for the idea...I have a couple of questions in response:

1.  if I do this and WANT to maintain a dual postifx instance will it work?
And how would the header check pass a message fitting the variables defined
to the outbound instance?  Or would it simply deliver it directly?

2.  Using a single instance, do you still experience repetative FROM
addresses in your notifications? (an apparent mailscanner/postfix logging
bug)

thanks!

CT

----- Original Message -----
From: "Peter Bates" <Peter.Bates at LSHTM.AC.UK>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Wednesday, November 05, 2003 8:41 AM
Subject: Re: Postfix AROUND MailScanner


> Hello all...
>
> > chris at TRUDEAU.ORG 04/11/03 16:13:57 >>>
> >I would like my inbound instance of postfix (which per the
> documentation
> >SIMPLY defers all mail for MS to pickup and scan) to actually deliver
> >messages originating FROM this address without sending them to the MS
>
> >queue.
> >Any ideas?
>
> I'm using MS with Postfix in a slightly 'non-standard' way, but which
> is working fine for 13-15K messages we deal with (actually it might be
> more, I never bothered counting our outgoing email!)...
>
> I'm using a 'header_check' like so:
>
> In main.cf -
> header_checks = pcre:/etc/postfix/header_checks
>
> In header_checks -
>
> /^Received:.*by .*\.lshtm.ac.uk \(Postfix\)/ HOLD
>
> This puts the incoming mail in the 'hold' queue, and then
> I have in MailScanner.conf -
>
> Incoming Queue Dir = /var/spool/postfix/hold
> Outgoing Queue Dir = /var/spool/postfix/incoming
>
> I could be wrong, but if you find a pattern, and then do
>
> /pattern/ OK
>
> above the HOLD pattern, the messages should be passed through
> Postfix normally.
>
> The advantage of this (non-standard) setup is that you only run one
> instance of the MTA as well, but naturally that needs a little fiddling
> with the init-script to keep things happy...
>
>
>
> --------------------------------------------------------------------------
------------------------->
> Peter Bates, Systems Support Officer, Network Support Team.
> London School of Hygiene & Tropical Medicine.
> Telephone:0207-958 8353 / Fax: 0207- 636 9838



More information about the MailScanner mailing list