https://www.email-lists.org/pipermai...er/001027.html mite help
See the Dovecot User Databases documentation for information on the different user account management options which Dovecot supports.
Depending upon which authentication method you select, the creation of user accounts on the system with useradd may be sufficient to create mail system accounts for the users (see my reply to your How to setup SFTP accounts via SSH? for further information on how this may be the best option for your needs).
Mailboxes
Collapse
X
-
Originally posted by Shifty View PostGood day!
Need to create mailboxes via SSH or other program method (PHP and other). Not using any panel.
Here emailuser is the email username, domain.com is the domain name, password is the email account password, and quota is the size in MB for the email account. You could run a loop through a list of email accounts in a text file to then run the script and have all of these created that way.Code:/scripts/addpop $emailaddress $password $quota
this ssh command will work if you server has cpanel.
Leave a comment:
Leave a comment: