Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 1.15 KB

README.md

File metadata and controls

32 lines (17 loc) · 1.15 KB

dovecot-helper-scripts

Bash scripts for Dovecot administrator (virtual users, self-signed cert creation, and other)

genemailkeys - script for genering self-sigend cerificate to Dovecot
dcadduser - add user to Dovecot passwd-file

Use: dcadduser <username> <password> or run this script without parameters. If this script run without parametes, username and password will be requested in interactive mode.

Example: dcadduser [email protected] passw0rd666

dcdeluser - delete user from Dovecot passwd-file

Use: dcdeluser <username>

Example: dcadduser [email protected]

dcpasswd - change user password

Use: dcpasswd <username> [new_password] or dcpasswd <username>

Example: dcpasswd [email protected] nEw!pAssW0Rd or dcpasswd [email protected]

If run this script without [new_password] parameter, new password will be requested in interactive mode.

dclistuser - print list users from Dovecot passwd-file
v 0.2

Into scripts dcadduser, dcdeluser and dcpasswd added variable DOMAIN.

Set this variable for adding @ and domain name after username (e.g. DOMAIN="example.org")