A couple of weeks ago, I configured my webserver to be able to send emails (e.g. registration emails for my website etc.) I used exim4 in Debian, which worked flawlessly. Now, the need has arisen to be able to receive emails, too (e.g. firstname.lastname@example.org).
So, I removed exim, and followed this guide (http://johnny.chadda.se/article/mail-server-howto-postfix-and-dovecot-with-mysql-and-tlsssl-postgrey-and-dspam/) to install Postfix, Dovcot and RoundCube to be able to view my mails properly. I think everything went fine, but I have absolutely no idea how to test my new configuration.
When I try to log in using Roundcube, it keeps saying that the login failed (it can connect to the IMAP server, though). Where do I create IMAP accounts? Is there a default one? Also, I used the mail command:
echo 'body' | mail -s 'subject' email@example.com
In exim4 to send an email using PHP, which does not work anymore either. Any suggestions? Or something to get my on track again?