Re: When/How to train bayes from user mail?

2013-10-16 Thread Tom Hendrikx
On 10/15/2013 09:03 PM, Florian Lindner wrote:
 Am Dienstag, 15. Oktober 2013, 07:19:01 schrieb Andreas Schulze:
 Zitat von Florian Lindner mailingli...@xgm.de:
 Since we move our server (and upgrade from oldstabe to stable) I want to
 reconsider how I organize mails serverside.

 Debian, MTA is postfix, MDA maildrop (like procmail), IMAP was
 courier, will be dovecot.

 if you use dovecot, maildrop is obsolete.
 deliver your mail via LMTP (or dovecot-lda) to dovecot and let
 dovecot-sieve do the filtering to subfolders.
 
 I object.
 AFAIK when using dovecot an LDA there is a 1:1 relation of mail adress and 
 mailbox. When using maildrop I can deliver multiple adresses to a single 
 maildir or one adress to multiple maildirs.

I would really keep those requirements at the MTA level using aliasing
and whatnot. Delivering a message to multiple folders within a single
maildir (duplication) can be one using sieve.

 Additionally sieve can not call 
 external programms.

Wrong. http://wiki2.dovecot.org/Pigeonhole/Sieve lists several (albeit
experimental) extensions that can run external programs. Setup is not as
easy as with procmail (sorry, no maildrop experience here) but it gives
the administrator control over what disasters can be triggered when
email triggers execution of external tools set up by users.

  
 Also consider using amavisd-new + clamav + spamassassin to REJECT
 mails. (not accept + delete)
 You may connect amavisd-new as SMTPD_PROXY or using amavisd-milter to
 your postfix MTA.

 My biggest open question is how to integrate the SA bayes filter,
 esp. when and on what folders to do training.

 I train sa only using the autolearn feature.
 

dovecot has the antispam plugin, which can be used to call sa-learn (or
any other tool) for each message that is moved in/out of the spam
folder. See http://wiki2.dovecot.org/Plugins/Antispam for details

Regards,
Tom



signature.asc
Description: OpenPGP digital signature


Re: When/How to train bayes from user mail?

2013-10-15 Thread Florian Lindner
Am Dienstag, 15. Oktober 2013, 07:19:01 schrieb Andreas Schulze:
 Zitat von Florian Lindner mailingli...@xgm.de:
  Since we move our server (and upgrade from oldstabe to stable) I want to
  reconsider how I organize mails serverside.
  
  Debian, MTA is postfix, MDA maildrop (like procmail), IMAP was
  courier, will be dovecot.
 
 if you use dovecot, maildrop is obsolete.
 deliver your mail via LMTP (or dovecot-lda) to dovecot and let
 dovecot-sieve do the filtering to subfolders.

I object.
AFAIK when using dovecot an LDA there is a 1:1 relation of mail adress and 
mailbox. When using maildrop I can deliver multiple adresses to a single 
maildir or one adress to multiple maildirs. Additionally sieve can not call 
external programms.
 
 Also consider using amavisd-new + clamav + spamassassin to REJECT
 mails. (not accept + delete)
 You may connect amavisd-new as SMTPD_PROXY or using amavisd-milter to
 your postfix MTA.
 
  My biggest open question is how to integrate the SA bayes filter,
  esp. when and on what folders to do training.
 
 I train sa only using the autolearn feature.

Ok.

Regards,
Florian



Re: When/How to train bayes from user mail?

2013-10-14 Thread Andreas Schulze


Zitat von Florian Lindner mailingli...@xgm.de:


Since we move our server (and upgrade from oldstabe to stable) I want to
reconsider how I organize mails serverside.

Debian, MTA is postfix, MDA maildrop (like procmail), IMAP was  
courier, will be dovecot.


if you use dovecot, maildrop is obsolete.
deliver your mail via LMTP (or dovecot-lda) to dovecot and let  
dovecot-sieve do the filtering to subfolders.


Also consider using amavisd-new + clamav + spamassassin to REJECT  
mails. (not accept + delete)
You may connect amavisd-new as SMTPD_PROXY or using amavisd-milter to  
your postfix MTA.


My biggest open question is how to integrate the SA bayes filter,  
esp. when and on what folders to do training.

I train sa only using the autolearn feature.

Andreas