kyokenn / python-port25

Automatically exported from code.google.com/p/python-port25
Other
3 stars 2 forks source link

E-mail submission service error: 500 unknown command #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Running the example send.py 
2. Any use of Connection.submit(msg) returns this error. 

What is the expected output? What do you see instead?

Should send to listed emails, but instead get the E-mail submission service 
error: 500 unknown command error.

What version of the product are you using? On what operating system?

Pmta 4.0r8  on Centos 

Please provide any additional information below.

Have followed all required steps outlined in pmta user guide for using the 
api's.

python setup.py test runs and passes all tests.

Original issue reported on code.google.com by mrnitr...@gmail.com on 22 Feb 2013 at 11:51

GoogleCodeExporter commented 8 years ago
Never mind you can close, turns out i had set pmta to dummy connections from 
all local ip's on port 25 with the directives:
dummy-smtp-port 25
in the pmta config.

Commenting out or setting to port 0 disables blackholing these connections.
Now everything is working correctly.

Thanks

Original comment by mrnitr...@gmail.com on 23 Feb 2013 at 3:49