Re: [EXIM] smartbounces

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Leonardo Boselli
Datum:  
To: James FitzGibbon, exim-users
CC: exim-users
Betreff: Re: [EXIM] smartbounces
Il look nice, but how to put instead of a line in the text = "You sent
a message ..." an entire file (It could be for example le list of
deleted users that asked their new addresses to be advertized or
the istruction on how to retrieve the list of valid addresses) ?
Also the new_address statement would mangle the original
headers? i wish to have all undeliverable address toi a fixed
address so i could try to forward by hand, but having full addresses
make things easier ...

On 14 Apr 99, at 13:17, James FitzGibbon wrote:
> >  any message sent to a non-existent user must be:
> >    a) forwarded to a specified user;
> >  _AND_
> >    b) bounced back to the sender with an explicative text ("You sent 
> > a message to an user that is not currently active. A copy of 
> > message is sent to the postmaster so he can try to deliver, but this is
> > not warranted" )
> Try something like this:
> # TRANSPORTS
> autoreply_notfound:
>  driver = autoreply
>  to = $sender_address
>  from = mailer-daemon@???
>  subject = "that user isn't here anymore"
>  text = "You sent a message ..."
>  return_message

>
> [rest of your transports here]
>
> # DIRECTORS
>
> [your existing directors here]
>
> local_notfound:
> driver = smartuser
> transport = autoreply_notfound
> unseen
> new_director = local_notfound_copy
>
> local_notfound_copy:
> driver = smartuser
> new_address = postmaster@???
>
>
> That way any message that isn't picked up by your existing directors will
> hit the local_notfound director, which matches everything and queues it
> for the autoreply_notfound transport. Because of the 'unseen' and
> 'new_director' options, it re-directs the message, starting with the
> local_notfound_copy director. This director also matches everything, but
> changes the recipient address to the postmaster.
>
> I'm not sure if the new_director option is actually required on the
> local_notfound director or not. I don't think it will cause problems
> though.


Leonardo Boselli
nucleo informatico e telematico
Dipartimento Ingegneria Civile
Universita` di Firenze
V. S. Marta 3 - I-50139 Firenze
tel +39()0554796431 fax +39()055495333
http://www.dicea.unifi.it/~leo

--
*** Exim information can be found at http://www.exim.org/ ***