Greetings,

I've searched the http://www.ornl.gov/ site for this but couldn't find 
anything that seemed to relate specifically.
Yes there are messages that relate to this error but they don't seem to 
relate to my particular case ie. I have set up dns and added the MX entries 
(hmmm, maybe my dns is broken ????? - I can post the config files if 
someone thinks this might be the case and can help).

We have two domains, mclachlan.com.au and mclachlanlister.com.au and I've 
set up dns MX entries in the files /var/named/mclachlan.com.au and 
/var/named/mclachlanlister on the primary DNS (checkov.mclachlan.com.au). 
I've set sulu.mclachlanlister.com.au (which is in another subnet) to be 
secondary for both domains and I've set picard.mclachlan.com.au to be a 
secondary also (I've removed the caching entry on picard).

The MX entries are as follows:

mclachlan.com.au IN MX 10 checkov.mclachlan.com.au.  ; Primary Mail 
Exchanger
mclachlanlister.com.au IN MX 10 checkov.mclachlan.com.au.  ; Primary Mail

Essentially checkov will sit in the DMZ and picard and sulu will be behind 
the firewall in their respective buildings. checkov, picard and the 
firewall are actually in the same domain though. (There could be more 
domains later)

            picard.mclachlan.com.au
                      /|\
                       |
                      \|/
ie. big-cloud<=====>firewall<====>checkov (DMZ) (dns & email)
                      /|\
                       |
                      \|/
           sulu.mclachlanlister.com.au

I want checkov to send mail for mclachlan.... to picard and mail for 
mclachlanlister... to sulu, however I do want checkov to be the smtp host 
for both domains. To facilitate this I have set up virtualdomains for 
mclachlan... and mclachlanlister.... on checkov as per the FAQ.

I want client's in mclachlanlister.com.au to connect to their local server 
(sulu) and clients in mclachlan.com.au to connect to their designated 
server (picard). It seems to work OK except that on picard or sulu if I try 
and send to myself (say) by typing:

        echo To: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject

then the message get's bounced because picard can't find the host name. 
This happens for both domains. What I would like to happen is for the mail 
to be delivered locally if either mclachlan or mclachlanlister or sent to 
checkov if for the sister domain (or some external domain). At present the 
local servers are connecting directly rather than sending external mail to 
checkov first (ie. I am using picard for outgoing which connects directly 
to the smtp host).

The bounced message shows:
        Hi. This is the qmail-send program at picard.mclachlan.com.au.
        I'm afraid I wasn't able to deliver your message to the following 
addresses.
        This is a permanent error; I've given up. Sorry it didn't work out.

        <[EMAIL PROTECTED]>:
        Sorry, I couldn't find any host named mclachlan.com.au. (#5.1.2)

The log shows:

        May 27 11:31:01 picard qmail: 927768661.439909 status: local 0/10 remote 
1/20
        May 27 11:31:01 picard qmail: 927768661.450163 delivery 16: failure: 
Sorry,_I_co
        uldn't_find_any_host_named_mclachlan.com.au._(#5.1.2)/

I would prefer all mail to be routed through checkov whether internal or 
external to make it easy to filter etc. In the worst case I can get picard 
and sulu to handle their own domain's mail but at present they are still 
not finding their sister domain ie. picard can't see mclachlanlister.com.au 
and vice-versa.

Any suggestions ?

Thanks,

Wilson Fletcher

Reply via email to