RE: [Exim] last little spamassassin fix

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Richard
Date:  
À: Terry.Shows
CC: exim-users
Sujet: RE: [Exim] last little spamassassin fix
I have it working now thanks, Currently I use exim3 which came with
stable/debian/woody. Its stopping about 85% of the spam. Does anyone
have a backport .deb of exim4 that runs on debian/stable/woody. I have a
feeling it will be worth the upgrade ?

richard






On Tue, 2003-06-10 at 07:09, Terry Shows wrote:
> Richard.
>
> I hate to say this, but you may need to spend a little more time reading the
> manuals. The system filter is clearly explained in the docs.
>
> Anyway: Here are my entries in my configure file.. Hope they help.
>
> -------clip----------
> # Set up the System Filter File
> system_filter = /usr/exim/system.filter
> system_filter_reply_transport = local_delivery
> system_filter_file_transport = address_file
> system_filter_user = exim
> system_filter_group = exim
> ----------end clip--------------
>
> Of course change the user and group to match what the user that exim runs as
> on your system.
>
> -----Original Message-----
> From: Richard [mailto:richard@tijuana.com]
> Sent: Monday, June 09, 2003 6:20 PM
> To: Terry.Shows@???
> Subject: RE: [Exim] last little spamassassin fix
>
>
> Thanks Terry,
>
> this will do the trick, but what system filter file does it go in. I
> dont think I have any filter files.. :(
> (sorry if I sound ... un-read... I've just converted 4 major
> RH/sendmail networks to Debian/exim and the strain is getting to me :)
> ... and yes they are live web networks....
>
>
> r
>
>
> On Mon, 2003-06-09 at 16:03, Terry Shows wrote:
> > 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/ ##
> >
> >
> > --
> >
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##