Hi Folks, after the update 4.4 I can't use Postfix: errormessage Name service error for name=localhost type=A: Host not found or more details: Sep 1 08:40:01 main postfix/smtpd[5843]: connect from localhost[127.0.0.1] ? Se?Sep 1 08:40:01 main postfix/smtpd[5843]: E45C34B75F: client=localhost[127.0.0.1] ? Se?Sep 1 08:40:01 main postfix/cleanup[5844]: E45C34B75F: message-id=<200609010640.k816e1DH005834 at main.jacmelaw.local> ? Se?Sep 1 08:40:01 main postfix/qmgr[5596]: E45C34B75F: from=<root at main.jacmelaw.local>, size=822, nrcpt=1 (queue active)? Se?Sep 1 08:40:01 main sendmail[5834]: k816e1DH005834: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mai? Se?ler=relay, pri=30344, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as E45C34B75F) ? Se?Sep 1 08:40:02 main postfix/smtpd[5843]: disconnect from localhost[127.0.0.1] ? Se?Sep 1 08:40:02 main postfix/smtp[5845]: E45C34B75F: to=<root at main.jacmelaw.local>, relay=none, delay=1, status=bounce? Se?d (Host or domain name not found. Name service error for name=localhost type=A: Host not found) Some of my ... /etc/hosts 127.0.0.1 localhost localhost 192.168.0.100 main.jacmelaw.local main 192.168.0.3 meister.goodlack.local meister 192.168.0.6 andrea.goodlack.local andrea main.cf myhostname = main.jacmelaw.local mydomain = jacmelaw.local myorigin = $mydomain inet_interfaces = localhost mydestination = $myhostname, localhost, $mydomain, localhost.$mydomain More information needed? Please, give me some help Thx Timothy
Timothy Kesten wrote:> Hi Folks, > > after the update 4.4 I can't use Postfix: > > errormessage > > Name service error for name=localhost type=A: Host not foundWhat does /etc/nsswitch.conf say? Is there a line like this floating about in there? hosts: files dns -Andy -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4492 bytes Desc: S/MIME Cryptographic Signature URL: <http://lists.centos.org/pipermail/centos/attachments/20060901/b59f0a13/attachment-0002.bin>
Am Freitag 01 September 2006 09:13 schrieb Andy Green:> What does > > /etc/nsswitch.conf > > say? Is there a line like this floating about in there? > > hosts: files dnsYes, there is such line. Timothy
Timothy Kesten wrote:> Hi Folks, > > after the update 4.4 I can't use Postfix: > > errormessage > > Name service error for name=localhost type=A: Host not found > > or more details: > > Sep 1 08:40:01 main postfix/smtpd[5843]: connect from localhost[127.0.0.1] > ? > Se?Sep 1 08:40:01 main postfix/smtpd[5843]: E45C34B75F: > client=localhost[127.0.0.1] ? > Se?Sep 1 08:40:01 main postfix/cleanup[5844]: E45C34B75F: > message-id=<200609010640.k816e1DH005834 at main.jacmelaw.local> ? > Se?Sep 1 08:40:01 main postfix/qmgr[5596]: E45C34B75F: > from=<root at main.jacmelaw.local>, size=822, nrcpt=1 (queue active)? > Se?Sep 1 08:40:01 main sendmail[5834]: k816e1DH005834: to=root, ctladdr=root > (0/0), delay=00:00:00, xdelay=00:00:00, mai? > Se?ler=relay, pri=30344, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent > (Ok: queued as E45C34B75F) ? > Se?Sep 1 08:40:02 main postfix/smtpd[5843]: disconnect from > localhost[127.0.0.1] ? > Se?Sep 1 08:40:02 main postfix/smtp[5845]: E45C34B75F: > to=<root at main.jacmelaw.local>, relay=none, delay=1, status=bounce? > Se?d (Host or domain name not found. Name service error for name=localhost > type=A: Host not found)? is not this box supposed to also store the mail? why is it trying to do remote mail delivery?> > Some of my ... > > /etc/hosts > > 127.0.0.1 localhost localhost > 192.168.0.100 main.jacmelaw.local main > 192.168.0.3 meister.goodlack.local meister > 192.168.0.6 andrea.goodlack.local andrea > > main.cf > myhostname = main.jacmelaw.local > mydomain = jacmelaw.local > myorigin = $mydomain > inet_interfaces = localhost > mydestination = $myhostname, localhost, $mydomain, localhost.$mydomain > > More information needed?the whole main.cf file without the comments please.