From: Gaulin, Mark <mgaulin@gl...> - 2006-01-10 18:55:07
After looking at the code some more it doesn't look like this is
possible, so I edited Bulkmail.pm and stuck my bounce-only email address
right in the MAIL FROM:<> line. =20
[mailto:slashcode-general-admin@...] On Behalf Of
Sent: Monday, January 09, 2006 5:10 PM
Subject: [Slashcode-general] Right way to configure smtp "MAIL FROM<>"
address for bounce handling?
I'm trying to sort through to code to figure out how to get bounces from
the daily bulk emails to go to a special "bounce" address while still
having the apparent "from" address being the "adminmail" (or is it
"mailfrom"?) email address. Right now I have adminmail and mailfrom set
to the same thing and I couldn't find any docs to explicitly answer this
question. (I'm assuming this is a normal thing to want to do... All
bounces go to one email account and all "replies" goes to me, the
Normally, the way you get a bounce-only email address is to use it with
the "MAIL FROM:<bounce-address@...>" line when starting a message
with the SMTP server (setting the "envelope"), and you use a "From:
<real-address@...>" header line in the message "data" to set the
address that the recipient sees. I'm just confused about the right way
to do this with slash (using more or less the latest code).
Any help appreciated!
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems? Stop! Download the new AJAX search engine that
makes searching your log files as easy as surfing the web. DOWNLOAD
Slashcode-general mailing list
On Jan 10, 2006, at 1:54 PM, Gaulin, Mark wrote:
> After looking at the code some more it doesn't look like this is
> possible, so I edited Bulkmail.pm and stuck my bounce-only email
> right in the MAIL FROM:<> line.
How about defining a var for it, maybe 'smtp_mail_from' and then
modify your Bulkmail.pm with that, and submit a patch so it could be
included with the stock code?
This exact issue has bit me and a number of others. I would find it