[thelist] DNS issue?

Robin Hastings robin at rhastings.net
Mon Mar 15 09:05:32 CST 2004

Quoting Anthony Baratta <anthony at baratta.com>:

> Try looking in the virtaldomains file:
> 5.3 How does incoming email get handled?
> http://www.vmailmgr.org/docs/FAQ.html
> "Incoming email is first received by the qmail SMTP daemon and inserted 
> into the qmail queue. Then `qmail-send' examines the email envelope (which 
> details the recipient address or addresses) to determine how to dispatch 
> the message. It looks up the domain name of each recipient in 
> `/var/qmail/control/virtualdomains', and prefixes the user name with the 
> string that it finds. It then looks up the resulting user name in the 
> system password table (or in `/var/qmail/users/cdb' if it exists) to find 
> the base user name and home directory (which I will call `$HOME'). It then 
> looks for the file `$HOME/.qmail-VIRTUAL'. If that's not found, it looks 
> for the file `$HOME/.qmail-default', which will contain an instruction to 
> pipe the message to `vdeliver'."
All of that is set up. The entry in virtualhosts is
jimlepageforgovernor.com:jim, which should send all mail to jim's home
directory. In jim's directory, the .qmail-default file has the line to send to
vdeliver. It should work just fine! I'm going to try adding a "secondary" MX
entry to the DNS, see if that works, but if anybody has any other ideas, I'm all

Robin Hastings
robin at rhastings.net

More information about the thelist mailing list