PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix Mailversand schlägt fehl (no MX host for gmx.de has a valid A record)



binary trust
22.06.05, 14:15
Hi,

der Mailempfang auf meinem Postfix Server läuft korrekt.
Also ich gerade denn Mailversand testen wollte bin ich allerdings ständig auf folgenden Fehler im Logfile gestoßen:



Jun 22 14:21:05 xxxx postfix/smtp[2447]: warning: no MX host for gmx.de
Jun 22 15:10:05 xxxx postfix/smtp[2592]: D1286B2: to=<xxxxxxx@gmx.de>, relay=none, delay=11897, status=SOFTBOUNCE ([mx0.gmx.net]: Name or service not known)

und mailq sagt:

([mx0.gmx.de]: Name or service not known)



hier ein ausschnitt aus meiner konfiguration:



# SASL Konfiguration
smtpd_sasl_auth_enable = yes

broken_sasl_auth_clients = yes

smtpd_helo_required = yes

# SMTP Empfangseinstellungen
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination,
reject_invalid_hostname,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_sasl_authenticated


# SMTP AntiSpoofingschutz
smtpd_sender_login_maps = mysql:/etc/postfix/mysql-sender-check.cf

# SMTP Sendereinstellungen
smtpd_sender_restrictions = permit_mynetworks,
reject_unknown_sender_domain,
reject_non_fqdn_sender,
reject_sender_login_mismatch,
permit_sasl_authenticated

carstenj
22.06.05, 14:41
Hallo,

DNS nicht eingetragen?

binary trust
22.06.05, 15:42
Meist du denn DNS in der /etc/resolv.conf ?
Hab denn postfix auf ner debian sarge kiste laufen wo er standartmäßig in einen chroot läuft.
bei der installation hat er vorgeschlagen "resolvconf" zu installieren was ich allerdings nicht gemacht hatte ... in der resolv.conf sind die einträge korrekt und funktionieren auch. ein host -a gmx.de liefert mir folgendes



# host -a gmx.de
Trying "gmx.de"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30215
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 2, ADDITIONAL: 4

;; QUESTION SECTION:
;gmx.de. IN ANY

;; ANSWER SECTION:
gmx.de. 35 IN A 213.165.64.215
gmx.de. 14 IN TXT "v=spf1 ip4:213.165.64.0/23 -all"
gmx.de. 33209 IN MX 10 mx0.gmx.de.
gmx.de. 33209 IN MX 10 mx0.gmx.net.
gmx.de. 33326 IN NS ns.schlund.de.
gmx.de. 33326 IN NS dns.gmx.net.

;; AUTHORITY SECTION:
gmx.de. 33326 IN NS dns.gmx.net.
gmx.de. 33326 IN NS ns.schlund.de.

;; ADDITIONAL SECTION:
mx0.gmx.de. 48 IN A 213.165.64.100
mx0.gmx.net. 107 IN A 213.165.64.100
ns.schlund.de. 84791 IN A 195.20.224.97
dns.gmx.net. 85461 IN A 213.165.64.1

Received 266 bytes from 81.169.163.106#53 in 1 ms

Blackcollar
22.06.05, 17:24
jetzt sag ich mal was, was ich eigentlich öfters mal machen sollte...


google :
http://lists.debian.org/debian-isp/2004/10/msg00051.html



> I just had exactly the same problem, took about an hour to find the problem.
> Just before the problem first appears i remounted /var with the noexec flag.
> Remounting without this flag solved the problem. I hope this information
> helped you.

binary trust
22.06.05, 22:31
oh mannnnnnn!!!
danke danke danke!!!!!!
ich hatte das problem schonmal gehabt hatte das ganze aber per mount befehl nur temporär gemacht. Nach einen Monat alles vergessen und Server neugestartet und siehe da bug :)

herzlichen dank, das hat mir eine menge unnötiger weiterer stunden erspart!

vielen dank und schönen abend noch ...

gruß
binary trust