mRyOuNg wrote: > Hi there,
> I'm trying to setup a DKIM signing through Amavis with a multipath > amavis configuration as explained in the documentation ... > Every mail sent to 127.0.0.1:10024 are foreign and not signed ... > Every mail sent to 127.0.0.1:10026 are originnating and are signed ... > This works pretty nicely if i do some tests directly via telnet ... > But i can't make it works from postfix ... Indeed, Postfix is always > sending mail as foreign (10024) even when they are supposed to be > originnating (for example, when i send a mail from localhost which is in > the $mynetworks configuration parameters)... > My configuration looks like the following: > -- from main.cf > content_filter = amavisfeed:[127.0.0.1]:10024 > smtpd_client_restrictions = > check_client_access regexp:/etc/postfix/tag_as_originating.re, > permit_mynetworks, > permit_sasl_authenticated, > check_client_access regexp:/etc/postfix/tag_as_foreign.re, > reject_unknown_reverse_client_hostname > smtpd_recipient_restrictions = permit_mynetworks, > reject_unauth_destination, > check_policy_service inet:127.0.0.1:10030 > -- from tag_as_originating.re > /^/ FILTER amavisfeed:[127.0.0.1]:10026 > -- from tag_as_foreign.re > /^/ FILTER amavisfeed:[127.0.0.1]:10024 > I know this seems to be more a "postfix" problem, than an amavis problem > ... But i first thought to come here, as i found all this information > from the amavis Website ... > Anyone having any idea about it ? > Thanks in advance for your answer ... Do you have more than one IP for your server? If so it were possible to seperate in and outgoing emails with different content filters per IP in master.cf. It's then not necassary to use check_client_access in the postfix restrictions. -- Daniel ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
