I'm looking to do various processing of email - eg. inspect the headers, and if they meet some criteria (look like spam), drop the connection, or inspect the recipient list and perform special filtering.
Looks like Python's smtpd library provides a nice and simple interface for processing the received email.
To deal with the message b...
Sending email is easy with commons-email, and with spring it is even easier. What about receiving incoming email? Are there easy to use APIs that allow to bounce emails, process attachments, etc.
...
Just wondering if there is a Python MTA. I took a look at smtpd but they all look like forwarders without any functionality.
...
So, I wanted to extend the Python smtpd SMTPServer class so that it could handle SMTP AUTH connections. Seemed simple enough...
So, it looked like I could just start like this:
def smtp_EHLO(self, arg):
print 'got in arg: ', arg
# do stuff here...
But for some reason, that never gets called. The Python smtpd library calls o...
Hi, i'm stress testing 2 different projects: one is proxsmtpd - smtp proxy written in C
And the other one, smtp_proxy.py, which i developed under 1 hour, with use of asyncore and smtpd python modules.
I stressed both projects under heavy load,
and found out that proxsmtpd is able to hold 400 smtp sessions / sec,
while my python program,...
Our mail server is receiving a regular email addressed to a non-existing recipient at our domain, so it is being rejected.
Is there a way to see the contents of the email?
...