mailinabox/scripts/mail_testuser.sh

4 lines
232 B
Bash
Raw Normal View History

2013-08-21 13:37:33 +00:00
# Create a test user: testuser@testdomain.com with password "testpw"
echo "INSERT INTO users (email, password) VALUES ('testuser@testdomain.com', '`sudo doveadm pw -s SHA512-CRYPT -p testpw`');" | sqlite3 storage/mail/users.sqlite