I want to set up SMTP relay server which also needs to use HTTP proxy. I'm using Python.
SMTP proxy:
import smtpd
import asyncore
smtpd.PureProxy(('local host name', 1234), ('smtp server name', 25))
asyncore.loop()
The issue is I need to use HTTP proxy in order to connect to SMTP server.
How can I specify it?