hi,
i´m using per-recipient white- and blacklists but blacklisted mails aren´t
marked as spam (like in amavisd-new maia). they are recognized as
blacklisted but not marked in the subject.
in my amavisd.conf i have the following settings:
$mydomain = 'localhost';
....
$sql_select_policy = 'SELECT *,users.id FROM users,policy'.
' WHERE (users.policy_id=policy.id) AND (users.email IN (%k))'.
' ORDER BY users.priority DESC';
# per-recipient white and blacklist
$sql_select_white_black_list = 'SELECT wb FROM wblist,mailaddr'.
' WHERE (wblist.rid=?) AND (wblist.sid=mailaddr.id)'.
' AND (mailaddr.email IN (%k))'.
' ORDER BY mailaddr.priority DESC';
...
$sa_spam_subject_tag = '***SPAM*** ';
$sa_spam_modifies_subj = 1;
...
in the .conf-sample there is following:
#$sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disabled)
# (only seen when spam is passed and recipient
is
# in local_domains*)
what is this local_domains stuff? i´m using a virtual mail system with
postfix and cyrus-imap based on a mysql db. is it possible that the virtual
domains aren´t recognized as local? could that be the reason that the
blacklisted/spam mails aren´t marked in the subject?
when i set this in my config
$sql_select_policy = 'SELECT "Y" as local FROM domain WHERE
CONCAT("@",domain_name) IN (%k)';
then spam is marked in the subject but i want to use per-recipient policies
because of horde-sam.
in the amavisd-maia distibution there is a column named spam_modifies_sub in
the policy table so the user can set if he wants the subject of spam mail to
be modified or not. does the normal amavisd-new version have this feature
too or is there just the global setting in amavisd.conf?
greetz
philippe
--
I am using the free version of SPAMfighter for private users.
It has removed 3673 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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/