Greetings,

I've searched the http://www.ornl.gov/ site for this but couldn't find 
anything that seemed to relate specifically.

(Don't bother trying to look at our dns yet it's only operating behind our 
firewall)

We have two domains, mclachlan.com.au and mclachlanlister.com.au and I've 
set up dns 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

checkov is the primary and sulu and picard are secondary dns'

but 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 set up virtualdomains for 
mclachlan... and mclachlanlister.... on checkov as per the FAQ.

I want client's in mclachlanlister to connect to their local server (sulu) 
and clients in mclachlan to connect to their designated server (picard). It 
seems to work OK except that on picard 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).

Any suggestions ?

(Oh incidently checkov and sulu use bind-8 and picard is still using bind-4 
but checkov is the only one that will eventually be visible outside our 
firewall)

Thanks,

Wilson Fletcher

Reply via email to