File: manpage.rst

package info (click to toggle)
python-aiosmtpd 1.2.2-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,704 kB
  • sloc: python: 3,838; makefile: 39
file content (66 lines) | stat: -rw-r--r-- 1,879 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
==========
 aiosmtpd
==========

-----------------------------------------------------
Provide a Simple Mail Transfer Protocol (SMTP) server
-----------------------------------------------------

:Author: The aiosmtpd developers
:Date: 2017-07-01
:Copyright: 2015-2017 The aiosmtpd developers
:Version: 1.1
:Manual section: 1


SYNOPSIS
========

aiosmtpd [options]


Description
===========

This program provides an RFC 5321 compliant SMTP server that supports
customizable extensions.


OPTIONS
=======
-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.  If not give, this uses a debugging
    handler by default.

    When given all remaining positional arguments are passed as arguments to
    the class's ``@classmethod from_cli()`` method, which should do any
    appropriate type conversion, and then return an instance of the handler
    class.

-s SIZE, --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.

-u, --smtputf8
    Enable the SMTPUTF8 extension and behave as an RFC 6531 SMTP proxy.

-d, --debug
    Increase debugging output.

-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.