AIOSMTPD(1)
β¨ NAME β¨
Okay bestie, welcome to aiosmtpd(1) π The name is aiosmtpd, an asyncio based SMTP server π§
It's an asynchronous, RFC 5321 compliant Simple Mail Transfer Protocol (SMTP) server π and it supports customizable extensions, so you can make it your own π
- Author β The aiosmtpd Developers
- Date β 2025-03-23
- Copyright β 2015-2022, The aiosmtpd Developers
- Version β 1.4.6
- Manual section β 1
β¨ SYNOPSIS β¨
Here's the vibe for how you call it π
usage: aiosmtpd [-h] [-v] [-n] [-c CLASSPATH] [-s SIZE] [-u] [-d]
[-l [[HOST][:PORT]]] [--smtpscert CERTFILE]
[--smtpskey KEYFILE] [--tlscert CERTFILE] [--tlskey KEYFILE]
[--no-requiretls]
[CLASSARGS ...]
β¨ Options β¨
CLASSARGSβ Extra arguments that get passed along to the handlerCLASSπ§-h,--helpβ Shows the help message and exits πΈ-v,--versionβ Shows the program's version number and exits π¦-n,--nosetuidβ Normally this program tries to setuid nobody π but if you set this flag, it won't. The setuid call fails when you're not running as root, so in that case, use this flag π-c <CLASSPATH>,--class <CLASSPATH>β Picks the handler class for SMTP events, written as a Python dotted import path π That class can process received messages and do other stuff during the SMTP dialog. By default it usesaiosmtpd.handlers.Debuggingβ¨-s <SIZE>,--size <SIZE>β Caps the total size of an incoming message at SIZE bytes using the RFC 1870 SIZE extension π¦ The default is 33,554,432 bytes π-u,--smtputf8β Turns on the SMTPUTF8 extension from RFC 6531 π-d,--debugβ Cranks up the debugging output π₯ Every-dyou add bumps the debugging level up by one π-l <[HOST][:PORT]>,--listen <[HOST][:PORT]>β Optional host and port to listen on π¦ If you leave out the PORT part, port 8025 is used. If you only give:PORT, the hostname becomes localhost. If you give neither, you get localhost:8025 π--smtpscert <CERTFILE>β The certificate file for SMTPS π If you use it, you also have to specify--smtpskeyπ«Ά--smtpskey <KEYFILE>β The key file for SMTPS π If you use it, you also have to specify--smtpscertπ«Ά--tlscert <CERTFILE>β The certificate file for STARTTLS π If you use it, you also have to specify--tlskeyπ«Ά--tlskey <KEYFILE>β The key file for STARTTLS π If you use it, you also have to specify--tlscertπ«Ά--no-requiretlsβ Turns offrequire_starttlson the SMTP class π ββοΈ By default,require_starttlsis True. This does nothing if--tlscertand--tlskeyaren't specified π€
β¨ ENVIRONMENT β¨
AIOSMTPD_CONTROLLER_TIMEOUTβ How long the main thread waits (in seconds) for the SMTP thread to be ready β° Default: 1.0
β¨ AUTHOR β¨
The aiosmtpd Developers π«Ά
β¨ COPYRIGHT β¨
2015-2022, The aiosmtpd Developers π
That's the whole tea, bestie! β You just read about aiosmtpd 1.4.6, dated 2025-03-23, and you absolutely slayed it π πΈ
π¦ where this page comes from
- debian trixie: python3-aiosmtpd 1.4.6-5 Β· Apache-2.0
- ubuntu questing: python3-aiosmtpd 1.4.6-5
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms