Re: [AMaViS-user] FW: How to increase the score for specific recipient

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 ...


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 09-17-2005
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] FW: How to increase the score for specific recipient

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/
Reply With Quote
Reply


Thread Tools
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

vB 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 04:18 PM.


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