On Tue, Dec 12, 2000 at 11:24:55AM -0600, Charles Cazabon wrote:

> > I have installed qmail, sqwebmail, vpopmail, vqsignup.
> > My machine name is "mail.metta.lk"
> [...] 
> > I have generated the domain name  "metta.lk" in the dir below using the
> > given program.
> > /home/vpopmail/domains/metta.lk/
> Hmm, vpopmail.  It handles virtualdomains a little differently from stock
> qmail, IIRC.  I'm not a vpopmail user, so I can't help you there.
 
> > But the server does not deliver mail to the virtual domain "metta.lk"
> > The MX has been set correctly in the dns and mail is going to
> > mail.metta.lk but returned. see message below.
> > 
> > I have a feeling that the conflict is because the domain name "metta.lk" 
> > and the virtual domain name "metta.lk" is the same,
> > and I have not told qmail correctly that it should
> > deliver incoming mail addressed to "metta.lk"  to a virtual domain,
> > it instead tries to deliver that mail to itself.
> > 
> > The contents of /var/qmail/control is as follows:
> 
> Post the contents of the files
> /var/qmail/control/{locals,virtualdomains,rcpthosts} .
> 
> You probably have "metta.lk" in locals, while it should be only in
> rcpthosts and virtualdomains.  locals should probably only contain
> 'localhost' and 'mail.metta.lk'.

I have tried several ways
I also just tried the setup suggested by you
but mail is still not going to domain.
below are the files /var/qmail/control/

-rw-r--r--    1 root     root            9 Nov 28 11:34 defaultdomain
metta.lk
-rw-r--r--    1 root     root           34 Dec 12 14:05 locals
localhost
mail.metta.lk
-rw-r--r--    1 root     root           49 Dec 12 14:07 rcpthosts
localhost
mail.metta.lk
metta.lk
-rw-r--r--    1 root     root           18 Dec  8 18:33 virtualdomains
metta.lk:metta.lk

Thanks for the help.
with best regards
Mettavihari
Sri Lanka.

Reply via email to