dotProject Forums

Go Back   dotProject Forums > USAGE, TIPS AND HINTS > General Questions
Register FAQTop Posters Members List Calendar Search Today's Posts Resend Activation Email Mark Forums Read
dotProject Documentation dotProject FAQ Bugs & Feature Requests Language Packs & Themes Download dotProject

General Questions Use this forum to ask questions or provide suggestions about general usage and how to's within the core dotProject modules. These modules include: Calendar, Tasks and Projects, Files, Contacts, Permissions, Forums, User Administration, System Administration etc.

Reply
 
Thread Tools Display Modes
  #11  
Old 05-10-06, 12:38 PM
dretim23 dretim23 is offline
Valued Users
Frequent Visitor
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 04-09-06
Posts: 20
Default Re: Failed to login to SMTP server: 500 5.3.3 Unrecognized command

Quote:
Originally Posted by pedroa
250 is not a blocking error, so you should check if your server supports authentication and what are your firewall settings. Also if you have relaying problems changing
$this->socketSend("EHLO " . $this->getHostName());
to
$this->socketSend("EHLO " . '[XXX.XXX.XXX.XXX]');
where XXX.XXX.XXX.XXX should match your servers IP, may help.

Pedro A.
dotproject is in the same lan of mail server. it require authentication. both dotproject and mail server have not set firewall.

the server of IP should be
'xxx.xxx.xxx.xxx' or '[xxx.xxx.xxx.xxx]' ?

Reply With Quote
  #12  
Old 05-10-06, 07:18 PM
pedroa's Avatar
pedroa pedroa is offline
Valued Users
Utter Fanatic
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 18-01-05
Posts: 3,554
Default Re: Failed to login to SMTP server: 500 5.3.3 Unrecognized command

It should be bracketed according to RFC standard, but MS dimension does not allways bow to standards so anything will do as long as it works

Pedro A.
__________________
Peace!!!
Reply With Quote
  #13  
Old 01-07-07, 08:46 AM
enricom's Avatar
enricom enricom is offline
Junior Member
Return Visitor
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 01-07-07
Posts: 3
Cool Re: Failed to login to SMTP server: 500 5.3.3 Unrecognized command

I had the same problems as described in previous posts, and previous suggestions also did not work. My Web host is using Windows and IIS.

I enabled debug messages and saw the following:
Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not in a.b.c.d form in E:\USERS\myaccount\www\myfolder\dotproject\classes \libmail.class.php on line 495

So as a very quick and dirty hack, the following worked for me.

***** libmail.class.php v 1.28 @ line 490 *****

function getHostName()
{
// Grab the server address, return a hostname for it.
//if ($host = gethostbyaddr($_SERVER['SERVER_ADDR']))
// return $host;
//else
// return '[' . $_SERVER['SERVER_ADDR'] . ']';

//Hack code:
return 'smtp.myhost.com'; //replace with your smtp server address

}

*************************************

Reply With Quote
  #14  
Old 21-01-09, 08:40 AM
itstuffimed itstuffimed is offline
Junior Member
New Participant
dotProject Version:
php Version:
MySQL Version:
Operating System Version:
Browser:
 
Join Date: 21-01-09
Posts: 1
Default Re: Failed to login to SMTP server: 500 5.3.3 Unrecognized command

Here is what we did to fix it on our install
Dot Project: 2.1.2
Host: IIS
Server: Windows 2003
Email server: Exchange 2003

Change the initial socket connecto to be:
$this->socketSend('HELO ' . '[192.168.0.10]');

192.168.0.10 is your exchange mail server IP address.

That is the only way we were able to get it to work.

Hope this helps.

Quote:
Originally Posted by enricom View Post
I had the same problems as described in previous posts, and previous suggestions also did not work. My Web host is using Windows and IIS.

I enabled debug messages and saw the following:
Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not in a.b.c.d form in E:\USERS\myaccount\www\myfolder\dotproject\classes \libmail.class.php on line 495

So as a very quick and dirty hack, the following worked for me.

***** libmail.class.php v 1.28 @ line 490 *****

function getHostName()
{
// Grab the server address, return a hostname for it.
//if ($host = gethostbyaddr($_SERVER['SERVER_ADDR']))
// return $host;
//else
// return '[' . $_SERVER['SERVER_ADDR'] . ']';

//Hack code:
return 'smtp.myhost.com'; //replace with your smtp server address

}

*************************************

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +10. The time now is 07:16 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.