what is the password for my email?

February 18, 2015 1.5k views

I have installed everything on my vps according to


When everything is done :

root@mytest:/home/demo# service dovecot restart
[ ok ] Restarting IMAP/POP3 mail server: dovecot.

It seems to me that my email box is setup properly.
And i can send email in console with the command

echo "This is the body of the email" | mail -s "This is the subject line" user@example.com

In the user@example.com there is turely a email .
Why my thunderbird can't connect my email ?

For the email1@example.com , is the password "firstpassword" or "email1's password" ?

INSERT INTO `servermail`.`virtual_users`
(`id`, `domain_id`, `password` , `email`)
('1', '1', ENCRYPT('firstpassword', CONCAT('$6$', SUBSTRING(SHA(RAND()), -16))), 'email1@example.com'),
('2', '1', ENCRYPT('secondpassword', CONCAT('$6$', SUBSTRING(SHA(RAND()), -16))), 'email2@example.com');
1 comment
  • I am not sure I fully understand your question. In the INSERT statement you include two users are created. The first one, email1@example.com is created with the password "firstpassword" and the user email2@example.com is created with the password "secondpassword".

    Since it was not mentioned in your question, I assume you are using your own domain in these configurations and not "example.com"

Be the first one to answer this question.