procmail
[Top] [All Lists]

Re: auto-replying -- sending back the _headers_

1997-03-31 12:39:51
kari larson <larsonk(_at_)ix(_dot_)netcom(_dot_)com> writes:
I need to maintain the original From field.  (the From: remains in tact)  I
forward it to a different service and need an autoreply from the new service to
be generated. Parcing the From: is prone to error due to the many different
formats that we receive.

I would appreciate any help configuring this.

Why does the service you are forwarding need to parse the sender's
address?  Why does it care?  Can't it just copy the entire value of the
From: (or Reply-To:) header into the To: header of the reply message
that it creates?  The reason you *don't* want to pass on the "From "
value is because that is the address that bounce messages are sent to.
If you pass on the value that you received, then *that* address will
get the bounce message if something goes wrong, even though they can do
nothing about it.  Unless this recipe is acting as part of the mail
routing/transport system (as opposed to a mail redirection service), or
you can guarantee that the forwarded message will never bounce (ha ha),
then you should not do this.

Philip Guenther