[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mail() will keine Mails senden [PHP]



Am Samstag, 29. April 2006 00:06 schrieb Jan Kohnert:
> Stefan Riedel schrieb:
> > Okay das mit dem suid bit, hab ich ausprobiert... geht leider nicht, wär
> > mir persönlich auch zu heiß gewesen... :)
>
> Hab hier (Gentoo)  gerade nochmal geschaut: Kein suid. :)
>
> Es muß also auch so gehen. Kann aber sein, das Debian da wieder mal ein
> Feature eingebaut hat...
>
> > und falls ich nix finde melde ich mich freitag nochmal... :)
>
> Hast du nun schon eine Lösung?

Leider nein!

>
> Wenn ja, poste sie bitte, wenn nein:
> Was sagen deine Logs, wenn du als www-data senden willst?
> Was sagen "groups www-data" und "groups $USER", wobei $WSER ein "normaler"
> User sein sollte, der Mails senden kann.

/var/log/mail.err:
Apr 29 11:21:51 localhost sSMTP[4633]: Unable to locate mailhub
Apr 29 11:21:51 localhost sSMTP[4633]: Cannot open mailhub:25

So und /var/log/mail.log:
Apr 29 11:21:51 localhost sSMTP[4633]: Unable to set ="root"
Apr 29 11:21:51 localhost sSMTP[4633]: Unable to set ="mailhub"
Apr 29 11:21:51 localhost sSMTP[4633]: Unable to set ="rewriteDomain"
Apr 29 11:21:51 localhost sSMTP[4633]: Unable to set ="hostname"
Apr 29 11:21:51 localhost sSMTP[4633]: Unable to set ="AuthUser"
Apr 29 11:21:51 localhost sSMTP[4633]: Unable to set ="AuthPass"
Apr 29 11:21:51 localhost sSMTP[4633]: Unable to set ="FromLineOverride"
Apr 29 11:21:51 localhost sSMTP[4633]: Unable to set ="UseTLS"
Apr 29 11:21:51 localhost sSMTP[4633]: Unable to locate mailhub
Apr 29 11:21:51 localhost sSMTP[4633]: Cannot open mailhub:25

So und wegen der Gruppenzugehörigkeit, da hab ich www-data mal in die Gruppen 
reingeschoben, in die der "normale" User auch ist. Ohne Erfolg! 

>
> P.S.: Heute wieder mit Sig, bin ja zu Hause... :-P

-- 
Mit freundlichen Grüßen 
Stefan Riedel
Tel.: 		03 81/ 29 49 404
Tel-Mobil.:	01 76/ 29 39 34 59
http://www.oxodo.com
http://www.power-friends.com

Attachment: pgpJyOcig6S49.pgp
Description: PGP signature


Reply to: