Hi again,

and never mind.

I've read some more and it works now as I'm overriding all the
*restriction options in the local smtpd listener.

Wolfgang

On 11/24/2009 09:27 AM, Wolfgang Rosenauer wrote:
> Hi,
> 
> I'm just updating my mail server and try to use the integrated dkim
> stuff instead of dkim-milter.
> For that to work correctly I need to use policy banks what I didn't do
> before and basically followed the instructions in the documentation to
> set up amavisd and postfix to use multiple paths.
> 
> I don't get it to work though.
> 
> My postfix setup is this:
> 
> smtp     inet  n      -       n       -        10      smtpd
>   -o content_filter=smtp:[127.0.0.1]:10024
> localhost:10025 inet  n      -       n       -        -       smtpd
>   -o content_filter=
>   -o
> receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_address_mappings
> 
> smtpd_client_restrictions=
>    check_client_access regexp:/etc/postfix/tag_as_originating.re,
>    permit_sasl_authenticated,
>    permit_mynetworks,
>    reject_rbl_client zen.spamhaus.org,
>    reject_rbl_client ix.dnsbl.manitu.net,
>    check_client_access regexp:/etc/postfix/tag_as_foreign.re,
>    ldap:/etc/postfix/ldapaccess.cf
> 
> tag_as_originating.re:
> /^/  FILTER smtp:[127.0.0.1]:10026
> 
> tag_as_foreign.re:
> /^/  FILTER smtp:[127.0.0.1]:10024
> 
> 
> The issue I see now is that when the mail comes back from amavis to
> postfix (port 10025) the FILTER rules apply again as it comes in as a
> new mail basically.
> Overriding the content_filter doesn't seem to work in that case.
> 
> How is that supposed to work?

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to