This is a discussion on Capturing bounced messages within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi, We send several hundred e-mails to costumers with about a dozen different "From:" field. I was ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
We send several hundred e-mails to costumers with about a dozen different "From:" field. I was wondering if there is a way to capture bounced and rejected messages in a server that is not on the right side of the @ sign in the From: filed? For example, I send mail to joe@example.com and Joe will see the mail came from Alerts@FinanceExample.com but if Joe's mail box if full and/or Joe's account does not exist, I don't want the mail bounce to Alerts@FinanceExample.com, instead I want it to go where I want it to go. Thanks, Vahid. |
|
|||
|
"Vahid moghaddasi" <vahid.moghaddasi@gmail.com> writes:
> We send several hundred e-mails to costumers with about a dozen > different "From:" field. I was wondering if there is a way to capture > bounced and rejected messages in a server that is not on the right side > of the @ sign in the From: filed? For example, I send mail to > joe@example.com and Joe will see the mail came from > Alerts@FinanceExample.com but if Joe's mail box if full and/or Joe's > account does not exist, I don't want the mail bounce to > Alerts@FinanceExample.com, instead I want it to go where I want it to > go. Sure, no problem. What users usually see is the From/To header fields, but the real from/to information is specified on the envelope, the SMTP "MAIL FROM" and "RCPT TO" commands. The difference between the message header and envelope is how mailing lists (which redirect bounces to the list owner instead of the sender) and blind carbon copies (in which the blind recipient doesn't appear in the header) work. qmail-inject lets you specify the envelope "From" on the command line with the -f option. -- Dave Sill Oak Ridge National Lab, Workstation Support Author, The qmail Handbook <http://web.infoave.net/~dsill> <http://lifewithqmail.org/>: Almost everything you always wanted to know. |
|
|||
|
Dave Sill wrote:
> "Vahid moghaddasi" <vahid.moghaddasi@gmail.com> writes: > > qmail-inject lets you specify the envelope "From" on the command > line with the -f option. > Good to see you back Dave, Thanks for the info, I guess fiddling with control/*bounce* files will produce the same affect. I am not sure if there is a dead. letter file as there is in sendmail world. Thanks, |
|
|||
|
"Vahid Moghaddasi" <moghaddasi@gmail.com> writes:
> Dave Sill wrote: >> "Vahid moghaddasi" <vahid.moghaddasi@gmail.com> writes: >> >> qmail-inject lets you specify the envelope "From" on the command >> line with the -f option. >> > Good to see you back Dave, Thanks. > Thanks for the info, I guess fiddling with control/*bounce* files will > produce the same affect. Not really. If the initial delivery attempt fails hard, the message will bounce before you can tweak the bounce file. And, of course, diddling queue files is extremely dangerous. > I am not sure if there is a dead. letter file as there is in sendmail > world. I don't remember what dead letter files do in Sendmail. -- Dave Sill Oak Ridge National Lab, Workstation Support Author, The qmail Handbook <http://web.infoave.net/~dsill> <http://lifewithqmail.org/>: Almost everything you always wanted to know. |