Ryan Kish wrote:
Hello,
I would like to move from exim4 to postfix, however I one issue I can
not figure out how to solve with postfix.
I have an application that will send out email on behalf of a user.
The message is sent from the application, and includes a "reply to"
including the user's email address:
from: Users Name <[EMAIL PROTECTED]>
sender: Users Name <[EMAIL PROTECTED]>
reply to: Users Name <[EMAIL PROTECTED]>
to: [EMAIL PROTECTED]
These are mail headers. Postfix does *not* use message headers. It
uses envelope sender and recipient(s).
Do not confuse the two. It is up to the MUA/script to give the correct
"MAIL FROM" and "RCPT TO".
The sendmail client of Postfix can be configured to do just that for
each and every message, but it's up to the script to provide the correct
information.
Brian
The problem arises when an email address specified by the end user is
not valid and a bounce message is generated. As one would expect, the
bounce notification is sent to '[EMAIL PROTECTED]'. However, I need to have
the bounce message sent to the user to inform them of the problem.
I have looked at the "bounce_template_file" directive and template
syntax. However, as its currently implemented it does not seem to be
able to solve my issue. I have been searching this list and google for
an answer but have come up empty handed. Are there any other methods I
could go about to solve the issue?
Thank you for your time,
Ryan