Today my goal was to be able to send mails from PHP from my web-server using Gmail smtp.
- My server runs on Apache with vhosts: I need a separate mailbox for every domain.
- I don’ want to manage a MTA because it’s resource and time expensive, so I want to send mails trough a Gmail account.
- I want the system to be fast and easy to maintain.
The standard packages such as postfix, sendmail, qmail etc doesn’t meet the last two requirements, so I had to choose an alternative to postfix: MSMTP