RE: [Exim] last little spamassassin fix

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Terry Shows
Dátum:  
Címzett: exim-users
Tárgy: RE: [Exim] last little spamassassin fix
Richard,

I do this with my system filter file.

Here is my entry:

----- clip ----------------
if $h_X-Spam-Flag: contains "YES" then
logfile /usr/exim/log/SPAM.log
logwrite "$tod_log Recipient: $recipients"
logwrite "$tod_log Sender: $return_path"
logwrite "$tod_log Subject: $header_subject"
logwrite "$tod_log X-Spam-Status: $h_X-Spam-Status"
logwrite "$tod_log X-Spam-Flag: $h_X-Spam-Flag"
logwrite "*********************"
save /var/mail/SPAM
seen finish
endif
------------ clip -----------------

As you can see, I first make a log entry of the email, then push it into a
file called "SPAM" in the /var/mail directory. If nobody has any missing
email, I purge the SPAM and log file ever few weeks.

I believe you can remove all of the logfile, logwrite, and save commands, to
get what you are asking for.

Terry Shows

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
Behalf Of Richard
Sent: Monday, June 09, 2003 5:56 PM
To: exim-users@???
Subject: [Exim] last little spamassassin fix


Hi folks,
I now have spamassassin and exim working together site-wide across a
server, and the emails are being delivered into users mailboxes nicely
taggfed with "****SPAM****" etc.

However, I cant seem to get the procmailrc file to be read . I want the
spam emails to be auto redirected to /dev/null/ and that is what I put
in /etc/procmailrc, but it is having no effect on the delivery.

so I ask ...

Do I have to configure the procmail trasnport in some way in exim.conf
for it to see the /etc/procmailrc file ?


I am runing exim 3.35-1 installed as a .deb package on Debian Woody. I
have also seen posts about using filters in exim, but didnt get a grasp
of what that entailed...

thanks for any pointers

richard


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##