How do a label an email as spam with Spamassassin
I'm wondering if I can label an email as spam after spamassassin checks it. I read where I should put in my .procmailrc the following: * ^X-Spam-Status: Yes spam Will this send an email to me with a "spam" notice? -- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
* Tom Nielsen
I'm wondering if I can label an email as spam after spamassassin checks it. I read where I should put in my .procmailrc the following:
* ^X-Spam-Status: Yes
spam
Will this send an email to me with a "spam" notice?
No, but there are examples included with spamassassin for inclusion in your .procmailrc or your procmail recipe file and explanation of the usage. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711
On Fri, 2004-03-12 at 13:24, Patrick Shanahan wrote:
* Tom Nielsen
[03-12-04 13:37]: I'm wondering if I can label an email as spam after spamassassin checks it. I read where I should put in my .procmailrc the following:
* ^X-Spam-Status: Yes
spam
Will this send an email to me with a "spam" notice?
No, but there are examples included with spamassassin for inclusion in your .procmailrc or your procmail recipe file and explanation of the usage. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711
I had to, in my .spamassassin/user_prefs, add "rewrite_subject 1" And that did it. Thanks! -- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
* Tom Nielsen
I had to, in my .spamassassin/user_prefs, add "rewrite_subject 1" And that did it.
It's amazing what information is available in the man-pages and READMEs accompanying software packages. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711
On Fri, 2004-03-12 at 13:33, Patrick Shanahan wrote:
* Tom Nielsen
[03-12-04 16:31]: I had to, in my .spamassassin/user_prefs, add "rewrite_subject 1" And that did it.
It's amazing what information is available in the man-pages and READMEs accompanying software packages.
Actually, I didn't find it in the man page or Readme, I found it on the net after going through 20+ links. Additionally, I didn't know if what I found is what I needed. Guess I was right. Tom -- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
The 2004-03-12 at 10:31 -0800, Tom Nielsen wrote:
I'm wondering if I can label an email as spam after spamassassin checks it. I read where I should put in my .procmailrc the following:
* ^X-Spam-Status: Yes
spam
Will this send an email to me with a "spam" notice?
No. The above has incorrect sintaxis. Assuming the email has already passed through SpamAssassin, this rule: :0 * ^X-Spam-Status: Yes spam will forward mail to a user named "spam" on your system. The complete rule would be something like this (in /home/user/.procmailrc file) :0fw: spamassassin.lock * < 50000 | /usr/bin/spamc :0 a * ^X-Spam-Status: Yes :0 $HOME/Mail/in_spam That rule is prepared for a system low in memory or otherwise slow; it will scan mails, and then move those marked with the "X-Spam-Status: Yes" header to a folder, in my case, "$HOME/Mail/in_spam". It needs service "rcspamd" to have been started previously by root or on boot. More info: man procmailex sources of Mail-SpamAssassin or directory /usr/share/doc/package/SpamAssassin, files: ./spamd/README.spamd ./spamd/suse-rc-script.sh ---> rcspamd ./USAGE ./procmailrc.example And there is also a line to obtain help from perl itself, but I forgot which it was. -- Cheers, Carlos Robinson
participants (3)
-
Carlos E. R.
-
Patrick Shanahan
-
Tom Nielsen