Re: [Exim] return-path over smtp

Góra strony
Delete this message
Reply to this message
Autor: Jeffrey Goldberg
Data:  
Dla: Emmanuel Lacour
CC: exim-users
Temat: Re: [Exim] return-path over smtp
On Tue, 28 Nov 2000, Emmanuel Lacour wrote:

>     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@???


This is typical for things like mailing lists and is a reasonable thing to
want to do. It must be done by setting the ENVELOPE From. That is the
MAIL FROM in the SMTP dialogue should be <returnmails@???>. There
is nothing in the DATA part that would do what you want.[1]

[1] Well, almost nothing. In some preverse circumstances the Sender:
header might pick up a couple of things. There is a non-standard
Errors-To: header as well which a very few systems will respect, (but most
will correctly ignore it). The correct solution is to get the MAIL FROM:
correct in the SMTP dialogue.

-j

--
Jeffrey Goldberg
I have recently moved, see http://www.goldmark.org/jeff/contact.html
Relativism is the triumph of authority over truth, convention over justice