aecrespo95 / Zimbra-Scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zimbra Scripts

Set of scripts and tools to increase your performance with alt text

 

Using the logs it finds the senders to whom the user sent mails and removes them. Must be run as a Zimbra user.

-u : Set the user to eliminate mails (*)

-l : Set the log path (Default: /var/log/)

-h : Print the help

./delete_all_mails_from_user.sh -u pepe@gmail.com

 

Allows to restore a directory containing msg files to a specific mailbox. Must be run as a Zimbra user.

-u : Set the mailbox (*)

-s : Set the store path (*)

-d : Do not remove if exist mail (Default: true)

-h : Print the help

./restore_msg.sh -u pepe@gmail.com -s /home/pepe/mailbox -d

About


Languages

Language:Shell 100.0%