Andy Spiegl wrote:
On 2009-02-10, 18:51, João Miguel Neves wrote:
I tried putting this into /etc/postfix/virtual :
example.com anything
@example.com anything
You forgot the at-sign.
Oops, really?
In http://www.postfix.org/virtual.5.html I don't see the at-sign:
/etc/postfix/virtual:
virtual-alias.domain anything (right-hand content does not
matter)
postmas...@virtual-alias.domain postmaster
us...@virtual-alias.domain address1
us...@virtual-alias.domain address2, address3
The virtual-alias.domain anything entry is required for a
virtual alias domain. Without this entry, mail is rejected
with "relay access denied", or bounces with "mail loops
back to myself".
Thanks,
Andy.
Listing a bare domain name in virtual_alias_maps makes it a
virtual_alias_domain. I believe you already have the domain
listed in relay_domains. Don't list the domain in both places.
From your earlier description, it seems the domain should be
listed only in relay_domains.
-- Noel Jones