[CentOS] Also Postfix-Problem

Fri Sep 1 07:30:57 UTC 2006
Feizhou <feizhou at graffiti.net>

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.