Re: [Exim] return-path over smtp

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Emmanuel Lacour
Data:  
Para: Ruth Ivimey-Cook
CC: exim-users
Assunto: Re: [Exim] return-path over smtp
On Tue, 28 Nov 2000 16:27:58 +0000
Ruth Ivimey-Cook <Ruth.Ivimey-Cook@???> wrote:

> At 04:14 PM 11/28/00, you wrote:
> > > What exactly are you trying to achieve?
> >
> >         I'm triyng to send all undelivred messages (bad To:) to specified 
> > user.

> >
> >example: mail to tyty@??? (address invalid) from me@??? must
> >go back to returnmails@???
>
> It's usual for such mails to be sent to the sender, so they know that the
> address is bad, and can take alternative action. Are you catering for users
> who wouldn't understand what was going on in this case?
>
> The only thing I could suggest here is: either set Reply-To:, which may
> work but will probably annoy users, or use an exim rewrite rule to change
> the smtp from address (E-flag?) to the return address on all outgoing
> mails. However, this may have undesirable effects on on other mail systems,
> especially in the security and message logging/reporting area (because if
> you do this, all mail from your domain will appear to be from one address).
>
> Could you instead set up a filter for inbound messages that checks for
> returned mail errors addressed to your users and diverts them to the
> required place, or even better mangles them to an intelligible form?
>


I think I've qot finaly a solution:

HELO .............
MAIL FROM: returnmails@??? <----------
RCPT TO: tyty@???
DATA
From: me@??? <-------------
Subject:....
....
..
.
QUIT

It seems to work.
--
---------------
Emmanuel Lacour
---------------
Easter-eggs                                Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -     Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com   -    http://www.easter-eggs.com