Martin Fahrendorf wrote: alias "norman.zhang". Does that
mean mail for both nzhang @ abc.com and norman.zhang @ abc.com will get to mailbox nzhang? If I want to only accept mail for norman.zhang @ abc.com, I need to create a mailbox norman.zhang?
No, Your MTA (usualy postfix) does not know anything of the data stored in cyrus. By default postfix only knows addresses from users stored in the local user base (unix users) and the aliased addresses.
If nzhang is not a local user and not listed as an alias, postfix rejects the mail.
Not really, it depends on configuration. Since with cyrus it's possible to have mailboxes unrelated to local users, normally postfix passes whatever it doesn't recognize to cyrus (and if you want "single message store", i.e. a single copy is stored is the same message is for multiple recipients this has to be done even before alias expansion).
In fact, I don't even know how to configure postfix to check for local users (using mailbox_transport = lmtp:....).
Now, if it were possible for postfix to open the lmtp connection just after if has received the RCPT TO: to check that the cyrus mailbox exists, and reject it directly if it doesn't instead of trying to bounce it later, that would be interesting.
Bye
-- - Yo tambi�n quiero una Europa libre de Patentes de Software - - I want a Software Patents Free Europe too! And you? - --------------------------------------------------------------- EuropeSwPatentFree - http://EuropeSwPatentFree.hispalinux.es
pgp00000.pgp
Description: PGP signature
