Koozali.org: home of the SME Server

Spam, how to auto delete

Offline loejf

  • ****
  • 74
  • +0/-0
Spam, how to auto delete
« 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.
...

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Spam, how to auto delete
« Reply #1 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.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline loejf

  • ****
  • 74
  • +0/-0
Re: Spam, how to auto delete
« Reply #2 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
...

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Re: Spam, how to auto delete
« Reply #3 on: September 23, 2007, 12:40:29 AM »
Yes
If you think you know whats going on, you obviously have no idea whats going on!

Offline loejf

  • ****
  • 74
  • +0/-0
Re: Spam, how to auto delete
« Reply #4 on: September 23, 2007, 05:10:46 PM »
Thanks
...

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Spam, how to auto delete
« Reply #5 on: September 24, 2007, 03:31:52 PM »
Will this delete the spam's that are in the user's junkmail folders??

Royce

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Spam, how to auto delete
« Reply #6 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.

Offline loejf

  • ****
  • 74
  • +0/-0
Re: Spam, how to auto delete
« Reply #7 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
...

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Re: Spam, how to auto delete
« Reply #8 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
If you think you know whats going on, you obviously have no idea whats going on!

Offline loejf

  • ****
  • 74
  • +0/-0
Re: Spam, how to auto delete
« Reply #9 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
...

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Re: Spam, how to auto delete
« Reply #10 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.
If you think you know whats going on, you obviously have no idea whats going on!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Spam, how to auto delete
« Reply #11 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.

Offline swissis

  • ***
  • 61
  • +0/-0
Re: Spam, how to auto delete
« Reply #12 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.
...

Offline magwm

  • *
  • 159
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: Spam, how to auto delete
« Reply #13 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?
MagWm

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Spam, how to auto delete
« Reply #14 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).

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Spam, how to auto delete
« Reply #15 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.

Offline swissis

  • ***
  • 61
  • +0/-0
Re: Spam, how to auto delete
« Reply #16 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?
...

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: Spam, how to auto delete
« Reply #17 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.

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: Spam, how to auto delete
« Reply #18 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