I have this in my main.cf file:

relay_domains = example.com

virtual_mailbox_domains=$virtual_mailbox_maps hash:/etc/postfix/vmaildomains
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?

Reply via email to