fetchmail procmail spamassassin
All,
I would like to use fetchmail + procmail + spamassassin in odre to tag all incoming spams on my server for all users. Content of my /etc/fecthmailrc Code:
[root@localhost etc]# more fetchmailrc This seems OK. Content of /etc/procmailrc Code:
[root@localhost etc]# more procmailrc Code:
# This is the right place to customize your installation of SpamAssassin. When I run Code:
spamc < vincent What do I have to do to effectively uppdate header of spam ??? Thanks in advance for your help, Regards, Vincent |
Quote:
I have a tag for the subject line...... Code:
# SpamAssassin config file for version 2.5x |
Homey,
Thanks for your reply. I have updated my local.cf for spamassassin according to your comment. What is strange is that, when I run spamc on a SPAM, it detects it and tag it as SPAM. The header is unfortunately not updated accordingly. Could the problem come from the procmail definition? It seems that either 1) Procmail does not start spamc or 2) spamassasin does not update the header or 3) Procmail does not catch the update from spamassassin. Is there a log file somewhere for procmail? Have you an idea on how I could find the origin of the problem? Thanks in advance for your help, Regards, Vincent |
Sorry, I'm not up to speed on mail yet. I used the tutorial at qmailrocks.org which I think is really excellent.
I don't have that machine loaded up at this time but it seemed to work ok for me. Here is my procmailrc but I don't recall where I got this from. :( /etc/procmailrc INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc |
I think I have the solution.
I have added, in /etc/fetchmailrc, the following line for each of my accounts: mda "/usr/bin/procmail -d %T" Now, headers are updated. Hope this will help other people. Regards |
All times are GMT -5. The time now is 05:11 PM. |