Apache (Debianhowto) + Sendmail

Apache, Lighttpd, nginx, Cherokee
Post Reply
yoshi
Posts: 20
Joined: 2002-10-21 17:20
Location: Hannover
 

Apache (Debianhowto) + Sendmail

Post 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
dragsta
Posts: 46
Joined: 2003-02-13 22:48
Location: Aachen
 

Re: Apache (Debianhowto) + Sendmail

Post 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
yoshi
Posts: 20
Joined: 2002-10-21 17:20
Location: Hannover
 

Re: Apache (Debianhowto) + Sendmail

Post by yoshi »

öhm.... erhlichgesagt ist mir der Aufwand dafür viel zu groß,
da ich ja eigentlich nur die Mailfunktion benötige :?


MfG,
Yoshi
dragsta
Posts: 46
Joined: 2003-02-13 22:48
Location: Aachen
 

Re: Apache (Debianhowto) + Sendmail

Post 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.
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Apache (Debianhowto) + Sendmail

Post by captaincrunch »

Bei exim bringt dich "dpkg --reconfigure exim" nicht viel weiter. Das korrekte Kommando wäre hier eximconfig
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
yoshi
Posts: 20
Joined: 2002-10-21 17:20
Location: Hannover
 

Re: Apache (Debianhowto) + Sendmail

Post 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...
:?: :?: :?:
dragsta
Posts: 46
Joined: 2003-02-13 22:48
Location: Aachen
 

Re: Apache (Debianhowto) + Sendmail

Post 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 ?!?
dodolin
Posts: 3840
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe
Contact:
 

Re: Apache (Debianhowto) + Sendmail

Post by dodolin »

http://www.dclp-faq.de/ch/ch-mail.html
Wenn nicht, bitte mal logfiles vom MTA liefern.
sfeni
Posts: 341
Joined: 2002-08-15 11:35
Location: Schwabenland
 

Re: Apache (Debianhowto) + Sendmail

Post 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
Post Reply