I tried all sorts of examples in documentation, but can't seem to get this
to work ;-(

Even the step-by-step example in Oreilly and the README file of postfix (
http://www.postfix.org/FILTER_README.html) doesn't work at my site.
I spend already 8 hours to get this working.

I want to filter two items:

1) disclaimer
2) autoresponder

Both have to be set with -o content_filter, but only 1 is allowed in
master.cf

Hope somebody ahs a good and working example for me?

Kind regards,

Roland

On Thu, Oct 13, 2011 at 3:06 PM, Wietse Venema <wie...@porcupine.org> wrote:

> Roland de Lepper:
> > Even when I'm trying to do the first filter via this way, I get an error
> in
> > logs saying:  connect to 127.0.0.1[127.0.0.1]:10025: Connection refused
>
> You have NO SERVER that receives connections on port 10025.
>
> > What I configured:
> >
> > main.cf
> > content_filter = disclaimer:[127.0.0.1]:10025
>
> You have a CLIENT that makes connections to port 10025.
>
> > master.cf
> > smtp      inet  n       -       -       -       -       smtpd
> > disclaimer      unix    -       -       n       -       -       smtp
> >         -o myhostname=localhost
> > #------------------------------------
> > localhost:10026 inet    n       -       n       -       -       smtp
> >         -o content_filter=dfilt:
>
> You have a SERVER that receives connections on port 10026.
>
> 10025 is not 10026.
>
>        Wietse
>

Reply via email to