This is a discussion on Re: [AMaViS-user] FW: How to increase the score for specific recipient within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; MJ wrote: > Hi, > I want to add some positive score (black list) to all the incoming > messages ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
MJ wrote:
> Hi, > I want to add some positive score (black list) to all the incoming > messages to xyz@ourdomain.com to achieve this objective, I tried to add > the following line in /etc/amavisd.conf > 'xyz@ourdomain.com' => 3.0, > But it give gives the following error > Sep 17 10:26:42 mailgate1 postfix/smtp[1370]: [ID 197553 mail.info] > 1974445F75: to=<xyz@ourdomain.com>, relay=127.0.0.1[127.0.0.1], > delay=87, status=deferred (host 127.0.0.1[127.0.0.1] said: 451 4.5.0 > Error in processing, id=01521-01-2, spam-wb-list FAILED: Can't use > string ("3") as an ARRAY ref while "strict refs" in use at (eval 39) > line 178. (in reply to end of DATA command)) > Any idea how can I get this result? > Thanks, > MJ Here is an excerpt from amavisd.conf: @score_sender_maps = ({ # a by-recipient hash lookup table, # results from all matching recipient tables are summed # ## per-recipient personal tables (NOTE: positive: black, negative: white) # 'user1@example.com' => [{'bla-mobile.press@example.com' => 10.0}], <...> }); I would think you could interpolate this to: 'xyz@ourdomain.com' => [{'.' => 3.0}], Inflating the score from every sender is an unusual thing to do, but I could see how it might be used for testing. Gary V ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ 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/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|