Page 1 of 1
Apache (Debianhowto) + Sendmail
Posted: 2003-09-18 18:13
by yoshi
Hallo!
Ich habe den Apache+php laut dem Tut des Debainhowto installiert.
Was muss ich nun noch tun, um die mail() Funktion von php nutzen zu können?
Laut phpinfo() ist sendmail vorhanden, aber verschickte Mails kommen nicht an...
MfG,
Yoshi
Re: Apache (Debianhowto) + Sendmail
Posted: 2003-09-18 19:59
by dragsta
installier dir qmail nach dem gleichen howto.
ich denke sendmail ist nicht vorhanden, auch wenn phpinfo das sagt. defaultmäßig ist exim installiert, und der muss erst konfiguriert werden, wie weiß ich aber nicht...
mfg
Re: Apache (Debianhowto) + Sendmail
Posted: 2003-09-18 20:12
by yoshi
öhm.... erhlichgesagt ist mir der Aufwand dafür viel zu groß,
da ich ja eigentlich nur die Mailfunktion benötige :?
MfG,
Yoshi
Re: Apache (Debianhowto) + Sendmail
Posted: 2003-09-18 20:22
by dragsta
dann musst du halt exim konfigurieren
bei debian gehts glaub ich so:
dpkg -reconfigure exim
der fragt dich dann einiges ab, aber da kann ich dir nicht weiterhelfen, ich benutze qmail...
und ich denke mal dass du in der php.ini dann auf smtp umstellen musst, such in der php.ini mal nach sendmail, das ist alles wunderbar kommentiert.
Re: Apache (Debianhowto) + Sendmail
Posted: 2003-09-18 20:53
by captaincrunch
Bei exim bringt dich "dpkg --reconfigure exim" nicht viel weiter. Das korrekte Kommando wäre hier eximconfig
Re: Apache (Debianhowto) + Sendmail
Posted: 2003-09-18 22:20
by yoshi
dragsta wrote:und ich denke mal dass du in der php.ini dann auf smtp umstellen musst, such in der php.ini mal nach sendmail, das ist alles wunderbar kommentiert.
Code: Select all
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: 'sendmail -t -i').
;sendmail_path =
Da steht nix für Linux...
:?: :?: :?:
Re: Apache (Debianhowto) + Sendmail
Posted: 2003-09-18 23:06
by dragsta
Sorry, dann Kommando zurück. Da müsste ich die Doku lesen, was Du aber auch kannst ;)
Oder vieleicht jemand anderes weiß Rat ?!?
Re: Apache (Debianhowto) + Sendmail
Posted: 2003-09-19 02:04
by dodolin
http://www.dclp-faq.de/ch/ch-mail.html
Wenn nicht, bitte mal logfiles vom MTA liefern.
Re: Apache (Debianhowto) + Sendmail
Posted: 2003-09-22 13:47
by sfeni
Yoshi wrote:dragsta wrote:und ich denke mal dass du in der php.ini dann auf smtp umstellen musst, such in der php.ini mal nach sendmail, das ist alles wunderbar kommentiert.
Code: Select all
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: 'sendmail -t -i').
;sendmail_path =
Da steht nix für Linux...
:?: :?: :?:
Steht doch da: Unix
So sieht das dann ungefähr aus:
Code: Select all
[mail function]
; For Win32 only.
;SMTP = localhost
; For Win32 only.
;sendmail_from = me@localhost.com
; For Unix only. You may supply arguments as well (default: 'sendmail -t -i').
sendmail_path = /usr/sbin/sendmail -t -i