Skip to content

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

License

Notifications You must be signed in to change notification settings

tolik-punkoff/dovecot-helper-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages