-------------------------------------
doveadm " [" -Dv "] " batch " [" -S socket_path "] " -F " file sep command sep command" [...]
-------------------------------------
doveadm " [" -Dv "] " batch " [" -S socket_path "] " -u " usermask sep command sep command" [...]
------------------------------------------------------------------------
In the first form doveadm (1) will loop over all users, defined in the configured user_db (s), and execute the sequence of command s for each of them.
In the second form doveadm (1) will loop over all users, listed in the given file .
In the third form the
command s will be executed for each user matching the given
usermask . ------------------------------------------------------------------------
@INCLUDE:global-options@
--- command specific options --- "/.
Command specific
options : -------------------------------------
@INCLUDE:option-A@
-------------------------------------
@INCLUDE:option-F-file@
-------------------------------------
@INCLUDE:option-S-socket@
-------------------------------------
@INCLUDE:option-u-user@
------------------------------------------------------------------------
command Any
doveadm (1) command, with arguments and options \(em except for the
-A ", " -S " and " -u " options." -------------------------------------
sep A single character used as command separator, e.g. \(aq:\(aq.
Be careful, unquoted characters, like
; " or " & , may be interpreted by your shell and
doveadm (1) will never see them.
------------------------------------------------------------------------
mail_location = mdbox:~/mdbox:ALT=/nfsmount/%h/mdboxThe second command will remove messages with refcount=0 from the primary storage.
doveadm batch -u \(rs*@example.net : altmove seen savedbefore 30d : purge------------------------------------------------------------------------
@INCLUDE:reporting-bugs@ ------------------------------------------------------------------------