Bash scripts for Dovecot administrator (virtual users, self-signed cert creation, and other)
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
Use: dcdeluser <username>
Example: dcadduser [email protected]
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.
Into scripts dcadduser
, dcdeluser
and dcpasswd
added variable DOMAIN.
Set this variable for adding @
and domain name after username (e.g. DOMAIN="example.org"
)