Skip to content

Commit

Permalink
updated ezmlm-queue man page
Browse files Browse the repository at this point in the history
  • Loading branch information
mbhangui committed Feb 15, 2024
1 parent 4599e22 commit 4dae20a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
4 changes: 3 additions & 1 deletion ezmlm-x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,10 @@ conf-prefix conf-sysconfdir conf-libexec
> checkrecipient-ezmlm
chmod 755 checkrecipient-ezmlm

ezmlm-queue.1: ezmlm-queue.9 conf-sysconfdir conf-qmail
ezmlm-queue.1: ezmlm-queue.9 conf-sysconfdir conf-qmail \
conf-prefix
cat ezmlm-queue.9 \
| sed s}PREFIX}"`head -1 conf-prefix`"}g \
| sed s}SYSCONFDIR}"`head -1 conf-sysconfdir`"}g \
| sed s}QMAILHOME}"`head -1 conf-qmail`"}g \
> ezmlm-queue.1
Expand Down
31 changes: 18 additions & 13 deletions ezmlm-x/ezmlm-queue.9
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.\" vim: tw=75
.TH ezmlm-queue 1
.SH NAME
ezmlm-queue \- queue messages using qmail-qmqpc, qmail-multi or qmail-queue
Expand All @@ -14,34 +15,38 @@ environment variables using \fBenvdir\fR(8) using files in the directory
to configure \fBqmail-qmqpc\fR(8), \fBqmail-multi\fR(8) or
\fBqmail-queue\fR(8). You can use .\fIenvdir\fR and .\fIenvfile\fR to
set additional environment variables. See \fBenvdir\fR(8) for more
information.
information. If \fISYSCONFDIR/ezmlm/global_vars\fR exists,
\fBezmlm-queue\fR clears existing variables before setting new variables.

\fBqmail-multi\fR(8) uses \fBQUEUE_BASE\fR, \fBQUEUE_START\fR and
\fBQUEUE_COUNT\fR to use indimail-mta's multi-queue environment in
QMAILHOME/queue directory.

\fBqmail-queue\fR(8) uses \fBQUEUEDIR\fR, else it will use the
default queue QMAILHOME/queue.
\fBqmail-multi\fR(8) and \fBqmail-queue\fR(8) uses \fBQUEUE_BASE\fR,
\fBQUEUE_START\fR and \fBQUEUE_COUNT\fR to use indimail-mta's multi-queue
architecture in \fIQMAILHOME/queue\fR directory. \fBqmail-queue\fR(8) uses
\fBQUEUEDIR\fR, else it will use the default queue \fIQMAILHOME/queue\fR.

\fBqmail-qmqpc\fR(8) uses \fBPORT_QMQP\fR, \fBOUTGOINGIP\fR,
\fBCONTROLDIR\fR environment variables.

\fBezmlm-queue\fR first checks if SYSCONFDIR/control/qmqpservers is
\fBezmlm-queue\fR first checks if \fISYSCONFDIR/control/qmqpservers\fR is
present and uses \fBqmail-qmqpc\fR(8). if \fBqmqpservers\fR is absent, it
will look for \fBqmail-multi\fR(8). If \fBezmlm-queue\fR doesn't find
\fBqmail-multi\fR in /usr/sbin, it tries \fBqmail-queue\fR. It will exit
with 111 exit code if it finds none of the three binaries.
\fBqmail-multi\fR in \fIPREFIX/sbin\fR, it tries \fBqmail-queue\fR. It will
exit with exit code 111 if it finds none of the three binaries.

Following programs use \fBezmlm-queue\fR(1).

\fBezmlm-manage\fR(1), \fBezmlm-send\fR(1), \fBezmlm-warn\fR(1)

The above programs too can use \fISYSCONFDIR/ezmlm/global_vars\fR. You can
set environment variables for these programs in this directory.

You can make the above program to use a different program instead of
\fBezmlm-queue\fR(1), by setting \fBQMAILQUEUE\fR environment variable in
SYSCONFDIR/ezmlm/global_vars.
\fBezmlm-queue\fR(1) by setting \fBQMAILQUEUE\fR environment variable.

.SH "SEE ALSO"
envdir(8),
qmail-qmqpc(8),
qmail-multi(8),
qmail-queue(8)
qmail-queue(8),
ezmlm-manage(1),
ezmlm-send(1),
ezmlm-warn(1)

0 comments on commit 4dae20a

Please sign in to comment.