Matt Garrett wrote:
>
> I seem to be having a bit of trouble getting qmail to recognize e-amil sent to
> my virtual domains. Here is what I've done so far...
>
> 1. Install Qmail 1.03 from binary rpm.
>
> 2. create popuser account/group
> in /etc/passwd> popuser:x:888:888:POP E-Mail User:/var/qmail:/bin/true
> in /etc/group> popuser:x:888:
>
> 3. created popboxes hierarchy, /var/qmail/popboxes/domain-com/users, all
> owned by popuser, in group popuser, all chmoded 0755.
>
> 4. created Maildirs in each e-mail account using maildirmk, chmoded 0755.
>
> 5. created .qmail files in each e-mail account containing "./Maildir/",
> chmoded 0744.
>
> 6. created vitrual domains in ~control/virtualdomains
> domain.com:domain-com
> etc...
>
> 7. added domain.com to ~control/rcpthosts
>
> 8. added e-mail accounts to ~users/assign
> =domain-com-user:popuser:888:888:/var/qmail/popboxes/domain-com/user:::
>
> I don't want any email going to [EMAIL PROTECTED], so there's no need
> to create an email user +domain-com:popuser..., right?
>
> I can email to an account with "[EMAIL PROTECTED]" but not with
> "[EMAIL PROTECTED]" which is the point of the whole exercise. This is with the MX
> set to mail.domain.com and mail being an alias to the canonical name
> me.domain.com.
>
> When everything's working right, I'll just change the alias from
> oldmail.domain.com to me.domain.com. There a problem with my DNS usage?
>
> The POP3 system is working perfectly, and I have /etc/tcprules.d/qmail-smtpd
> set up to allow my customers to mail out and everyone else to mail in, but not
> allow others to relay through me.
>
> I am having trouble getting mailer-daemon, postmaster, and root to be properly
> delivered to my maintenance account, [EMAIL PROTECTED] I have the ~alias/.qmail
> files set up to deliver to ./operator/Maildir/ and in ~alias I have a symbolic
> link of operator -> /home/me, chmoded 0755 and I can receive mail as
> [EMAIL PROTECTED] just fine, but mail to [EMAIL PROTECTED] fails with a
> "Temporary error on maildir delivery (#4.3.0)".
>
> my control files are like as follows:
> defaultdomain:
> domain.com
>
> defaulthost: <- any ideas as to how to have the default host change for each
> domain.com <- virtual domain?
>
> locals:
> localhost
> me.domain.com
> domain.com
> domain.net
>
> me:
> me.domain.com
>
> plusdomain: <- exactly what is this control file used for again?
> domain.com
> domain.net
>
> rcpthosts:
> localhost
> me.domain.com
> domain.com
> domain.net
>
> virtualdomains:
> domain.com:domain-com
> domain.net:domain-net
>
> I'll be adding several other virtual domains once the system is up and
> running, i.e. domain.net, etc.
>
> Anyone care to write man pages for each control file? To call the existing
> documentation for them paltry would be generous.
>
> --
> Matt Garrett, Network Engineer
> Superior Open Systems
> [EMAIL PROTECTED]
rubish