nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Re: PHP Mail- Funktion

Von: michael ra. (m.raupe@gmx.at) [Profil]
Datum: 21.06.2007 11:30
Message-ID: <d270a$467a451d$5341ea65$12838@news.inode.at>
Newsgroup: de.comp.lang.php.misc
> Gut, dann such doch mal in Yast nach sendmail oder via "rpm -qa|grep -i
> mail" oder wie auch immer nach dem installierten Mailserver.

Das kommt dabei raus:
---------------------
mailx-12.1-24
javamail-1.4-16
yast2-mail-aliases-2.14.0-12
yast2-mail-2.14.0-12
fetchmail-6.3.5-13
procmail-3.22-78


> Unter welchem UID/GID läuft der Apache? Am besten als root
> "lsof -i|grep apache" ausführen oder in der Apache-Konfiguration die
> Direktiven "User" und "Group" suchen.

Wenn ich "lsof -i|grep apache" eingebe, gibts zwar keine Fehlermeldung oder
so, aber es kommt auch sonst nix...
---------------------
serverXXX:~ # lsof -i|grep apache
serverXXX:~ #

> Okay es scheint also eine Version von sendmail installiert zu sein. Was
> passiert, wenn du sendmail mit den Parametern aufrufst, die in der php.ini
> eingetragen sind?

---------------------
serverXXX:~ # sendmail -t -i
sendmail: warning: inet_protocols: IPv6 support is disabled: Address family
not supported by protocol
sendmail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family
not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only

Und dann kommt diese Eingabezeile nicht mehr...

> Gibt es die Datei /var/log/mail.log oder mail.err (oder wo auch immer bei
> SuSE das Log-File für Sendmail ist). Was steht da drin?
>
> Wenn eine der Dateien existiert: Was wird ausgegeben wenn du mit
>
> tail -f /var/log/mail.[log|err]

Die Datei (err) gibts zwar, aber da stehen keine Einträge von heute drin...
Letzter Eintrag: "postfix/sendmail[14792]: fatal: No recipient addresses
found in message header"

> die Änderungen an der jeweiligen Datei verfolgst und auf einer anderen
> Konsole du eine Mail verschickst mit
>
> date | mail -s "testmail mit datum vom suse-rechner" m.raupe@gmx.at

Ergebnis:
---------------------
serverXXX:~ # send-mail: warning: inet_protocols: IPv6 support is disabled:
Address family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
postdrop: warning: inet_protocols: IPv6 support is disabled: Address family
not supported by protocol
postdrop: warning: inet_protocols: configuring for IPv4 support only




Danke für deine Hilfe und Freundlichkeit!!

LG, Michi


[ Auf dieses Posting antworten ]

Antworten