<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hello Adam,</p>
<p>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.</p>
<p><br /></p>
<p>Thanks.</p>
<p>Pedro Silva</p>
<p><br /></p>
<p>On 08-06-2018 15:22, Adam Tauno Williams wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">sa-learn would be the way to go, but my spamassassin is not on the<br /> same server as my mailboxes. I tried solution with a common mailbox<br /> and something like fetchmail on my spamassassin machine, but could<br /> not get it to work as I intended.<br /> You are right about learning based on user experience, but as it is a<br /> score based learning I would like to try to see how it goes. Maybe<br /> I'll come to regret it but well...</blockquote>
<br /> The fetchmail method works.<br /> <br /> In the spamd home directory create a .fetchmailrc file like:<br /> <br /> poll aleph.wmmi.net protocol IMAP:<br /> user {user} with password {secret}<br /> <br /> Where {user} is a system account with access to the user.{user}.SPAM<br /> folders.<br /> <br /> Then you want to run:<br /> fetchmail --verbose --keep --all --norewrite --folder<br /> 'user.{user}.SPAM' --mda '/usr/bin/sa-learn --spam' AS THE "spamd"<br /> USER for each user.<br /> <br /> It works for smallish systems. Easily enough adapted to learn from<br /> one centralized folder provided your mail client has an easy way to get<br /> SPAM reported messages into that folder.<br /> <br /> <br /> <span class="sig">-- <br /> Meetings Coordinator, Michigan Association of Railroad Passengers<br /> 537 Shirley St NE Grand Rapids, MI 49503-1754 Phone: 616.581.8010<br /> E-mail: <a href="mailto:awilliam@whitemice.org">awilliam@whitemice.org</a> GPG#D95ED383 Web: <a href="http://www.marp.org" target="_blank" rel="noopener noreferrer">http://www.marp.org</a><br /> ----<br /> Cyrus Home Page: <a href="http://www.cyrusimap.org/" target="_blank" rel="noopener noreferrer">http://www.cyrusimap.org/</a><br /> List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" target="_blank" rel="noopener noreferrer">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br /> To Unsubscribe:<br /> <a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" target="_blank" rel="noopener noreferrer">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br /> </span></div>
</blockquote>
</body></html>