diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-05-21 17:28:14 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-05-21 17:28:14 +0300 |
commit | dd213e8c519df45f4a0b632d71691693ddf2502a (patch) | |
tree | fff0865d0f63e0ca44aa9bdf9bfdb435a9a8652a | |
parent | 4c4fce4f4a976371869ef05506b54a1960c29e02 (diff) | |
download | mailutils-dd213e8c519df45f4a0b632d71691693ddf2502a.tar.gz mailutils-dd213e8c519df45f4a0b632d71691693ddf2502a.tar.bz2 |
Describe maidag delivery-mode configuration variable.
-rw-r--r-- | doc/texinfo/programs/maidag.texi | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/texinfo/programs/maidag.texi b/doc/texinfo/programs/maidag.texi index 40c037d34..c66d4aefa 100644 --- a/doc/texinfo/programs/maidag.texi +++ b/doc/texinfo/programs/maidag.texi @@ -99,22 +99,22 @@ maidag: @subsection Using @command{maidag} with MeTA1. @cindex LMTP @cindex MeTA1 MeTA1 (@uref{http://meta1.org}) communicates with the delivery agent using @acronym{LMTP}. -LMTP mode is enabled in @command{maidag} by the @samp{lmtp yes} +LMTP mode is enabled in @command{maidag} by the @samp{delivery-mode lmtp} statement. The socket to listen on must be specified using @code{server} statement (@pxref{Server Settings}). For the purposes of this section, let's suppose @command{maidag} will listen on a @acronym{UNIX} socket @file{/var/spool/meta1/lmtpsock}. Then, the following (minimal) @command{maidag} configuration will do the job: @example # @r{Start in LMTP mode.} -lmtp yes; +delivery-mode lmtp; # @r{Run as daemon.} mode daemon; # @r{Switch to this group after startup.} group meta1c; # @r{Configure server:} server unix:///var/spool/meta1/lmtpsock @{ @@ -485,12 +485,14 @@ When invoked with the @option{--url} command line option, For example: @example $ maidag --url maildir:///home/smith/Mail @end example +The same effect has the @samp{delivery-mode url} configuration statement. + @node Remote Mailbox Delivery @subsection Remote Mailbox Delivery @command{Maidag} can be used to deliver mail to remote mailboxes, such as @samp{imap} or @samp{smtp}. If the mailbox @acronym{URL} is @samp{smtp} or @samp{sendmail}, the message is actually forwarded over @acronym{SMTP} to the remote node, so @@ -584,12 +586,17 @@ statements: @item server @tab @xref{Server Settings}. Used only in @acronym{LMTP} mode. @item acl @tab @xref{acl statement}. @item tcp-wrappers @tab @xref{tcp-wrappers statement}. @end multitable +@deffn {Maidag Config} delivery-mode @var{mode} +Configure delivery mode. The argument is one of: @samp{mda} (default), +@samp{url}, or @samp{lmtp}. +@end deffn + @deffn {Maidag Config} ex-multiple-delivery-success @var{bool} In case of multiple delivery, exit with code 0 if at least one delivery has succeeded. @end deffn @deffn {Maidag Config} ex-quota-tempfail @var{bool} @@ -645,16 +652,12 @@ Process forward file @var{file}. @xref{Forwarding}. @deffn {Maidag Config} forward-file-checks @var{list} Configure safety checks for the forward file. @xref{Forwarding, forward-file-checks}. @end deffn -@deffn {Maidag Config} lmtp @var{bool} -Run in @acronym{LMTP} mode. -@end deffn - @deffn {Maidag Config} group @var{list} In @acronym{LMTP} mode, retain supplementary groups from @var{list}. @end deffn @deffn {Maidag Config} listen @var{url} In @acronym{LMTP} mode, listen on @var{url}. Valid @acronym{URL}s are: |