New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
postfix virtual mailbox + forward for same address ?
if there is alias (forward), postfix does not deliver to mailbox with same address as alias. My current main.cf portion:
virtual_mailbox_domains = domain1.com domain2.com virtual_mailbox_base = /var/vmail virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_alias_maps = hash:/etc/postfix/valias
if I have [email protected] in both vmailbox and valias, the alias takes precedence and mail is not delivered to local mailbox.
Thanks for any pointers.
Comments
edit: I did not check that this is for incoming messages.
Can you show what your valias file looks like?
If you want message sent to [email protected] delivered to [email protected] and [email protected] the file should look like this:
my valias uses following constructs
alias1@hosted_domain.com user1@hosted_domain.com user1@hosted_domain.com user1@outside_domain.com user2@hosted_domain.com [email protected] user2@other_domain.com @hosted_domain2.com catch_all@some_domain.com
deleted
You need user1@hosted_domain.com to have an alias to itself.
This worked, thank you!