Postfix unter Mac OS X 10.6 Snow Leopard funktioniert nicht

2788
Wells

So läuft es:

host> echo "Hey my man" | mail -s "Testing" myaddress@gmail.com 

Dann in /var/log/mail.log:

Sep 13 12:08:31 host postfix/pickup[738]: EB0535EF3F3: uid=501 from=<user> Sep 13 12:08:31 host postfix/cleanup[753]: EB0535EF3F3: message-id=<20100913190831.EB0535EF3F3@host.local> Sep 13 12:08:31 host postfix/qmgr[739]: EB0535EF3F3: from=<user@host.local>, size=309, nrcpt=1 (queue active) Sep 13 12:08:32 host postfix/smtp[755]: connect to gmail-smtp-in.l.google.com[72.14.213.27]:25: Host is down Sep 13 12:08:32 host postfix/smtp[755]: connect to alt1.gmail-smtp-in.l.google.com[74.125.127.27]:25: Host is down Sep 13 12:08:32 host postfix/smtp[755]: connect to alt2.gmail-smtp-in.l.google.com[74.125.67.27]:25: Host is down Sep 13 12:08:32 host postfix/smtp[755]: connect to alt3.gmail-smtp-in.l.google.com[74.125.45.27]:25: Host is down Sep 13 12:08:32 host postfix/smtp[755]: connect to alt4.gmail-smtp-in.l.google.com[209.85.227.27]:25: Host is down Sep 13 12:08:32 host postfix/smtp[755]: EB0535EF3F3: to=<myaddress@gmail.com>, relay=none, delay=0.22, delays=0.02/0.01/0.19/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[209.85.227.27]:25: Host is down) 

Äh, wirklich? Google Mail ist ausgefallen? Nicht wirklich: es funktioniert aus meinen verschiedenen Mail - Anwendungen, usw. laufen dig alt4.gmail-smtp-in.l.google.comergibt:

; <<>> DiG 9.6.0-APPLE-P2 <<>> alt4.gmail-smtp-in.l.google.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57897 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4  ;; QUESTION SECTION: ;alt4.gmail-smtp-in.l.google.com. IN A  ;; ANSWER SECTION: alt4.gmail-smtp-in.l.google.com. 168 IN A 209.85.227.27  ;; AUTHORITY SECTION: google.com. 567 IN NS ns1.google.com. google.com. 567 IN NS ns4.google.com. google.com. 567 IN NS ns3.google.com. google.com. 567 IN NS ns2.google.com.  ;; ADDITIONAL SECTION: ns1.google.com. 768 IN A 216.239.32.10 ns2.google.com. 657 IN A 216.239.34.10 ns3.google.com. 867 IN A 216.239.36.10 ns4.google.com. 598 IN A 216.239.38.10  ;; Query time: 14 msec ;; SERVER: 192.168.1.1#53(192.168.1.1) ;; WHEN: Mon Sep 13 12:08:43 2010 ;; MSG SIZE rcvd: 201 

Sieht gut für mich aus. Ich habe mein Google Apps-Konto ausprobiert und Folgendes erhalten:

Sep 13 12:26:16 host postfix/smtp[1160]: connect to ASPMX.L.GOOGLE.COM[74.125.127.27]:25: Host is down Sep 13 12:26:16 host postfix/smtp[1160]: BB2655EF5D7: to=<user@domain.com>, relay=none, delay=5.1, delays=0.01/0.01/5.1/0, dsn=4.4.1, status=deferred (connect to ASPMX.L.GOOGLE.COM[74.125.127.27]:25: Host is down) 

Aber es ist natürlich nicht down. Dies ist eine Standardversion von Snow Leopard - Sie haben weder mit den Postfix-Konfigurationsdateien noch irgendetwas gespielt. Ich brauche Post, um für Cron-Jobs zu arbeiten, und das macht mich verrückt.

Irgendwelche Ideen? Es gibt auch dieses verdammte Beweisstück:

host> telnet aspmx.l.google.com 25 Trying 74.125.67.27... telnet: connect to address 74.125.67.27: Host is down telnet: Unable to connect to remote host 

Wird auf meiner ISP-Ebene etwas gefiltert oder was?

1
Wer ist dein ISP? Einige ISPs blockieren Port 25. Chealion vor 13 Jahren 0
Es ist Cox. Ich vermute, das ist was los ist. Jetzt muss ich herausfinden, wie ich das umgehen kann. Wells vor 13 Jahren 0
Ich möchte etwas Unbekanntes darüber murmeln, dass Port 587 heutzutage der bevorzugte Port für die Übermittlung von E-Mails ist. Spiff vor 13 Jahren 1

2 Antworten auf die Frage

1
Walt Stoneburner

Versuchen Sie eine unverschlüsselte Verbindung zu GMail, die entweder ein Kennwort preisgibt oder erwartet, dass GMail eine Nachricht ohne Authentifizierung übermittelt?

Zweifel, das wird funktionieren.

Weitere Informationen hierzu finden Sie unter http://mail.google.com/support/bin/answer.py?hl=de&answer=78775. Dort wird beschrieben, dass SSL erforderlich ist.

0
Gordon Davisson

ISPs, die ausgehende Verbindungen an Port 25 blockieren, stellen im Allgemeinen einen ausgehenden Server bereit, über den Sie E-Mails weiterleiten können (und bei dem sie ihre Spam-Filter anwenden können, um sicherzustellen, dass Sie nichts Schlechtes tun). Gemäß diesem Artikel müssen Sie je nach Status entweder smtp.west.cox.net oder smtp.east.cox.net weiterleiten. Bearbeiten Sie dazu /etc/postfix/main.cf und füge eine Zeile wie folgt hinzu:

relayhost = [smtp.west.cox.net] 
Ich habe das versucht. Leider dasselbe Ergebnis: `11A5B5F3925: to =, Relais = keine, Verzögerung = 1168, Verzögerungen = 1168 / 0,02 / 0,04 / 0, dsn = 4.4.1, Status = verzögert (Verbindung mit smtp.west.cox.net [68.6.19.4]: 25: Host ist inaktiv) ` Wells vor 13 Jahren 0