From: Craig Sanders (no email)
Date: Mon Nov 01 2004 - 15:53:01 EST
On Mon, Nov 01, 2004 at 09:25:19PM +0100, Magnus B?ck wrote:
> On Monday, November 01, 2004 at 20:59 CET,
> Craig Sanders <> wrote:
>
> > you can avoid all this filtering work for these emails by running
> > another smtpd instance (either on a different port or a different IP
> > address) which has all the filtering stuff disabled.
> >
> > e.g. to run a non-filtering smtpd on port 26, you'd have something
> > like the following in /etc/postfix/master.cf:
> >
> > :26 inet n - n - - smtpd -o content_filter= -o body_checks= -o header_checks=
>
> No, setting body_checks and header_checks for smtpd is useless. See
> FILTER_README for the version of Postfix in question for information on
> how it can be done (cleanup_service_name and receive_override_options
> are useful keywords).
yes, so it is. my brain hadn't quite booted up yet. insufficient coffee
error.
the "-o content_filter=" works and, as you say, you can specify a different
cleanup service. e.g. by making a new cleanup service with "-o body_checks= -o
header_checks=" etc and using that for the new smtpd.
> > remember to restart postfix (NOTE: restart, not reload) whenever you
> > change master.cf
>
> A restart is only required when inet_interfaces is changed.
nope, a restart is required when you change master.cf. reload is required when
you change main.cf
craig
-- craig sanders <> (part time cyborg)
|
|
|