das ist der auszug aus der PHP.ini aus dem verzeichnis /opt/lampp/etc/php.ini
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from =
user@domain.tld
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = /usr/sbin/sendmail -t -i
das script :
mail("tk@domain.tld","betreff","text","From:
mailvon@domain.tld");
also ganz schlicht also
dann sagt die var/log/maillog
Sep 30 08:36:07 pingu sendmail[304]: i8U6a7IA000304: from=apache, size=65, class=0, nrcpts=1, msgid=<200409300636.i8U6a7IA000304@localhost.localdomain>, relay=apache@localhost
Sep 30 08:36:07 pingu sendmail[306]: i8U6a747000306: from=<apache@localhost.localdomain>, size=302, class=0, nrcpts=1, msgid=<200409300636.i8U6a7IA000304@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=pingu [127.0.0.1]
Sep 30 08:36:07 pingu sendmail[306]: i8U6a747000306: Milter add: header: X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.27.0.12; VDF 6.27.0.80
Sep 30 08:36:07 pingu sendmail[304]: i8U6a7IA000304: to=tk@domain.tld, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30060, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (i8U6a747000306 Message accepted for delivery)
Sep 30 08:36:08 pingu sendmail[314]: i8U6a747000306: to=<tk@mcop.de>, ctladdr=<apache@localhost.localdomain> (48/48), delay=00:00:01, xdelay=00:00:01, mailer=smtp, pri=30297, relay=smtprelay.t-online.de [194.25.134.94], dsn=2.0.0, stat=Sent (Message accepted.)
so das log file meint es würde der apache user schreiben ist ja nicht ganz richtig da im from teil eine mailadresse steht mach nix weiter das file sagt auch mail würde halt an den smtprelay gehen ist soweit auch gut allerdings
geht diese nicht weiter das ist eigenartig....
schreibe ich über meinen altenapache die mail dann gehts komischerweisse...
ich kann mir nur schlecht vorstellen das das am PHP liegt oder so weil die einstellungen unter [mail] aus der ini gleich sind