Am 2007-06-18 11:02:16, schrieb Matus UHLAR - fantomas: > funny, see what my strace of my ssmtp version (2.61-12) shows: > open("/etc/hosts", O_RDONLY) = 4 > ...two times.
I know, but it is NOT used or sending the messages. > 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 have already ask this earlier but gotten the reponse from the Maintainer that "ssmtp" do not work without working DNS. And if I install bind9 what shoud I do with a SIMPEL SMTP? Now my Workststion @home does not more us "ssmtp" but "courier-mta" which work without DNS-Server. > I haven't found any mention about ssmtp using MX records nor I think it > should. see bug 351995 for more info. IF ssmtp use the /etc/hosts file it yould work in a local network (where courier is instaleld on my Intranet Server) but it doesnt because ssmtp NEED a working DNS-Server for sending messages. Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature