Ralph Seichter:
> On 05.09.10 20:55, Wietse Venema wrote:
> 
> > As documented header_checks are not implemented in smtpd(8) but
> > in cleanup(8).
> 
> Yup, that's why I asked if I needed a second cleanup service.
> 
> > If you are courageous you can implement different cleanup
> > services:
> >
> > /etc/postfix/master.cf"
> > submission . . . . . . . . . . . smtpd
> >  -o cleanup_service=cleanup_for_submission
> > cleanup_for_submission . . . . . cleanup
> >  -o header_checks=pcre:/etc/postfix/submission_header_checks
> 
> I just tried this, but the mail log still returns "GOTCHA-header_checks"
> instead of "GOTCHA-submission_header_checks".
> 
>   postfix/cleanup[16068]: DD8413343CD: warning: header Received: from
>     server.domain.tld (p57A8518F.dip.t-dialin.net [87.168.81.143])??by
>     seth.horus-it.com (Postfix) with ESMTPSA id DD8413343CD??for
>     <j...@somewhere.net>; Sun, 5 Sep 2010 21:12:42 +02 from
>     p57A8518F.dip.t-dialin.net[87.168.81.143]; from=<r...@domain.tld>
>     to=<j...@somewhere.net> proto=ESMTP helo=<server.domain.tld>:
>     GOTCHA-header_checks
>   postfix/cleanup[16068]: DD8413343CD: warning: header Received: from
>     server.domain.tld (localhost [127.0.0.1])??by server.domain.tld
>     (Postfix) with ESMTPS id 3424923A10??for <j...@somewhere.net>; Sun, 5 Sep
>     2010 21:12:42 +0200 (CEST) from
>     p57A8518F.dip.t-dialin.net[87.168.81.143]; from=<r...@domain.tld>
>     to=<j...@somewhere.net> proto=ESMTP helo=<server.domain.tld>:
>     GOTCHA-header_checks
> 
> Could this have anything to do with the messages passing through
> amavisd-new and returning via 127.0.0.1:10025 ?

Are you running header_checks BEFORE or AFTER the external content
filter, or both? See the receive_override_options discussion in
the Postfix FILTER_README documentation.

        Wietse

Reply via email to