Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

email format in bounced messages

Quote Reply
email format in bounced messages
Hello, I have Gmail 2.2.0 installed and have a problem with bounced message formatting.

I am using qmail and the Gmail shared mbox method for mail delivery with the domain setup on the server as a virtualhost.

qmail file contents:

../qmail/control/virtualdomains:
Code:
mydomain.com:mydomain.com


../qmail/control/rcpthosts:
Code:

localhost
mydomain.com


../qmail/users/assign:
Code:

+mydomain.com-:mydomain.com:500:500:/path/to/mbox:-::
.


for local delivery, qmail rewrites an incoming email addressed to username@mydomain.com like this:
mydomain.com-username@mydomain.com

local mail delivery works fine. the issue is the format of email addresses in bounced mail. bounced mail returns an error like this for example:

"I'm afraid I wasn't able to deliver your message
to 'mydomain.com-badusername@mydomain.com'. Reason: Could not find a user to deliver the message to."

the tag that inserts this address in the "bounce message" email template is
Code:
<%envelope_to%>
what would be the best way to resolve this issue so bounced messages show a correctly-formatted email address? in this case like this: badusername@mydomain.com.

thanks for any help
Subject Author Views Date
Thread email format in bounced messages zeke 3174 Feb 12, 2004, 2:31 PM
Thread Re: [zeke] email format in bounced messages
brewt 3119 Feb 12, 2004, 6:03 PM
Post Re: [brewt] email format in bounced messages
zeke 3101 Feb 13, 2004, 11:07 PM
Thread Re: [brewt] email format in bounced messages
anup123 3097 Feb 14, 2004, 1:39 AM
Thread Re: [anup123] email format in bounced messages
brewt 3105 Feb 14, 2004, 2:43 AM
Post Re: [brewt] email format in bounced messages
anup123 3093 Feb 14, 2004, 6:16 AM