Re: [Exim] Re: User-Filter with Error 550

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andrew D
Date:  
À: Klaus Arnhold
CC: exim-users
Sujet: Re: [Exim] Re: User-Filter with Error 550
----- Original Message -----
Sent: Sunday, June 03, 2001 11:14 AM
Subject: [Exim] Re: User-Filter with Error 550


> Am 16:43 Uhr -0400 01.06.2001 schrieb Dave C.:
>
> >Exim filter are run after the message has already been received (eg, the
> >SMTP connection has already been completed). There is currently no way
> >to do what you want.
>
> Thanks Dave, this is of course true and I know
> that the filter will run *after* a message has
> already been received.
>

change ur filter to this :)
# Exim filter
if $reply_address contains "@spam.site" and
$reply_address does not contain "postmaster@"
then
fail "550 User unknown"
endif

from that filter I just mentioned
-snip-
This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  awd@???
    550 User unknown


------ This is a copy of the message, including all the headers. ------
-snip-
this is an actual unknown failed message from exim
-snip-
This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  hskdjhdsakjs@???
    unknown local-part "hskdjhdsakjs" in domain "dux.au.com"


------ This is a copy of the message, including all the headers. ------
-snip-

very very similar and should do what u want.
HTH
cya
Andrew



--
It's always easier to just fall than to try to climb.