I am running a webserver with a VPS host. Now I plan to send out some automatic emails to various users from this webserver and users will be sending back emails to my website. So I installed postfix SMTP application for sending out emails, and I am planning to use gmail to receive the emails. For now there will be only two email accounts for this website, say [email protected] and [email protected]. Is this arrangement OK. What do I need to tell my webhosting company to change, to accommodate this arrangement. MX record only? Please let me know.
Yes, the MX record must point to your server. Then you must set up mailboxes on that server. You can do that manually: http://www.howtoforge.com/forums/showthread.php?t=2 To forward the mails to your Gmail account, you can use /etc/aliases. After you've modified /etc/aliases, run Code: newaliases and restart Postfix.