I'm developing an application which connects to a given IMAP server, does some processing on the messages that are new, and then forwards it on via an IMAP server running on localhost so that email clients can connect to this local IMAP server instead of the main one. I want this to work the other way around as well with SMTP.

I know about imaplib and smtplib but these libraries only serve as clients. I also found aiosmtpd to serve as a SMTP server but I'm missing a library or application for an IMAP server.

Any recommendations would be very helpful!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.