Differences between version 8 and predecessor to the previous major change of SpamAssassin.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 8 | Last edited on Wednesday, July 21, 2004 6:27:25 am | by SpamAssassin | Revert |
Older page: | version 5 | Last edited on Friday, June 13, 2003 3:26:32 pm | by CraigBox | Revert |
@@ -22,20 +22,25 @@
* add a filter rule to Evolution: if specific header X-Spam-Flag = YES, drop the email in my Spam folder
.fetchmailrc:
- poll mail.myisp.co.nz
- user "pop3user" password "secret" is user "localuser" here
+ poll mail.myisp.co.nz protocol POP3
+ user "pop3user" password "secret" is user "localuser" here mda "/usr/bin/procmail";
.procmailrc
+ :0 fhw
+ | formail -I "From " -a "From "
:0fw
- | spamassassin -P
+ | spamassassin
+
+Note: older versions of spamassassin needed a "
-P" option to tell it to read from a pipe, but that is now the default.
+The formail line corrects incoming messages for programs like evolution and mail by readding the From line.
~/bin/getmail:
#!/bin/bash
- /usr/bin/fetchmail -m /usr/bin/procmail
>> ~/log/fetchmail
+ /usr/bin/fetchmail >> ~/log/fetchmail
crontab:
*/5 * * * * /home/localuser/bin/getmail