GotMail is a tool that retrieves Hotmail messages and delivers it either
to a folder or to an email address.

I've set it up so it delivers to my local mail server, which is then
parsed by SA.

I would like to increase the score by 2-3 points when it comes from
Hotmail - as I mostly receive spam there. Also, I would like to increase
the score by 15 if it comes from Hotmail's "Junk Mail" folder.

I tried to create the following rules in /etc/mail/spamassassin but it
doesn't work. In fact, I am not too sure about the config files in
/etc/mail/spamassassin - should they follow the same naming convention
as /usr/share/spamassassin?

Thanks for any help.


[root@gate spamassassin]# pwd
/etc/mail/spamassassin
[root@gate spamassassin]# cat 20_head_tests.cf
# SpamAssassin rules file: tests.
#######################################################################
#####

header HOTMAIL_SPAM             X-gotmail-folder =~ /Junk/
describe HOTMAIL_SPAM           Hotmail: flagged as Junk by lame MS spam
protection

header HOTMAIL_INBOX            X-gotmail-folder =~ /Inbox/
describe HOTMAIL_INBOX          Hotmail: not flagged as Junk but since
MS sucks it doesn't mean anything

[root@gate spamassassin]# cat 50_scores.cf
# SpamAssassin rules file: scores.
#######################################################################
#####
# Default scores.   Note that if a test is named in the files, but a
# score is not assigned here, the default score will be set to 1.

# Private scoring - EG 30/06/2002

score HOTMAIL_SPAM      15
score HOTMAIL_INBOX     2.5

[root@gate spamassassin]#


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to