[EMAIL PROTECTED] <[EMAIL PROTECTED]> 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'.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to