sieveshell - remotely manipulate sieve scripts
sieveshell [–user=user] [–authname=authname] [–realm=realm] [–exec=script] server[:port]
sieveshell allows users to manipulate their scripts on a remote server. It works via MANAGESIEVE, a work in progress.
The following commands are recognized:
list list scripts on server.
put <filename> upload script to server.
get <name> [<filename>] get script. if no filename display to stdout
delete <name> delete script.
activate <name> activate script.
deactivate deactivate all scripts.
-u user, –user=user
The user whose mailboxes you want to work on. If not specified, it uses the same as -a.
-a authname, –authname=authname
The user to use for authentication. If not specified, it defaults to the current login user.
-r realm, –realm=realm
The realm to attempt authentication in.
-e script, –exec=script
Instead of working interactively, run commands from script, and exit when done.
[MANAGESIEVE] Martin, T.; “A Protocol for Remotely Managing Sieve Scripts”, RFC 5804; May 2001