Ano-Tech Computers
Enter keyword:

Setting up Qmail virtualhosting with plain local delivery to any user
Problem:
This article describes how to set up a virtualhost with qmail to deliver ALL mail for that domain to local user accounts. Any aliases/special addresses are defined through the use of .qmail files under /var/qmail/alias but that's beyond the scope of this article.
 
Solution:
1. Add domain to /var/qmail/control/rcpthosts
2. Add domain to /var/qmail/control/locals
3. Reload qmail: /etc/rc.d/init.d/qmail reload

For information about how to write proper .qmail files: "man dot-qmail"
 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles