Sendmail - GMX

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Sendmail - GMX

Postby Mythos94 » 24. April 2010 10:43

Servus,

hab da ein Problem:
Ich habe sendmail so konfiguriert, dass es normalerweise Mails über GMX senden sollte.

Die config sieht zur Zeit so aus:
Code: Select all
auth on
tls on
smtp_server=mail.gmx.net
smtp_port=25
auth_username=meine_email@gmx.de
auth_password=*************


In der php.ini sieht es so aus:
Code: Select all
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = mail.gmx.net
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
; sendmail_from = meine_email@gmx.de

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path = "\"F:\Webserver\sendmail\sendmail.exe\" -t"

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = Off

; Log all mail() calls including the full path of the script, line #, to address and headers
;mail.log = "F:\Webserver\apache\logs\php_mail.log"


Jedoch sendet er mir keine E-Mail sondern phpBB kommt mit dem Fehler:
Code: Select all
E-Mail-Fehler
» EMAIL/PHP/mail()
/forum/adm/index.php

[phpBB Debug] PHP Notice: in file /includes/functions_messenger.php on line 1565: mail() [function.mail]: SMTP server response: 550 5.1.8 Only registrated user are allowed to use this system {mp004}


Wäre nett, wenn ihr mir helfen könntet. :-)

Grüße,
Mythos
Mythos94
 
Posts: 19
Joined: 15. April 2009 07:48

Re: Sendmail - GMX

Postby Nobbie » 24. April 2010 14:46

Das kann ja auch nicht gehen. Wenn Du sendmail.ini konfiguriert hast, ist es auch notwendig, in php.ini sendmail.exe zu benutzen und nicht SMTP. Das ist schräg daneben.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Sendmail - GMX

Postby Mythos94 » 24. April 2010 23:06

Und wie genau muss ich das umstellen?
Mythos94
 
Posts: 19
Joined: 15. April 2009 07:48

Re: Sendmail - GMX

Postby WilliL » 25. April 2010 15:07

das ';' entfernen vor
;sendmail_path = "\"F:\Webserver\sendmail\sendmail.exe\" -t"

Ich würde erst ein backup der PHP.ini machen ..
Die Konfiguration sieht aus wie für einen SMTP-Server (Mercury) ..
(Könnte zu Problemen führen, weiß ich aber nicht)
; http://php.net/smtp
SMTP = mail.gmx.net
; http://php.net/smtp-port
smtp_port = 25

es gibt auch im sendmailordner eine 'sendmail.ini' für die Konfiguration
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1

Re: Sendmail - GMX

Postby Mythos94 » 25. April 2010 16:02

Also ich hab as Semikolon entfernt und phpBB sendet eine Mail, jedoch kommt die nie an.^^
Habe die sendmail.ini nicht mehr bearbeitet und sonst in der php.ini nur die SMTP daten auskommentiert und bei Sendmail die ; weggemacht.
Mythos94
 
Posts: 19
Joined: 15. April 2009 07:48

Re: Sendmail - GMX

Postby WilliL » 25. April 2010 16:34

Log aktiv? Was steht drin?
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1

Re: Sendmail - GMX

Postby Mythos94 » 25. April 2010 17:16

Code: Select all
# Example for a user configuration file

# Set default values for all following accounts.
defaults
logfile "F:\Webserver\sendmail\sendmail.log"

# Mercury
# account Mercury
# host localhost
# from EMAIL
# auth off

# A freemail service example
Account Hotmail
auth on
tls on
smtp_server=mail.gmx.net
smtp_port=25
auth_username=EMAIL@gmx.de
auth_password=PASSWORT


# Set a default account
account default : Hotmail


Das ist die ganze .ini und hab auch eine sendmail.log erstellt, aber drinnen steht nix.
Und ich weiß dass "Hotmail" als Account nicht wirklich passt^^ (ist noch default)
Mythos94
 
Posts: 19
Joined: 15. April 2009 07:48

Re: Sendmail - GMX

Postby WilliL » 25. April 2010 20:09

Hast du die Möglichkeit mit einer anderen Mailadresse zu testen?
Manche Provider unterbinden den Zugriff, um 'Spamschleudern' zu verhindern.
Eigentlich müsstest du eine Ablehnung finden können...

Sendmail-ini: (wie von XAMPP Installation generiert - ich nutze Merury)
Code: Select all
# Example for a user configuration file
# Set default values for all following accounts.
defaults
logfile "C:\xampp\sendmail\sendmail.log"
# Mercury
account Mercury
host localhost
from postmaster@localhost
auth off
# A freemail service example
account Hotmail
tls on
tls_certcheck off
host smtp.live.com
from [exampleuser]@hotmail.com
auth on
user [exampleuser]@hotmail.com
password [examplepassword]
# Set a default account
account default : Mercury
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1

Re: Sendmail - GMX

Postby Mythos94 » 25. April 2010 20:15

Habe nun Hotmail drinnen, aber die von phpBB versandte Massenemail an mich kam nicht an, bzw. wurde nicht geschickt.
Die Logdatei bleibt leer.

/edit:
Für Mercury und Hotmail würde ich ein gutes Tutorial benötigen, da die Tutorials, die ich bisher gefunden habe leider nix nützen.
Mythos94
 
Posts: 19
Joined: 15. April 2009 07:48


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 24 guests