> Am 2007-06-08 10:26:46, schrieb Matus UHLAR - fantomas:
> > which version of ssmtp do you use?
> > I haven't found any that uses MX records and not gethostbyname()
> > (which uses /etc/hosts, if configured so).

On 17.06.07 17:11, Michelle Konzack wrote:
> "/etc/hosts" is never used by ANY 'ssmtp' versions.  'ssmtp'
> use always DNS.  This is why you can not use 'ssmtp' in a
> small local network without installing a DNS-Server.

funny, see what my strace of my ssmtp version (2.61-12) shows:

open("/etc/hosts", O_RDONLY)            = 4

...two times.

looking at ssmtp sources it showed that ssmtp only uses gethostbyname() libc
functions, which uses nsswitch.conf and according to it is uses hosts, DNS
or different functions for translating host names and IPs. Please check if
you haven't made mistake on your side.

I haven't found any mention about ssmtp using MX records nor I think it
should. see bug 351995 for more info.

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
   One OS to rule them all, One OS to find them, 
One OS to bring them all and into darkness bind them 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to