Increase spaminess for a set of domains
Dhawal Doshy
dhawal at NETMAGICSOLUTIONS.COM
Tue Nov 30 15:19:34 GMT 2004
[ The following text is in the "ISO-8859-2" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Thanks Julian and Marcin,
I tried fooling around with a sub in
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/EvalTests.pm but failed
miserably.. the lint test failed to recognize my rules.. will try again
at leisure.
sub in EvalTests.pm:
--------------------
sub check_to_in_mylist {
my ($self) = @_;
local ($_);
foreach $_ ($self->all_to_addrs()) {
if ($self->_check_whitelist ($self->{conf}->{mylist_to}, $_)) {
return 1;
}
}
}
my 70_something.cf file:
------------
header USER_IN_MYLIST eval:check_from_in_mylist()
describe USER_IN_MYLIST From: address is in the user's my-list
tflags USER_IN_MYLIST userconf noautolearn
SCORE USER_IN_MYLIST -1.000
mylist_from *@yahoo.co.in
Error:
------
config: SpamAssassin failed to parse line, skipping: mylist_from
*@yahoo.co.in
Anyways thanks again.. the spam.assassin.prefs.conf hack worked.
cheers,
- dhawal
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list