On Jan 1, 2009, at 4:53 PM, mouss wrote:
Jeff Weinberger a écrit :
[snip]
- try with "hosts = 127.0.0.1" (without "localhost")
Tried this - no change. :(
ahem. if you do this, you should not hear about a socket. it should
use
a TCP connection. can you show the errors?
OK, now I've taken out the localhost again and there's no more
complaining. (not sure why It continued complaining last time...)
This is not a postfix issue. This is clearly a MySQL socket issue. I'm
pursuing this on the MySQL lists.
Thank you!
[snip]
why do use sender_canonical instead of canonical? rewrite should be
consistent, and "your sender is the recipient's recipient"...
This is mostly because I use maildrop as the virtual delivery agent
for
many of the virtual mailboxes. I'm really just testing this, and
may end
up using canonical instead. But here's my thinking:
I have one user who wants a minor change - sounds silly, but gives
me a
good chance to experiment/learn. I'm rewriting the one address to a
specific capitalization. I know I'll be doing more with more users
soon.
I want to rewrite when mail goes to someone outside my postfix
install.
canonical_maps would also rewrite inbound mail to that address,
which is
not bad, but not the desired behavior.
So I am trying sender_canonical_maps to get the behavior I want.
Then you may want to use smtp_generic_maps instead of canonical.