ankraft / smtpproxy Goto Github PK
View Code? Open in Web Editor NEWA small SMTP Proxy Server written in Python.
License: MIT License
A small SMTP Proxy Server written in Python.
License: MIT License
Lines 458 to 459 in 6a05b76
This else statment sets every account's port number to 25, maybe just a duplication of the previous two lines.
As mentioned in title, how can I stop sending mail in handlers ?
Hi!
I'm trying to use your proxy to get a stubborn stupid IOT device that only does unencrypted SMTP to send emails to Zoho via protected SMTP
Problem one: pop before SMTP plain doesn't work, with a strange error that kind of suggests that it expects "pop check delay" to be a boolean (its default, which I didn't change, is indeed not a boolean)
Traceback (most recent call last):
File "smtpproxy.py", line 504, in
if readConfig() == False:
File "smtpproxy.py", line 428, in readConfig
account.rpopcheckdelay = smtpconfig.getboolean(s, 'popcheckdelay', account.rpopcheckdelay)
File "/root/smtpproxy/config.py", line 42, in getboolean
res = ConfigParser.getboolean(self, section, option)
File "/usr/lib/python2.7/ConfigParser.py", line 370, in getboolean
raise ValueError, 'Not a boolean: %s' % v
ValueError: Not a boolean: 60
Problem two:
it does not properly work with SMTP servers that use SSL (NOT TLS) auth.
Zoho's TLS SMTP is notoriously broken , and doesn't work with this proxy (rejected with "authentication required").
Dunno why (it would be very kind of you if you tested this, but many, many softwares fail to work with Zoho TLS SMTP)
From prior experience with zoho, I have tried going the SSL (port 465) way (several ERPs I've worked with failed to connect to Zoho SMTP via TLS but succeeded with SSL SMTP) , but connection just times out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.