Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: loejf on September 22, 2007, 08:40:11 PM

Title: Spam, how to auto delete
Post by: loejf on September 22, 2007, 08:40:11 PM
Hi.
Is it possible somewhere to configure spamassassin to automatic delete spammails after a number of days?
As it were in some contribs in version 6.
Best regards.
Title: Re: Spam, how to auto delete
Post by: byte on September 22, 2007, 09:42:36 PM
Is it possible somewhere to configure spamassassin to automatic delete spammails after a number of days?

Yes you can do...

db configuration setprop spamassassin MessageRetentionTime 60

Where 60 is the value you want, then do...

signal-event email-update

The default is 90 days.
Title: Re: Spam, how to auto delete
Post by: loejf on September 23, 2007, 12:33:02 AM
Thank you.
So if I want only 20 days, will I then use

db configuration setprop spamassassin MessageRetentionTime 20

Best regards
Title: Re: Spam, how to auto delete
Post by: crazybob on September 23, 2007, 12:40:29 AM
Yes
Title: Re: Spam, how to auto delete
Post by: loejf on September 23, 2007, 05:10:46 PM
Thanks
Title: Re: Spam, how to auto delete
Post by: mercyh on September 24, 2007, 03:31:52 PM
Will this delete the spam's that are in the user's junkmail folders??

Royce
Title: Re: Spam, how to auto delete
Post by: CharlieBrady on September 24, 2007, 03:50:55 PM
Will this delete the spam's that are in the user's junkmail folders??

After the configured number of days. Yes, that's exactly what it does. Does the User Guide not say as much? If so, please open a bug in the Bug Tracker to ask that the Documentation be updated.
Title: Re: Spam, how to auto delete
Post by: loejf on September 28, 2007, 08:10:11 PM
Hi.
Very strange, since I did this changes to the settings, almost all spam gets through spamassassin??
Does this change make other modifications, I should be aware off?
Best regards
Title: Re: Spam, how to auto delete
Post by: crazybob on September 28, 2007, 09:40:42 PM
Not that I am aware of. Amount of spam varies from time to time. The spammers are always looking for a way to get around anti spam software, and it takes a few days for programs to be updated or learn the new tricks
Title: Re: Spam, how to auto delete
Post by: loejf on September 28, 2007, 09:54:03 PM
Hmm.
What also was possible earlier, was to add some predefined spamlists, from various sites:
etc. spamcops.org or something like that.
Is that possible then?
Best regards
Title: Re: Spam, how to auto delete
Post by: crazybob on September 28, 2007, 10:02:06 PM
check out http://wiki.qpsmtpd.org/plugins, and do a little searching

documents should be read at least twice.
Title: Re: Spam, how to auto delete
Post by: CharlieBrady on September 28, 2007, 10:34:53 PM
check out http://wiki.qpsmtpd.org/plugins, and do a little searching

No additional plugins are required to use DNS blacklists.
Title: Re: Spam, how to auto delete
Post by: swissis on January 08, 2008, 10:06:44 AM
At my place the mail is forwarded to an exchange server.
Spam mails are tagged in the subject as ****spam****
Is there a way to delete them on the sme server.
Title: Re: Spam, how to auto delete
Post by: magwm on January 08, 2008, 10:16:40 AM
regarding this spam thing, I would like to sort incoming spam automatically into the mail box of a 'spam' user. is that possibile?
Title: Re: Spam, how to auto delete
Post by: mmccarn on January 08, 2008, 02:47:50 PM
At my place the mail is forwarded to an exchange server.
Spam mails are tagged in the subject as ****spam****
Is there a way to delete them on the sme server.
Run through the commands shown in http://wiki.contribs.org/Email#Setup_Blacklists_.26_Bayesian_Autolearning to configure your server to automatically reject email with a spam score above 12, accept but mark email scored between 4 and 12, and turn on Bayesian auto-learning so that your spam filtering will improve over time (once you've seen 200 "spams" and 200 "hams").

Or, go to http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#E-mail_Filtering and set
"Spam sensitivity" to "Custom"
"Custom spam tagging level" to 4
"Custom spam rejection level" to 12
and
"Modify subject of spam messages" to "Disabled"

Adjust the spam tagging and rejection levels to suit your particular needs.

(but I strongly recommend enabling Bayesian autolearning as originally recommended).
Title: Re: Spam, how to auto delete
Post by: mmccarn on January 08, 2008, 02:48:40 PM
regarding this spam thing, I would like to sort incoming spam automatically into the mail box of a 'spam' user. is that possibile?

I have not seen a simple solution to this on SME.
Title: Re: Spam, how to auto delete
Post by: swissis on January 09, 2008, 08:53:09 AM
Hi, Thanks a lot

Is it possible to see which amout of spam is deleted in logfiles or so?
Title: Re: Spam, how to auto delete
Post by: mmccarn on January 09, 2008, 12:48:12 PM
http://wiki.contribs.org/Email_Statistics

You can install bread's contrib to send you daily emails with stats, or you can make sure that 'qplogsumm' is enabled, and view /qpsmtpd/state using 'View log files' in /server-manager.

Or, you can download and run 'qplogtail' to "watch" the qpsmtpd log in real-time.
Title: Re: Spam, how to auto delete
Post by: stephen noble on January 09, 2008, 02:11:01 PM
I have not seen a simple solution to this on SME.

there have been multiple methods
http://www.dungog.net/wiki/Dungog-email#Spam_redirect_to_mailbox

charlie provided the neatest
search on .qmail