[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] sendmail & cannons
>
> I was under the impression qmail uses the local resolver, hence
> /etc/hosts should be supported via a file option in nsswitch.conf? I'll
> have to go look at that.. sounds like a gotcha ;)
>
Hmm...it might do :) I don't know about nsswitch.conf but it may well make
use of host.conf (man resolver only mentions resolv.conf and host.conf; man
page for nsswitch.conf is vauge but seems to indicate its only libc functions
that will look at it (such as gethostbyname et al)).
...and I've just tried it. Plonked a line pointing to linux2.cabbages.nothing
with a valid IP and qmail said "nope - I ain't having it":
<cej [at] linux2.cabbages.nothing>:
Sorry, I couldn't find any host named linux2.cabbages.nothing.
(#5.1.2)
But it does exist ... :)
[609%][bubbles][chris] >telnet linux2.cabbages.nothing 25
Trying 62.232.81.26...
Connected to linux2.cabbages.nothing.
Escape character is '^]'.
220 linux2.nccnet.co.uk ESMTP
QUIT
221 linux2.nccnet.co.uk
Connection closed by foreign host.
[610%][bubbles][chris] >
Chris...
--
\ Chris Johnson \ NP: Roger Waters - 06. Comfortably Numb
\ cej [at] nightwolf.org.uk ~-----,
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group - http://www.sheflug.co.uk .
To unsubscribe from this list send mail to
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.