Re: [Exim] Routing with Spamcop

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Mark Edwards
Cc: exim-users
Asunto: Re: [Exim] Routing with Spamcop
On Sun, 4 Aug 2002, Mark Edwards wrote:

> I was wrong in my first assessment. Mail that gets an X-Warning: header
> does not get copied by the system-filter at all. Here is a log sample:
>
> 2002-08-04 14:06:31 H=(qqhrmc.net.cn) [61.138.3.251] Warning: found in bl.
> spamcop.net
> 2002-08-04 14:06:32 H0C7YV-0001JU-00 <= 104034.1703urj@???
> H=(qqhrmc.net.cn) [61.138.3.251] P=esmtp S=7908 id=200208042157.FAA25978@q
> qhrmc.net.cn
> 2002-08-04 14:06:32 H0C7YV-0001JU-00 => spam <system-filter> R=localuser T=
> local_delivery
> 2002-08-04 14:06:32 H0C7YV-0001JU-00 Completed
>
> I'm guessing that this is because of the "if first_delivery then" clause in
> my system-filter. Does that make sense?


No. But neither does your log match your filter. The log indicates that
the system filter requested a delivery to the local user "spam". You
quoted your system filter as:

> >> # Exim filter
> >>
> >> # Ignore error messages
> >> if error_message then finish endif
> >>
> >> # Copy if this is the first delivery attempt
> >> if first_delivery then
> >>    unseen deliver backup@??? errors_to postmaster@???
> >> endif


Is that *all* the system filter? I don't see any mention of "spam" in
there.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.