.\" Man page generated from reStructuredText. . .TH AIOSMTPD 1 "2017-07-01" "1.1" "" .SH NAME aiosmtpd \- Provide a Simple Mail Transfer Procotol (SMTP) server . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp aiosmtpd [options] .SH DESCRIPTION .sp This program provides an RFC 5321 compliant SMTP server that supports customizable extensions. .SH OPTIONS .INDENT 0.0 .TP .B \-h\fP,\fB \-\-help Show this help message and exit .TP .B \-v\fP,\fB \-\-version Show program\(aqs version number and exit. .TP .B \-n\fP,\fB \-\-nosetuid This program generally tries to setuid \fBnobody\fP, unless this flag is set. The setuid call will fail if this program is not run as root (in which case, use this flag). .TP .BI \-c \ CLASSPATH\fP,\fB \ \-\-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. If not give, this uses a debugging handler by default. .sp When given all remaining positional arguments are passed as arguments to the class\(aqs \fB@classmethod from_cli()\fP method, which should do any appropriate type conversion, and then return an instance of the handler class. .TP .BI \-s \ SIZE\fP,\fB \ \-\-size \ SIZE Restrict the total size of the incoming message to SIZE number of bytes via the RFC 1870 SIZE extension. Defaults to 33554432 bytes. .TP .B \-u\fP,\fB \-\-smtputf8 Enable the SMTPUTF8 extension and behave as an RFC 6531 SMTP proxy. .TP .B \-d\fP,\fB \-\-debug Increase debugging output. .UNINDENT .INDENT 0.0 .TP .B \-l [HOST:PORT], \-\-listen [HOST:PORT] Optional host and port to listen on. If the PORT part is not given, then port 8025 is used. If only :PORT is given, then localhost is used for the hostname. If neither are given, localhost:8025 is used. .UNINDENT .SH AUTHOR The aiosmtpd developers .SH COPYRIGHT 2015-2017 The aiosmtpd developrs .\" Generated by docutils manpage writer. .