On Wednesday, August 05, 2009 at 10:25 CEST,
Yeray Gutiérrez Cedrés <[email protected]> wrote:
> I have this in my main.cf file:
>
> relay_domains = example.com
>
> virtual_mailbox_domains=$virtual_mailbox_maps hash:/etc/postfix/vmaildomains
Why are you listing $virtual_mailbox_maps here?
> virtual_mailbox_maps = ldap:ldapvirtualmap
> virtual_mailbox_base = /var/vmail/
> virtual_transport = maildrop
>
> And this is the content of /etc/postfix/vmaildomains:
>
> # more /etc/postfix/vmaildomains
> example.com required
>
> Is it necessary to have this domain in relay_domains or does this work
> without it being there?
On the contrary -- a domain listed in virtual_mailbox_domains MUST NOT
be listed in relay_domains.
--
Magnus Bäck
[email protected]