1SMTPD(8)                    System Manager's Manual                   SMTPD(8)
2
3
4

NAME

6       smtpd - Simple Mail Transfer Protocol daemon
7

SYNOPSIS

9       smtpd [-dFhnv] [-D macro=value] [-f file] [-P system] [-T trace]
10

DESCRIPTION

12       smtpd is a Simple Mail Transfer Protocol (SMTP) daemon which can be
13       used as a machine's primary mail system.  smtpd can listen on a network
14       interface and handle SMTP transactions; it can also be fed messages
15       through the standard sendmail(8) interface.  It can relay messages
16       through remote mail transfer agents or store them locally using either
17       the mbox or maildir format.  This implementation supports SMTP as
18       defined by RFC 5321 as well as several extensions.  A running smtpd can
19       be controlled through smtpctl(8).
20
21       The options are as follows:
22
23            -D macro=value
24                   Define macro to be set to value on the command line.  Over‐
25                   rides the definition of macro in the configuration file.
26
27            -d     Do not daemonize.  If this option is specified, smtpd will
28                   run in the foreground and log to stderr.
29
30            -F     Do not daemonize.  If this option is specified, smtpd will
31                   run in the foreground and log to syslogd(8).
32
33            -f file
34                   Specify an alternative configuration file.
35
36            -h     Display version and usage.
37
38            -n     Configtest mode.  Only check the configuration file for
39                   validity.
40
41            -P system
42                   Pause a specific subsystem at startup.  Normal operation
43                   can be resumed using smtpctl(8).  This option can be used
44                   multiple times.  The accepted values are:
45
46                 mda    Do not schedule local deliveries.
47
48                 mta    Do not schedule remote transfers.
49
50                 smtp   Do not listen on SMTP sockets.
51
52            -T trace
53                   Enables real-time tracing at startup.  Normal operation can
54                   be resumed using smtpctl(8).  This option can be used mul‐
55                   tiple times.  The accepted values are:
56
57                 ·      imsg
58
59                 ·      io
60
61                 ·      smtp (incoming sessions)
62
63                 ·      filters
64
65                 ·      transfer (outgoing sessions)
66
67                 ·      bounce
68
69                 ·      scheduler
70
71                 ·      expand (aliases/virtual/forward expansion)
72
73                 ·      lookup (user/credentials lookups)
74
75                 ·      stat
76
77                 ·      rules (matched by incoming sessions)
78
79                 ·      mproc
80
81                 ·      all
82
83            -v     Produce more verbose output.
84

FILES

86            /etc/opensmtpd/mailname
87                   Alternate server name to use.
88
89            /etc/opensmtpd/smtpd.conf
90                   Default smtpd configuration file.
91
92            /var/run/smtpd.sock
93                   Ux -domain socket used for communication with smtpctl(8).
94
95            /var/spool/smtpd/
96                   Spool directories for mail during processing.
97
98            ~/.forward
99                   User email forwarding information.
100

SEE ALSO

102       forward(5), smtpd.conf(5), mailwrapper(8), smtpctl(8)
103

STANDARDS

105       Rs %A J. Klensin %D October 2008 %R RFC 5321 %T Simple Mail Transfer
106       Protocol Re
107

HISTORY

109       The smtpd program first appeared in OpenBSD 4.6.
110
111
112
113                          $Mdocdate: January 3 2017 $                 SMTPD(8)
Impressum