Thanks very much falko for the great howto. Everything works perfectly well for me; I can send and receive emails successfully however just one minor problem with my setup is that all emails sent from the virtual user accounts which I created end up being regarded as spams by gmail and ymail. Can anyone please tell me how to get around this problem? Is it related with dns? Thanks in advance
Make sure that you have a correct reverse DNS and SPF entry, and that you're not sending from a blacklisted IP: http://mxtoolbox.com/blacklists.aspx
Also a very good practice is to have domainkeys installed. It's in regards to Yahoo/Gmail/Hotmail identifying email sent out from the server as spam.
I think my problem is related with reverse dns as falko stated so I am working with the hosting service to try solve the problem. Anyway, can anyone please tell me what is simply meant by "Also a very good practice is to have domainkeys installed" and how to get it done. I am quiet a newbie when it comes to dns.
in basic words, your mail server will generate some keys and using those will sign the outgoing mails. Then the receiving side will compare those things with your DNS entries. Here's some links http://www.howtoforge.com/how-to-implement-domainkeys-in-postfix-using-dk-milter-centos5.1 http://antispam.yahoo.com/domainkeys http://dkim.org/ http://domainkeys.sourceforge.net/