diff --git a/Makefile.am b/Makefile.am index 1e35ac0..a042e85 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,2 +1,2 @@ -SUBDIRS = src +SUBDIRS = src man EXTRA_DIST = README docs/architecture.txt conf/subrelay.sample.conf templates/subscribe.txt diff --git a/configure.ac b/configure.ac index 1cc3b02..15cce29 100644 --- a/configure.ac +++ b/configure.ac @@ -26,5 +26,6 @@ AC_CHECK_FUNCS([memset socket strchr strdup strcasecmp strncasecmp strtol strtou AC_CONFIG_FILES([ Makefile src/Makefile + man/Makefile ]) AC_OUTPUT diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 0000000..d5c6504 --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1 @@ +man_MANS = subrelayd.8 diff --git a/man/subrelayd.8 b/man/subrelayd.8 new file mode 100644 index 0000000..96270d1 --- /dev/null +++ b/man/subrelayd.8 @@ -0,0 +1,38 @@ +.TH SUBRELAYD 8 +.SH NAME +subrelayd \- standalone mailing-list daemon +.SH SYNOPSIS +.B subrelayd +.BR \-c " " path +.RB [ \-f ] +.RB [ \-h ] +.SH DESCRIPTION +.B subrelayd +is a standalone mailing-list daemon. It operates independently of an SMTP server: +it uses an external SMTP server to send messages and an external IMAP server to +listen for incoming messages. +.PP +The configuration file specifies the daemon's settings. See +.BR subrelay.conf (5). +.SH OPTIONS +.TP +.BR \-c ", " \-\-config-file " " path +Read configuration from +.IR path . +This option is required. +.TP +.BR \-f ", " \-\-foreground +Run in the foreground. +.TP +.BR \-h ", " \-\-help +Print help and exit. +.SH FILES +.TP +.I subrelay.conf +Configuration file. Its location is specified with +.BR \-\-config-file . +.SH SEE ALSO +.BR sbrlctrl (1), +.BR subrelay.conf (5) +.SH AUTHORS +Written by the Subrelay authors.