gulli:board Logo

Anzeige


  Antwort
t-z
Mitglied
 
Registrierungsdatum: Aug 2004
Beiträge: 2
mailserver postfix problem

hallo,

habe ein php-script das sytaktisch 100% in ordnung ist, ein stink normales kontakt-formular eben.

meine php.ini ist auch korrekt konfiguriert.
liegt wohl an postfix warum ich keine emails versenden kann. vielleicht kennt sich ja einer aus, und würde sich freundlicherweise mal meine config anschauen:

meine main.cf:

mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient, envelope_recipient
myhostname = linux.local
inet_interfaces = 127.0.0.1 192.168.0.2
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
#relayhost = mail.gmx.de
content_filter =
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,check_relay_domains
alias_maps = hash:/etc/aliases

#SMTP Auth
#SMTP mit SASL-Authentification verwenden
smtp_sasl_auth_enable = yes

#Die Paßwörter stehen in der Datei /etc/postfix/smtp_auth
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth

#Zusatz-Optionen: Keine anonyme-Anmeldung verwenden
smtp_sasl_security_options = noanonymous

#Den Relayhost (der Server der unsere Emails annehmen soll)
relayhost = mail.gmx.net

smtp_auth:

mail.gmx.net torsten-zindel@gmx.de:passwort

/var/log/mail:

Aug 17 02:47:40 Linux postfix/pickup[1033]: 32305A8B9: uid=65534 from=<nobody>
Aug 17 02:47:40 Linux postfix/cleanup[1038]: 32305A8B9: message-id=<20040817004740.32305A8B9@linux.local>
Aug 17 02:47:40 Linux postfix/qmgr[1034]: 32305A8B9: from=<nobody@linux.local>, size=375, nrcpt=1 (queue active)
Aug 17 02:47:40 Linux postfix/smtp[1040]: warning: mail.gmx.net[213.165.64.20] offered AUTH option multiple times
Aug 17 02:47:40 Linux postfix/smtp[1040]: 32305A8B9: to=<torsten-zindel@gmx.de>, relay=mail.gmx.net[213.165.64.20], delay=0, status=bounced (host mail.gmx.net[213.165.64.20] said: 550 5.1.8 {mp026} Cannot resolve your domain)
Aug 17 02:47:40 Linux postfix/cleanup[1038]: 893DEA8BE: message-id=<20040817004740.893DEA8BE@linux.local>
Aug 17 02:47:40 Linux postfix/qmgr[1034]: 893DEA8BE: from=<>, size=2008, nrcpt=1 (queue active)
Aug 17 02:47:40 Linux postfix/local[1042]: 893DEA8BE: to=<root@linux.local>, relay=local, delay=0, status=sent (mailbox)


ich weiß einfach nicht weiter, ich brauch unbedingt hilfe! bitte!
Alt 17. 08. 2004, 02:31 t-z is offline Mit Zitat antworten #1
onkelchen Spender
Retreat
 
Registrierungsdatum: Aug 2000
Beiträge: 11.530
Zitat:
Aug 17 02:47:40 Linux postfix/smtp[1040]: 32305A8B9: to=<torsten-zindel@gmx.de>, relay=mail.gmx.net[213.165.64.20], delay=0, status=bounced (host mail.gmx.net[213.165.64.20] said: 550 5.1.8 {mp026} Cannot resolve your domain)

GMX verweigert die Annahme der Mail. Ich benutze kein GMX, aber ich meine du musst da Relaying irgendwo aktivieren.
Alt 17. 08. 2004, 07:21 onkelchen is offline Mit Zitat antworten #2
t-z
Mitglied
(Threadstarter)
 
Registrierungsdatum: Aug 2004
Beiträge: 2
Relaying ist doch aktiviert:

relayhost = mail.gmx.net

oder was meinst du?

welchen SMTP-Server verwendest denn du, wenn ich fragen darf?
Alt 17. 08. 2004, 12:45 t-z is offline Mit Zitat antworten #3
OpusDei
Moderator
 
Benutzerbild von OpusDei
 
Registrierungsdatum: May 2000
Ort: Anus mundi
Beiträge: 8.950
Re: mailserver postfix problem

Zitat:
Original geschrieben von t-z
Aug 17 02:47:40 Linux postfix/qmgr[1034]: 32305A8B9: from=<nobody@linux.local>, size=375, nrcpt=1 (queue active)
.
Aug 17 02:47:40 Linux postfix/smtp[1040]: 32305A8B9: to=<torsten-zindel@gmx.de>, relay=mail.gmx.net[213.165.64.20], delay=0, status=bounced (host mail.gmx.net[213.165.64.20] said: 550 5.1.8 {mp026} Cannot resolve your domain)
Ich denke das Problem ist vielmehr, das GMX deine Absenderdomäne "linux.local" nicht auflösen kann. Du solltest also bei Postfix Masquerading verwenden.
Siehe dazu: http://www.postfix.org/rewrite.html#masquerade

Gruß
Alt 17. 08. 2004, 13:03 OpusDei is offline Mit Zitat antworten #4
Themen-Optionen Antwort


Themen-Optionen

Gehe zu



Alle Zeitangaben in UTC +1. Es ist jetzt 21:03 Uhr.
Angetrieben von vBulletin
Copyright ©2000 - 2006, Jelsoft Enterprises Ltd.
borderline.gullisys.net

Anmelden

Benutzername
Kennwort
© Copyright 1998-2008 gulli.com home | regeln | sitemap | kontakt | impressum | partner | downloads | disclaimer |
Message Boards and Forums Directory