On Thu, Dec 18, 2008 at 12:32 PM, Darren Pilgrim <post...@bitfreak.org> wrote: > vivek.agrawal wrote: >> >> relayhost=smtp.gmail.com > > If you want to use GMail as a smarthost relay, you need to enable SASL > authentication and TLS on Postfix's smtp transport and provide a username > and password for GMail's server. There's a section[1] in the SASL_README on > this. To enable TLS, you'll need to set: > > smtp_tls_security_level = may > > You'll also want to alter relayhost to use gmail's secure submission > service: > > relayhost = [smtp.gmail.com]:587 >
Vivek, Also keep in mind that all email send via the relay will have the from address rewritten to the account holder of the actual gmail account. Can you explain more the problem you are trying to solve? -Bryan