aiosmtpd

Problem connecting to Python mail server from Java Camel application

时光怂恿深爱的人放手 提交于 2020-05-17 08:46:35
问题 I have a simple email server implemented using the Python language aiosmtpd package (https://github.com/aio-libs/aiosmtpd). I also have an Apache Camel application with a route that attempts to get mail from the server. I have been able to successfully send mail to the server, and it is being saved to a directory. However I'm running into a problem when attempting to get mail from the server. The error message from the Camel application is: 2020-04-29 10:51:54.476 WARN 17916 --- [/localhost

Python 3 SMTP aiosmtpd proxy/relay

扶醉桌前 提交于 2019-12-22 01:27:45
问题 I am trying to make an open SMTP relay using the new aiosmtpd library that replaces smtpd . The program below instantiates a Proxy handler that is passed onto the mail controller, which is started afterwards in the background. A message is then created with a standard smtplib client that connects to the relay. All is good until the SMTP conversation between the client and the relay ends with the message never leaving the relay. The relay never replies with a 250 OK\r\n and a ctrl+c shows that