aiosmtpd¶
Provides an asynchronous, RFC 5321 compliant Simple Mail Transfer Protocol (SMTP) server that supports customizable extensions.
- Author
The aiosmtpd Developers
- Date
2020-11-20
- Copyright
2015-2021, The aiosmtpd Developers
- Version
1.3.2
- Manual section
1
SYNOPSIS¶
usage: aiosmtpd [-h] [-v] [-n] [-c CLASSPATH] [-s SIZE] [-u] [-d]
[-l [[HOST][:PORT]]]
[CLASSARGS [CLASSARGS ...]]
Options¶
-
CLASSARGS¶ Additional arguments passed to the handler CLASS.
-
-h,--help¶ show this help message and exit
-
-v,--version¶ show program’s version number and exit
-
-n,--nosetuid¶ 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).
-
-c<CLASSPATH>,--class<CLASSPATH>¶ Use the given class, as a Python dotted import path, as the handler class for SMTP events. This class can process received messages and do other actions during the SMTP dialog. Uses
aiosmtpd.handlers.Debuggingby default.
-
-s<SIZE>,--size<SIZE>¶ Restrict the total size of the incoming message to
SIZEnumber of bytes via the RFC 1870 SIZE extension. Defaults to 33,554,432 bytes.
-
-u,--smtputf8¶ Enable the
SMTPUTF8extension as defined in RFC 6531.
-
-d,--debug¶ Increase debugging output.
-
-l<[HOST][:PORT]>,--listen<[HOST][:PORT]>¶ Optional host and port to listen on. If the
PORTpart is not given, then port8025is used. If only:PORTis given, thenlocalhostis used for the hostname. If neither are given,localhost:8025is used.