How to config spamassassin move spam to "junk e-mail&qu

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

How to config spamassassin move spam to "junk e-mail&qu

Postby akoei » Tue Jul 03, 2007 5:24 pm

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?

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Jul 04, 2007 6:26 am

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.

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

Postby akoei » Wed Jul 04, 2007 10:19 am

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?

joako
Posts: 308
Joined: Tue May 08, 2007 10:45 pm

Postby joako » Wed Jul 04, 2007 11:29 am

Use the rules wizard set it to move messages with header

Code: Select all

X-Spam-Status: Yes
to folder

Code: Select all

Junk E-mail

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Postby dougp23 » Wed Jul 04, 2007 3:47 pm

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

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

Postby akoei » Wed Jul 04, 2007 4:26 pm

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

akoei
Posts: 66
Joined: Tue Jul 03, 2007 5:13 pm

Postby akoei » Wed Jul 04, 2007 4:54 pm

joako wrote:Use the rules wizard set it to move messages with header

Code: Select all

X-Spam-Status: Yes
to folder

Code: Select all

Junk E-mail


Can Spamassassin do it centralized?

joako
Posts: 308
Joined: Tue May 08, 2007 10:45 pm

Postby joako » Wed Jul 04, 2007 7:13 pm

No Because the way Scalix handles the mail.

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Postby dougp23 » Sat Jul 07, 2007 8:38 am

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.


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 2 guests