Cyrus (Sieve) and external programs

Pedro silva psilva at onesource.pt
Mon Jun 11 04:34:48 EDT 2018


Hello Adam, 

I've tried with fetchmail before, but coudn't get it to work, you
explanation is a big help with that method, I'll try it. 

Thanks. 

Pedro Silva 

On 08-06-2018 15:22, Adam Tauno Williams wrote:

>> sa-learn would be the way to go, but my spamassassin is not on the
>> same server as my mailboxes. I tried solution with a common mailbox
>> and something like fetchmail on my spamassassin machine, but could
>> not get it to work as I intended.
>> You are right about learning based on user experience, but as it is a
>> score based learning I would like to try to see how it goes. Maybe
>> I'll come to regret it but well...
> 
> The fetchmail method works.
> 
> In the spamd home directory create a .fetchmailrc file like:
> 
> poll aleph.wmmi.net protocol IMAP:
> user {user} with password {secret}
> 
> Where {user} is a system account with access to the user.{user}.SPAM
> folders.
> 
> Then you want to run:
> fetchmail --verbose --keep --all --norewrite  --folder
> 'user.{user}.SPAM' --mda '/usr/bin/sa-learn --spam'  AS THE "spamd"
> USER for each user.
> 
> It works for smallish systems.   Easily enough adapted to learn from
> one centralized folder provided your mail client has an easy way to get
> SPAM reported messages into that folder.
> 
> -- 
> Meetings Coordinator, Michigan Association of Railroad Passengers
> 537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010
> E-mail: awilliam at whitemice.org GPG#D95ED383 Web: http://www.marp.org
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20180611/2c069216/attachment.html>


More information about the Info-cyrus mailing list