add_email.sh to add email accounts via command line

Version 1.39.2

Feature
Finished

/usr/local/directadmin/scripts/add_email.sh used to add email accounts via the command line. Mainly used for conversion of imported data, to add into DA via a script. Related: http://help.directadmin.com/item.php?id=386 [root@server scripts]# ./add_email.sh Usage: ./add_email.sh <user> <domain> '<cryptedpass>' <plaintext> <quota> Where the cryptedpass can either be an MD5/DES/SHA512 password If plaintext is set to 1, then it can be a raw password Else, set plaintext to 0 to use the provided crypted pass. quota, in bytes. Use 0 for unlimited The domain must already exist under a DA account

Interested to try DirectAdmin? Get a 30-day Free Trial!