Re: Allowing IMAP users to train spam/ham
Am 05.03.2012 13:15, schrieb RW: > On Mon, 5 Mar 2012 10:54:22 +0100 > Matus UHLAR - fantomas wrote: > >> On 04.03.12 14:02, RW wrote: >>> An alternative would be to be more selective. I'm not sure if this is >>> specific to dovecot but when I copy/move a file in IMAP the new >>> maildir file has the same mtime, but a new epoch time in the file >>> name. What you might do is generate a list of filenames that contain >>> an epoch time later than the start of the previous run and sim-link >>> them into a temporary directory, and then learn that. >> >> afaik, dovecot itself has plugin to learn spam/ham: >> >> http://johannes.sipsolutions.net/Projects/dovecot-antispam > > I don't like it. It relies on FPs being removed from the SPAM folder > rather than spam being sent to a learn-spam folder. > i use a spam/ham forward email transport something like here http://patrick-wessel.de/projektlinuxserver/spamtraining-mit-perl/ http://www.localside.net/sal-wrapper/ but to be honest, its not widly used and needed -- Best Regards MfG Robert Schetterer Germany/Munich/Bavaria
Re: Allowing IMAP users to train spam/ham
On Mon, 5 Mar 2012 10:54:22 +0100 Matus UHLAR - fantomas wrote: > On 04.03.12 14:02, RW wrote: > >An alternative would be to be more selective. I'm not sure if this is > >specific to dovecot but when I copy/move a file in IMAP the new > >maildir file has the same mtime, but a new epoch time in the file > >name. What you might do is generate a list of filenames that contain > >an epoch time later than the start of the previous run and sim-link > >them into a temporary directory, and then learn that. > > afaik, dovecot itself has plugin to learn spam/ham: > > http://johannes.sipsolutions.net/Projects/dovecot-antispam I don't like it. It relies on FPs being removed from the SPAM folder rather than spam being sent to a learn-spam folder.
Re: dccifd error
Am Sonntag, 4. März 2012, 12:44:40 schrieb LuKreme: > I’ve noticed the following error in my mailogs: > > mail spamd[26839]: dcc: failed to connect to local socket /var/dcc/dccifd spamassassins DCC plugin will use dccproc if dccifd is not available. "If dccproc is run more than 500 times in fewer than 500 seconds, dccproc tries to start dccifd." (dccproc(8)) An example init script (e.g. /var/lib/dcc/libexec/rcDCC) explains how to start dccifd with init. Look for the rule DCC_CHECK in your spamd logs to see if DCC is working or not. RTFM: cdcc(8), dcc(8), dccm(8), dccifd(8) [ ... ] regards Stefan
Re: Allowing IMAP users to train spam/ham
LuKreme wrote: I sued to have a setup where IMAP users could put mail into either SPAM or Junk mailboxes to have it auto trained and then I had a script that stepped through and did the training, and it also processed non-new mail in the inbox as ham. On 04.03.12 07:55, xTrade Assessory wrote: what do you think of something less complex? you need but probably have autolearn enabled I guess you mean "you probably need autolearn enabled". One of autolearn' problems is, that if it starts misfiring, it will misfire more and more... The manual part is what is needed to prevent this - mostly the incorrectly classified mail needs to be learned. I offer the users a mailbox where they can drop/move any message they think is spam, what obviously not was processed by spamassasin and classified as such i my case the folder's name is X-SPAM this extra folder is necessary because what is in SPAM already is supposed to be SPAM correct. I don't now if it is a good idea running sa-learn n new msgs without knowing what it is It surely is not, however re-learning those as spam will fix that. Also, chose well your users, that they do not throw everything into this forlder then you run a script from cron once a day like this ### #!/bin/sh folders=`/usr/bin/find /home/ -maxdepth=2 -type f -name X-Spam -print` for folder in $folders; do /usr/local/bin/sa-learn --spam --mbox $folder done I think it would be wise to move messages away after learning. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. - Holmes, what kind of school did you study to be a detective? - Elementary, Watson. -- Daffy Duck & Porky Pig
Re: Allowing IMAP users to train spam/ham
On 04.03.12 14:02, RW wrote: An alternative would be to be more selective. I'm not sure if this is specific to dovecot but when I copy/move a file in IMAP the new maildir file has the same mtime, but a new epoch time in the file name. What you might do is generate a list of filenames that contain an epoch time later than the start of the previous run and sim-link them into a temporary directory, and then learn that. afaik, dovecot itself has plugin to learn spam/ham: http://johannes.sipsolutions.net/Projects/dovecot-antispam -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. - Have you got anything without Spam in it? - Well, there's Spam egg sausage and Spam, that's not got much Spam in it.