B
brooks
Guest
Of the many problems and architectural issues with 9.0.1 I've yet to be able to find a solution to this one.
Setup:
Hosted domain: abc.net
Email redirect: amy_sue@abc.net-> amy@cbs.net
Problem: If you send mail to a redirect (forwarder) using the same address as the redirection end point the mail is dropped by postfix.
For example, Amy sends herself a message using a remote mail service using the "From:" address "amy@cbs.net" to her account at abc.net (amy_sue@abc.net). The mail is silently dropped by Postfix, no error messages, no bounced messages, nothing.
If I setup a shell account under Linux with a normal ".forward" file and do the same test the mail is correctly forwarded.
I've enabled verbose logging (a nice change from qmail) to try to track this down and it looks like it's something in the "trivial-rewrite" engine:
Here's a excerpt from the mail log: Notice the first (senders address) attribute is empty.
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: `' -> `amy@cbs.net' -> (`smtp' `cbs.net' `amy@cbs.net' `4096')
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: send attr flags = 0
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: send attr transport = smtp
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: send attr nexthop = cbs.net
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: send attr recipient = amy@cbs.net
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: send attr flags = 4096
Here's the same excerpt with the only difference being that the mail is sent to amy_sue@abc.net from joe@cbs.net.
Apr 20 11:32:37 ds postfix/trivial-rewrite[828]: `joe@cbs.net' -> `amy@cbs.net' -> (`smtp' `cbs.net' `amy@cbs' `4096')
Apr 20 11:32:37 ds postfix/trivial-rewrite[828]: send attr flags = 0
Apr 20 11:32:37 ds postfix/trivial-rewrite[828]: send attr transport = smtp
Apr 20 11:32:37 ds postfix/trivial-rewrite[828]: send attr nexthop = cbs.net
Apr 20 11:32:37 ds postfix/trivial-rewrite[828]: send attr recipient = amy@cbs.net
Apr 20 11:32:37 ds postfix/smtp[921]: 1110DB7076B: to=<amy@cbs.net>, relay=127.0.0.1[127.0.0.1]:10027, delay=0.13, delays=0.03/0/0.04/0.05, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 21D69B70769)
For some reason the mail is never being queued. I've searched the Postfix mailing lists, etc. for similar problems but came up empty. After testing the shell .forward functionality I'm fairly confident that this bug is specific to the Plesk postfix implementation.
Setup:
Hosted domain: abc.net
Email redirect: amy_sue@abc.net-> amy@cbs.net
Problem: If you send mail to a redirect (forwarder) using the same address as the redirection end point the mail is dropped by postfix.
For example, Amy sends herself a message using a remote mail service using the "From:" address "amy@cbs.net" to her account at abc.net (amy_sue@abc.net). The mail is silently dropped by Postfix, no error messages, no bounced messages, nothing.
If I setup a shell account under Linux with a normal ".forward" file and do the same test the mail is correctly forwarded.
I've enabled verbose logging (a nice change from qmail) to try to track this down and it looks like it's something in the "trivial-rewrite" engine:
Here's a excerpt from the mail log: Notice the first (senders address) attribute is empty.
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: `' -> `amy@cbs.net' -> (`smtp' `cbs.net' `amy@cbs.net' `4096')
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: send attr flags = 0
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: send attr transport = smtp
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: send attr nexthop = cbs.net
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: send attr recipient = amy@cbs.net
Apr 20 11:49:46 ds postfix/trivial-rewrite[1523]: send attr flags = 4096
Here's the same excerpt with the only difference being that the mail is sent to amy_sue@abc.net from joe@cbs.net.
Apr 20 11:32:37 ds postfix/trivial-rewrite[828]: `joe@cbs.net' -> `amy@cbs.net' -> (`smtp' `cbs.net' `amy@cbs' `4096')
Apr 20 11:32:37 ds postfix/trivial-rewrite[828]: send attr flags = 0
Apr 20 11:32:37 ds postfix/trivial-rewrite[828]: send attr transport = smtp
Apr 20 11:32:37 ds postfix/trivial-rewrite[828]: send attr nexthop = cbs.net
Apr 20 11:32:37 ds postfix/trivial-rewrite[828]: send attr recipient = amy@cbs.net
Apr 20 11:32:37 ds postfix/smtp[921]: 1110DB7076B: to=<amy@cbs.net>, relay=127.0.0.1[127.0.0.1]:10027, delay=0.13, delays=0.03/0/0.04/0.05, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 21D69B70769)
For some reason the mail is never being queued. I've searched the Postfix mailing lists, etc. for similar problems but came up empty. After testing the shell .forward functionality I'm fairly confident that this bug is specific to the Plesk postfix implementation.