smtpd
¶
An RFC 2821 smtp proxy.
Usage: %(program)s [options] [localhost:localport [remotehost:remoteport]]
Options:
–nosetuid -n
This program generally tries to setuid `nobody’, unless this flag is set. The setuid call will fail if this program is not run as root (in which case, use this flag).–version -V
Print the version number and exit.–class classname -c classname
–debug -d
Turn on debugging prints.–help -h
Print this message and exit.
Version: %(__version__)s
If localhost is not given then `localhost’ is used, and if localport is not given then 8025 is used. If remotehost is not given then `localhost’ is used, and if remoteport is not given, then 25 is used.
Classes¶
DebuggingServer (localaddr, remoteaddr) |
|
Devnull |
|
MailmanProxy (localaddr, remoteaddr) |
|
Options |
|
PureProxy (localaddr, remoteaddr) |
|
SMTPChannel (server, conn, addr) |
|
SMTPServer (localaddr, remoteaddr) |