2013-06-29, 12:15 AM
First off here is my setup:
And here is a bit from my SMTP server log. First a transaction that worked... then a transaction sent by MyBB:
The working one:
Now MyBB's version:
As you can see the AUTH data isn't even being sent. My server sends the auth request and gets nothing back. In the end it complains about not having any auth data. Can this be fixed easily?
EDIT: All the MyBB Mail settings are filled out. SMTP user and pass is also filled out, but just not used. I can use my SMTP server with other clients.
I also checked out smtp.php ... nothing was entered for auth data. I tried entering my auth data in there and it didn't make a difference
After further inspection of smtp.php it seems that the auth method verbage is different, and the code (250 on my server) is different than what is in the smtp.php script as well. I'm not a PHP whiz yet, but I'll keep fiddling with it and post my findings.
Windows 7 Ultimate (x64)
APACHE v2.4 (x86) apachelounge.com
- mod_fcgid
PHP v5.4.16 NTS (x86)
MySQL v5.6.12 Community (x86)
MyBB v1.6.10
hMailServer v4.3 (x86)
Domain: shariertech.com/forumAnd here is a bit from my SMTP server log. First a transaction that worked... then a transaction sent by MyBB:
The working one:
"SMTPD" 4448 24 "2013-06-28 19:58:42.592" "32.144.82.159" "SENT: 220 shariertech.com ESMTP"
"SMTPD" 4816 24 "2013-06-28 19:58:42.924" "32.144.82.159" "RECEIVED: EHLO [10.188.24.100]"
"SMTPD" 4816 24 "2013-06-28 19:58:42.924" "32.144.82.159" "SENT: 250-shariertech.com[nl]250-SIZE 20480000[nl]250 AUTH LOGIN PLAIN"
"SMTPD" 1956 24 "2013-06-28 19:58:43.080" "32.144.82.159" "RECEIVED: AUTH PLAIN xxxxxxxxxx[censored]xxxxxxxx"
"SMTPD" 1956 24 "2013-06-28 19:58:43.112" "32.144.82.159" "SENT: 235 authenticated."
"SMTPD" 3436 24 "2013-06-28 19:58:43.255" "32.144.82.159" "RECEIVED: QUIT"
"SMTPD" 3436 24 "2013-06-28 19:58:43.255" "32.144.82.159" "SENT: 221 goodbye"
Now MyBB's version:
"SMTPD" 4448 25 "2013-06-28 20:01:48.359" "127.0.0.1" "SENT: 220 shariertech.com ESMTP"
"SMTPD" 4448 25 "2013-06-28 20:01:48.374" "127.0.0.1" "RECEIVED: EHLO 127.0.0.1"
"SMTPD" 4448 25 "2013-06-28 20:01:48.374" "127.0.0.1" "SENT: 250-shariertech.com[nl]250-SIZE 20480000[nl]250 AUTH LOGIN PLAIN"
"SMTPD" 4448 25 "2013-06-28 20:01:48.374" "127.0.0.1" "RECEIVED: MAIL FROM:<[email protected]>"
"SMTPD" 4448 25 "2013-06-28 20:01:48.374" "127.0.0.1" "SENT: 250 OK"
"SMTPD" 2880 25 "2013-06-28 20:01:48.374" "127.0.0.1" "RECEIVED: RCPT TO:<[email protected]>"
"SMTPD" 2880 25 "2013-06-28 20:01:48.374" "127.0.0.1" "SENT: 530 SMTP authentication is required."
As you can see the AUTH data isn't even being sent. My server sends the auth request and gets nothing back. In the end it complains about not having any auth data. Can this be fixed easily?
EDIT: All the MyBB Mail settings are filled out. SMTP user and pass is also filled out, but just not used. I can use my SMTP server with other clients.
I also checked out smtp.php ... nothing was entered for auth data. I tried entering my auth data in there and it didn't make a difference
After further inspection of smtp.php it seems that the auth method verbage is different, and the code (250 on my server) is different than what is in the smtp.php script as well. I'm not a PHP whiz yet, but I'll keep fiddling with it and post my findings.