Configuration FAQ
From Qmail-LDAP Wiki
Contents |
How do I configurate check recipient(RCPTCHECK) feature?
See qmail-verify.
How do I enable TLS?
See qmail-smtpd and qmail-remote.
How do I enable SMTP-AUTH?
See qmail-smtpd and auth_smtp.
How do I enable a catchall account?
Just add an account called catchall@yourdomain.com
Virtual Domains
What's the virtual domain "picture" for qmail-ldap?
What's a virtual domain in qmail-ldap?
qmail-ldap has no concept of 'virtual'domains. All it cares about is the email address of the recipient. As soon as it finds that address in an LDAP record it puts that message into that maildir.
You need only two things for your 'virtual' domain:
- The domain in either virtualdomains or locals (it matters only if you do combined ldap and local users lookups)
- Have a record (better object) in the LDAP database with an email address of that domain
The mailHost attribute is for clustering/load sharing.
How does qmail-ldap deal with the control files locals and virtualdomains?
It doesn't really matter, qmail-ldap does (almost) the same thing in both cases. The only difference is when you run qmail-ldap in a mixed (LDAP and local users) environment. In this case, qmail-ldap first tries to find the user with its full email address via LDAP, and uses usual qmail alias and getpw mechanisms only if the LDAP lookup fails.
qmail-send handles virtualdomains after locals: if a domain is listed in locals, virtualdomains does not apply.
