Re: [AMaViS-user] disclaimer not working with amavisd-new 2.6.x
Vishy, > I have enabled the ORIGINATING policybank and also enabled 10026 port > configuration in amavis. But i am not clear with the entry required in > postfix master.cf for port 10027. > > Could you please send me the entry detail for the same. Not sure I understand the question. Have you checked the: http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim-postfix-dual-path If you are referring to 10027 as a Postfix re-entry port, it can be just a cut/paste copy of the 10025 entry in master.cf - but you probably do not need to have a separate re-entry port, just use the 10025 if it is not necessary to continue distinguishing the two mail paths. Btw, if you do not have authenticated roaming users but only hosts in internal networks submitting mail, the @mynetworks list suffices for setting the $originating flag, and dedicated policy banks are not necessary. Mark -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ 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/
Re: [AMaViS-user] disclaimer not working with amavisd-new 2.6.x
Vishy, > Need help with getting disclaimer working with amavisd-new 2.6.4. I had > configured disclaimer to work with 2.5.4 and recently upgraded amavisd to > 2.6.4 and since then disclaimer stopped working. > > Following is my configuration related to disclaimer in amavisd.conf > > $altermime = '/usr/bin/altermime'; # a path to the program > @altermime_args_disclaimer = qw(--verbose > --disclaimer=/etc/amavisd/disclaimer.txt > --disclaimer-html=/etc/amavisd/disclaimer.html); > $defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ]; > $policy_bank{'MYUSERS'} = { >originating => 1, >allow_disclaimers => 1, > }; > > The setup has postfix+amavisd-new+cyrus-imap. As mentioned earlier this > configuration was working with amavisd 2.5.4 but has stopped working with > 2.6.x. The only time it works is when a user send mail using webmail > (also configured on the same server as postfix+amavis). For mail sent > using any other clients like Outlook, Thunderbird etc., disclaimer is no > longer working. > > Could someone help me get disclaimer working with 2.6.x Sorry for a long delay. I finally tried your setup, and it does work here. One difference between 2.5.4 and 2.6.4 is: amavisd-new-2.6.0 release notes: - an additional requirement for loading a policy bank 'MYUSERS' is that 'originating' flag must be on, which typically means that mail must be coming from internal networks or from authenticated roaming users to be able to load a policy bank 'MYUSERS'; so I suspect that what the $originating flag is not being turned on for mail from your SMTP MUA clients, yet it is being turned on by mail from your webmail server. The $originating flag is either turned on implicitly by a client's IP address matching @mynetworks, or explicitly through a policy bank typically attached to a dedicated TCP port number, to which MTA will feed mail from internal or authenticated roaming clients. A debug log would tell if my guess is right. Mark -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ 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/
Re: [AMaViS-user] disclaimer not working with amavisd-new 2.6.x
Can someone help me with this. Regards, Vishy On Sun, Dec 20, 2009 at 11:19 AM, Vishwanath T. K. wrote: > Hello everyone, > > Need help with getting disclaimer working with amavisd-new 2.6.4. I had > configured disclaimer to work with 2.5.4 and recently upgraded amavisd to > 2.6.4 and since then disclaimer stopped working. > > Following is my configuration related to disclaimer in amavisd.conf > > $altermime = '/usr/bin/altermime'; # a path to the program > @altermime_args_disclaimer = qw(--verbose > --disclaimer=/etc/amavisd/disclaimer.txt > --disclaimer-html=/etc/amavisd/disclaimer.html); > $defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ]; > $policy_bank{'MYUSERS'} = { >originating => 1, >allow_disclaimers => 1, > }; > > The setup has postfix+amavisd-new+cyrus-imap. As mentioned earlier this > configuration was working with amavisd 2.5.4 but has stopped working with > 2.6.x. The only time it works is when a user send mail using webmail (also > configured on the same server as postfix+amavis). For mail sent using any > other clients like Outlook, Thunderbird etc., disclaimer is no longer > working. > > Could someone help me get disclaimer working with 2.6.x > > Thanks in advance > > vishy > > -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ 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/