Exception in thread SMTP Server

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

scuba303
Posts: 6
Joined: Thu Aug 16, 2007 11:35 am

Exception in thread SMTP Server

Post by scuba303 »

hello,

i installed OpenEMM-5.1.1-win32 today on a windows server 2003 R2.
i used
ActivePython-2.5.1.1-win32-x86.msi (was a hint from this forum beacuase others discovered problems with other python distris.)
and
MySQL-python-1.2.2.win32-py2.5.exe

install says everything is right. if i try start.bat i will get the follwoing errors:

Code: Select all

Starting up .. home is C:\OpenEMM .. found codebase .. found database.
Running, press return for termination: Exception in thread SMTP Server:
Traceback (most recent call last):
  File "C:\Python25\lib\threading.py", line 462, in __bootstrap
    self.run()
  File "C:\OpenEMM\bin\scripts\semu.py", line 713, in run
    Server.ServerLoop ()
  File "C:\OpenEMM\bin\scripts\semu.py", line 663, in __init__
    smtpd.SMTPServer.__init__ (self, ('0.0.0.0', 25), None)
  File "C:\Python25\lib\smtpd.py", line 280, in __init__
    self.bind(localaddr)
  File "C:\Python25\lib\asyncore.py", line 303, in bind
    return self.socket.bind(addr)
  File "<string>", line 1, in bind
error: (10013, 'Permission denied')
any help welcome as i am not into python...
scuba303
Posts: 6
Joined: Thu Aug 16, 2007 11:35 am

Post by scuba303 »

ahhh.. seems to be a problem with another smtp service already running on the machine.
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Post by ud »

It may be also another problem: In UNIX like systems only the super user may bind to a port below 1024. Perhaps this restriction is also valid for Windows Server. Or it is also valid for all Windows versions, but nearly everyone is working with administration rights :D .

-- ud
scuba303
Posts: 6
Joined: Thu Aug 16, 2007 11:35 am

Post by scuba303 »

i simply changed the port for smtp to 2025 and everything is fine!
there is a projects 2007 server running on the same machine. seems like this one is having it's own smtp.
windows 2003 rs2
open emm 5.1.1
ActivePython-2.5.1.1-win32-x86.msi
MySQL-python-1.2.2.win32-py2.5.exe
jdk-6u2-windows-i586-p.exe
rapid
Posts: 2
Joined: Thu Dec 06, 2007 10:36 am

Post by rapid »

could you please explain in details how did you do that?
i get the same error =(
ud
Posts: 154
Joined: Thu Aug 17, 2006 9:56 am
Location: Munich, Germany
Contact:

Post by ud »

I think he changed bin\scripts\semu.py directly and changed the port the server is listening from 25 to 2025. This removes the error, but this does not really work as every remote systems tries to connect to port 25 to deliver your mail. So either you must run the application as administrator or you have to establish a port forward from 25 to 2025 (perhaps some Windows guru can help here in detail.)

-- ud
rapid
Posts: 2
Joined: Thu Dec 06, 2007 10:36 am

Post by rapid »

Thanks! I 've donewhat you said and the error disappeared :P
steeleweb
Posts: 28
Joined: Tue Jul 07, 2009 10:08 pm
Location: Kansas City

error

Post by steeleweb »

I am still getting error, not sure why.

I did not have a smtp server running I then installed a smtp server and changed the port to 2025 and then recieved the error listed.

Any other suggestions?
Post Reply