postfix relay=none, ... status=deferred (Host or domain name not found...
I actually posted this question 2 weeks ago but under the wrong topic. So, first of all wanted to apologise for double-posting... but since no one replied, I thought I'd try again under the right topic.
--------------------
I've been trying to solve this all day today (that was Feb 26th). I used to be able to send emails but for some reason it does not work anymore. At first I thought it was a problem with php (I use entropy pack php 5.2.6) but after searching the topic, I think it is a problem with my network. BTW OS is 10.5.5 and Postfix version 2.4.3
First of all, after computer restart, I don't think postfix starts automatically
Running 'sudo postfix start' gives me:
postfix/postfix-script: starting the Postfix mail system
Looking at '/var/log/mail.log' I find:
Feb 27 12:51:04 AMs-MBP postfix/qmgr331: AA70A7A7C77: from=<_www@AMs-MBP.local>, size=842, nrcpt=1 (queue active)
Feb 27 12:52:19 AMs-MBP postfix/smtp456: AA70A7A7C77: to=<some@email.com>, relay=none, delay=3437, delays=3362/0.02/75/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=email.com type=MX: Host not found, try again)
Running 'sudo postfix check' does not give me any errors
Checking my '/etc/resolv.conf' it has nameserver 192.168.1.1
Running 'ifconfig | grep netmask | grep -v 127.0.0.1 | awk {'print $2'}L' gives:
192.168.1.5
Checking http://switch.richard5.net/2006/08/19/fatal-open-lock-file-pidmasterpid/ and running 'launchctl list' gives me a long list but no item matches org.postfix.master
Running 'ps aux|grep postfix' gives
AM 546 0.3 0.0 599820 468 s000 S+ 1:41pm 0:00.00 grep postfix
_postfix 331 0.0 0.0 599816 824 ?? S 11:56am 0:00.04 qmgr -l -t fifo -u
root 329 0.0 0.0 600784 752 ?? Ss 11:56am 0:00.11 /usr/libexec/postfix/master
_postfix 519 0.0 0.0 599768 752 ?? S 1:36pm 0:00.01 pickup -l -t fifo -u
Running 'postconf inet_interfaces' at first gave me
inet_interfaces = localhost
which I changed to All in '/etc/postfix/main.cf'
I looked at http://www.postfix-book.com/debugging.html
Running 'telnet localhost 25' gives me
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying fe80::1...
telnet: connect to address fe80::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 AMs-MBP.local ESMTP Postfix
quit
221 2.0.0 Bye
Connection closed by foreign host.
But running 'telnet 10.1.2.233 25' gives me
Trying 10.1.2.233...
telnet: connect to address 10.1.2.233: Operation timed out
telnet: Unable to connect to remote host
Running 'ping 134.169.9.107' takes a long time. After a while I stop it and get:
PING 134.169.9.107 (134.169.9.107): 56 data bytes
^C
*
o
+ 134.169.9.107 ping statistics ---
28 packets transmitted, 0 packets received, 100% packet loss
I have not idea what the problem is and/or how to fix it. I know the messages get to the postfix daemon but for some reason they do not continue on their way.
Please, does anyone have an idea of how to fix this?
TIA,
Elle
MBP, Mac OS X (10.5.5)