Small blog about system administration.

Managing Mail System in Parallels Plesk using command line

The majority of tasks related to administration of mail accounts can be handled by the mail.sh utility.

The following tasks can be performed with its help: creation/update/removal of mail names, setup of preferences for mailboxes, redirects and mail groups.
Autoresponder settings can also be controlled with this utility.

Usage: mail.sh command <mail_name> [options]

For example:

Get info about mailbox:

#/usr/local/psa/bin/mail.sh -i mail@example.com

Change password for mail@example.com:

#/usr/local/psa/bin/mail.sh -u mail@example.com -passwd <new-password>

More about it: http://download1.swsoft.com/Plesk/Plesk7.5/Doc/plesk-7.5r-sdk-html/docs/cu/unix/ch14.html

No comments :

Post a Comment