[AMaViS-user] difficulty setting outgoing policy-bank

This is a discussion on [AMaViS-user] difficulty setting outgoing policy-bank within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Hello, I am trying to set a different policy (using a policy bank) for outgoing email for some networks. I ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008
Louis Munro
 
Posts: n/a
Default [AMaViS-user] difficulty setting outgoing policy-bank

Hello,
I am trying to set a different policy (using a policy bank) for outgoing
email for some networks. I am using postfix with a cidr map to route
that traffic to a different port on amavisd. I have set up a policy bank
with different values for some variables but only some of those seem to
actually have any effect. The others are either ignored or rejected when
amavis loads the policy banks with a line like :
(!)loading policy bank "POLICY-OUT": unknown field "spam_quarantine_to"

Here is the policy as configured in amavisd.conf

$policy_bank{'POLICY-OUT'} = {
log_level => 3,
spam_quarantine_to => undef,
spam_kill_level_maps => [7.0],
spam_dsn_cutoff_level_maps => undef,
virus_admin_maps => [ 'virusadmin@example.com' ],
};

$interface_policy{'11025'} = 'POLICY-OUT';

In this case, it sets the $log_level, $spam_kill_level_maps and
$virus_admin_maps correctly, but the @spam_dsn_cutoff_level_maps is
unaffected as is the $spam_quarantine_to.

What I want is to never quarantine and always send out a dsn for these
networks.

Does anyone know what I'm missing?

I'm running postfix 2.2 and amavisd-new 2.5.3.

Thanks,
Louis

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757...un.com/javaone
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:49 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0