(MS/MSFE)Delete {Spam?} and {Definitely Spam?} before it ever sees the light of day?

schwim

Well-Known Member
Aug 2, 2006
213
0
166
Hi there guys,

Using ConfigServer's install of Mailscanner/MailScanner Front End

I have a question. I have three clients(and I would like it myself) that have asked if the mail could immediately be purged if tagged as spam.

The reason for this in all of our cases is because when travelling, if we check the mail on our phones, we have to load 20 pages worth before we get a valid mail and all of our phone bills are suffering.

Is there a way on a "per user" basis to jettison any tagged mail, not having to deal with a mailbox filter at all?

thanks,
json
 

schwim

Well-Known Member
Aug 2, 2006
213
0
166
Hi there Verdon and thanks for the reply.

I was hoping per user. Thanks very much for the clarification though.

thanks,
json
 

nickp666

Well-Known Member
Jan 28, 2005
769
2
168
/dev/null
you can do it on a per user, its just a bit manual, you need to edit:

/usr/mailscanner/etc/rules/spam.action.rules
and
/usr/mailscanner/etc/rules/spamhigh.action.rules

basically if you look at the stuff that is already in there, you will see how you need to format the lines and what information they need, just ensure that your [email protected] lines come before the *@domain.com line, otherwise I think it inherits the settings from there, regardless of which mailbox you use.