Relaying SMTP via Gmail (or Google Apps) Using Postfix
Today I had the need to start relaying mail through my Google Apps account since Super-Evil-Bastard-ITSPRogers blocks sending email (it’s probably a good thing, however it’s quite annoying when running some services from home).
Found this article while Googling, and it worked great first try. I like when things are this easy.
http://www.zulius.com/how-to/set-up-postfix-with-a-remote-smtp-relay-host/
Using postfix for a basic relay to your gmail account just for getting mails off of asterisk is a bit of overkill. Consider nullmailer or ssmtp for a much smaller footprint to get mails off your asterisk system and into the web.
Robert Dailey
2011/12/12 at 11:52 am
Thanks for the comment! I was not aware of those projects, and simply found another website and tested (which did work fine). However the two projects you pointed out would likely have been a simpler approach. I will certainly give them a shot! Thanks again.
Leif Madsen
2011/12/13 at 9:05 am
If you have a full system and can suppor postfix, it’s a great solution. The ol’ removing of sendmail, replacing with postfix is one of the first things I do. On an embedded system, the others may be a great choice, but the footprint/usage of postfix is so minimal it’s well worth it for the options you keep.
Fred Posner
2011/12/21 at 8:50 am