"
We are running Exim 4.50.

We need to be able to send e-mails with various different return addresses for 
example:

The Xyz Company <[EMAIL PROTECTED]>
or
Support Systems Ltd <[EMAIL PROTECTED]>

I have changed the return-path in the header of all outgoing e-mails by using:

return_path = $ reply_address

This
seemed to work fine. However some remote mail servers (by no means all)
and rejecting the the e-mails sent to the with a 501 error.

It appears that Exim could be constructing the return_path as follows:

<The Xyz Company <[EMAIL PROTECTED]>>

Adding
an extra set of < > around the complete address. This can be see
in the log file as P=<The Xyz Company <[EMAIL PROTECTED]>>.

I have a couple of questions about this:

1.
Is this expected behaviour and is the syntax of the return_path created
therefore legal (i.e. are the remote SMTP servers rejecting this
unnecessarily)?
2. How can this be changed to strip the excess <
> before sending? Can this be done with a rewrite rule or by some
other method?

Thanks in advance,

Lee
-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to