|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: content_filter breaks sendmail -bv
From: Wietse Venema (wietse
porcupine.org)
Date: Mon Feb 06 2006 - 00:53:39 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Joshua Goodall:
> On Sat, Feb 04, 2006 at 10:11:07AM -0500, Wietse Venema wrote:
> > Joshua Goodall:
> > > Hi,
> > >
> > > (summary: content_filter in a pickup service breaks sendmail -bv
> > > processing and postsuper -r; plea for any prior solution)
> >
> > Attached are patches for Postfix 2.2 and 2.3 queue managers that
> > disable content inspection for "sendmail -bv".
>
> This needed instead
>
> ! #define VERIFY_FLAGS (DEL_REQ_FLAG_VERIFY | DEL_REQ_FLAG_EXPAND)
>
> to work in 2.2 (and it does work, thank you!).
>
> > You failed to explain symptoms of what breaks with "postsuper -r",
> > so I can't help you there.
>
> postsuper -r drops the mail into the "maildrop" queue, so it's processed
> by the pickup daemon. With this in master.cf:
>
> pickup fifo n - - 60 1 pickup
> -o content_filter=smtp:[filterhost]:25
>
> it's immediately sent via the filter, even if that wasn't the original
> intended behaviour (e.g. let's say it came in via smtpd). I realise
> this is a side-effect of documented behaviour, but I don't see a clean
> programmatic way around it.
>
> If I could specify a different queue with postsuper -r (e.g. the incoming
> queue), then it wouldn't happen.
Well that would make "postsuper -r" equivalent to "sendmail -q".
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]