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:
../qmail/control/rcpthosts:
localhost
mydomain.com
../qmail/users/assign:
+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 iswhat 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
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%>thanks for any help