To change the password expiry time for a zimbra mail account, please follow the steps below.
[zimbra@geo ~]$ zmprov ma firstname.lastname@example.org zimbraPasswordMaxAge 36500
This modifies the value. To see if the new value is set, use the command:
[zimbra@geo~]$ zmprov ga email@example.com zimbraPasswordMaxAge
# name firstname.lastname@example.org
This can also be done from admin panel, goto account >> edit >> advanced >> Maximum password age (Days).
imapsync is a tool for facilitating incremental recursive IMAP transfers from one mailbox to another. It is useful for mailbox migration, and reduces the amount of data transferred by only copying messages that are not present on both servers. Read, unread, and deleted flags are preserved and the process can be stopped and resumed. The original messages can optionally be deleted after a successful transfer.
This instruction is written for RPM-based systems like RedHat, Fedora, CentOS, etc.
Please do the following steps to recreate Qmail`s queue, Queue has damage or lots of spam mails.
Please DO remember that all current messages will be removed from the queue in this case and cannot be restored.
1. Stop Qmail and xinetd.
2. Move current queue to another location.
mv /var/qmail/queue /var/qmail/queue_old
3 Reinstall ‘psa-qmail’ RPM to recreate qmail queue structure with the command like:
rpm -Uvh –force psa-qmail….
4.(Optional).Reinstall drweb-qmail RPM if you use DrWeb antivirus feature which comes with Plesk.
rpm -Uvh –force drweb-qmail….
5.Start Qmail and xinetd:
You should get the both psa-qmail and drweb-qmail RPMs from the same Plesk version distributive that is installed on the server. You can obtain current psa-qmail, drweb-qmail RPMs and Plesk build versions by running the following commands on Linux systems:
rpm -q psa-qmail
rpm -q drweb-qmail
rpm -q psa