Re: second domain not working

Russell Simpkins <[email protected]>
Newsgroups gmane.mail.qmail.ldap
Message-ID <[email protected]>
Mario Remy Almeida wrote:
> Dear All,
>
> How to I get a second domain working?
>
> I already have 1 working domain with qmail-ldap
>
> Added the 2nd domain to rcpthosts and locals files also added the user 
> for the 2nd domain in LDAP database and even able to find the user 
> with qmail-ldaplookup
>
> But when I send email to the 2nd domain in the log it says to remote 
> for the 2nd domain and says 
> Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
>
Make sure that your dns is set up correctly. You can test using telnet

telnet seconddomain.au 25

Test this from your mail server. I'm pretty sure that qmail only uses 
dns and ignores /etc/hosts settings. So you have to have that new domain 
set up in your dns server. You can always restart qmail after you've 
added to rcpthosts.

Russ
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.