On 2011-11-15 23:36, Justin wrote:
Thanks a lot, mean while i will validate using postmap command,iassume
the bold text is the reference ??
Yes, it is; it was buried beneath the irrelevance.
As I said before, virtual_alias_maps does not concern virtual *mailboxes*.
virtual_alias_maps =
regexp:/etc/postfix.myd/my_domain_aliases.regexp,hash:/etc/postfix.myd/virtual_users,
hash:/etc/postfix.myd/virtual_dlists, hash:/etc/postfix.myd/dropboxes,
regexp:/etc/postfix.myd/dropboxes.subdomains.regexp,
regexp:/etc/postfix.myd/unrewrite.regexp
------------------------------------------------------------------------
*From:* Jeroen Geilman <jer...@adaptr.nl>
*To:* postfix-users@postfix.org
*Sent:* Tuesday, November 15, 2011 4:18 PM
*Subject:* Re: Special character in email ID
On 2011-11-15 23:14, Justin wrote:
Brian, Thanks for the reply.
We have put quotes surrounded the mail name part only excluded the
domain and made sure that main.cf <http://main.cf> has
resolve_dequoted_address as yes*
*
We receive email from external sources and postfix forwards to our
local mail store, here is the value of
"virtual_alias_maps" in main.cf
virtual_alias_maps =
regexp:/etc/postfix.myd/my_domain_aliases.regexp,
hash:/etc/postfix.myd/virtual_users,
hash:/etc/postfix.myd/virtual_dlists,
hash:/etc/postfix.myd/dropboxes,
regexp:/etc/postfix.myd/dropboxes.subdomains.regexp,
regexp:/etc/postfix.myd/unrewrite.regexp
Sample virtual_users fragment
"#criticalema...@mydomain.com" <mailto:#criticalema...@mydomain.com>
ms23/007/000/002/106/@mail.dir <mailto:ms23/007/000/002/106/@mail.dir>
"#criticalema...@mydomain.another.com"
<mailto:#criticalema...@mydomain.another.com>
ms23/007/000/002/106/@mail.dir <mailto:ms23/007/000/002/106/@mail.dir>
postmap creates virtual_users.db file using virtual_users and uses
for lookup.
There is no reference to virtual_users in the above virtual_alias_maps.
I think you are confusing virtual_alias_maps and virtual_mailbox_maps;
this is not uncommon.
For a virtual address to be delivered to a virtual mailbox, the domain
in question must be present in virtual_mailbox_domains AND the address
must resolve to a mailbox in virtual_mailbox_maps.
Use
postmap -q "query" maptype:/map/location
to validate your maps.
--
J.
--
J.