Re: Cyrus (Sieve) and external programs

Pedro silva <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Organization Onesource
Message-ID <[email protected]>
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: [email protected] 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

----
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.