OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Redirect bounces to reply to address?

From: Ryan Kish (rpkishgmail.com)
Date: Thu Aug 07 2008 - 11:49:20 CDT


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 <appfoo.bar>
sender: Users Name <appfoo.bar>
reply to: Users Name <userdomain.tld>
to: someonesomedomain.tld

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 'appfoo.bar'. 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