Page 1 of 1
How to config spamassassin move spam to "junk e-mail&qu
Posted: Tue Jul 03, 2007 5:24 pm
by akoei
I have installed Scalix 11.1.0, and spamassassin, following the scalix setup guide. I use the spamassassin test string: "XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X"
by sending this string from outsaid, it seems spamassassin block/drop the test email, but actually I want keep those spams in the "junk e-mail" folder in Outlook 2003, in case false positive. How to do that?
Posted: Wed Jul 04, 2007 6:26 am
by Valerion
Spamassassin can either flag mail as spam (usually between 5 and 15) or outright drop it (larger than 15). It can flag by setting a new header in the mail, or by changing the subject.
Spamass-milter on my machine is responsible for dropping mail. If you pass it a "-r 15" it will drop from a score of 15 or upwards. So have it flag by inserting a header, remove the -r 15, and put a rule in your mailbox to auto-file all messages flagged as spam to a different folder. Or you can use Outlook's built-in mechanisms here, though I haven't really played with that.
Posted: Wed Jul 04, 2007 10:19 am
by akoei
Valerion wrote:Spamassassin can either flag mail as spam (usually between 5 and 15) or outright drop it (larger than 15). It can flag by setting a new header in the mail, or by changing the subject.
Spamass-milter on my machine is responsible for dropping mail. If you pass it a "-r 15" it will drop from a score of 15 or upwards. So have it flag by inserting a header, remove the -r 15, and put a rule in your mailbox to auto-file all messages flagged as spam to a different folder. Or you can use Outlook's built-in mechanisms here, though I haven't really played with that.
But in my /etc/sysconfig/spamass-milter, all have been comment:
### Override for your different local config
#SOCKET=/var/run/spamass.sock
### Default parameter for spamass-milter is -f (work in the background)
### you may add another parameters here, see spamass-milter(1)
#EXTRA_FLAGS="-m -r 15"
Should I un-comment or is there any other files I can config?
Posted: Wed Jul 04, 2007 11:29 am
by joako
Use the rules wizard set it to move messages with header
to folder
Posted: Wed Jul 04, 2007 3:47 pm
by dougp23
akoei wrote:
But in my /etc/sysconfig/spamass-milter, all have been comment:
### Override for your different local config
#SOCKET=/var/run/spamass.sock
### Default parameter for spamass-milter is -f (work in the background)
### you may add another parameters here, see spamass-milter(1)
#EXTRA_FLAGS="-m -r 15"
Should I un-comment or is there any other files I can config?
Look for the EXTRAFLAGS in /etc/init.d/spamass-milter
Posted: Wed Jul 04, 2007 4:26 pm
by akoei
dougp23 wrote:akoei wrote:
But in my /etc/sysconfig/spamass-milter, all have been comment:
### Override for your different local config
#SOCKET=/var/run/spamass.sock
### Default parameter for spamass-milter is -f (work in the background)
### you may add another parameters here, see spamass-milter(1)
#EXTRA_FLAGS="-m -r 15"
Should I un-comment or is there any other files I can config?
Look for the EXTRAFLAGS in /etc/init.d/spamass-milter
comment "EXTRA_FLAGS="-m -r 15" does let me see the GTUBE test spam with prefix [SPAM] in subject, but still go to "INBOX". Still don't know how to redirect to outlook "Junk E-mail". Help please...
Posted: Wed Jul 04, 2007 4:54 pm
by akoei
joako wrote:Use the rules wizard set it to move messages with header
to folder
Can Spamassassin do it centralized?
Posted: Wed Jul 04, 2007 7:13 pm
by joako
No Because the way Scalix handles the mail.
Posted: Sat Jul 07, 2007 8:38 am
by dougp23
akoei wrote:dougp23 wrote:akoei wrote:
But in my /etc/sysconfig/spamass-milter, all have been comment:
### Override for your different local config
#SOCKET=/var/run/spamass.sock
### Default parameter for spamass-milter is -f (work in the background)
### you may add another parameters here, see spamass-milter(1)
#EXTRA_FLAGS="-m -r 15"
Should I un-comment or is there any other files I can config?
Look for the EXTRAFLAGS in /etc/init.d/spamass-milter
comment "EXTRA_FLAGS="-m -r 15" does let me see the GTUBE test spam with prefix [SPAM] in subject, but still go to "INBOX". Still don't know how to redirect to outlook "Junk E-mail". Help please...
Create a new mailbox in sac, let's say "thisisspam@mydomain.com"
Then, add this to the EXTRA_FLAGS section:
-b
thisisspam@mydomain.com
Now all spam will be sent to that account.
Good luck.