Davy Leon:
> Hi guys
> 
> I have a little problem here.
> I'm trying to deliver mail with my postfix using gmail as an smarthost.
> I get this error
> 
> 
> host smtp.gmail.com[74.125.91.109] said: 530 5.7.0 Must
>     issue a STARTTLS command first. 22sm628904qyk.10 (in reply to MAIL FROM
>     command)

You are trying to SEND mail.

> I'm wondering if the answer to this is just inlcude
> 
> smtpd_use_tls = yes
> and somethig like
> smtpd_tls_session_cache_timeout = 120s

These are for RECEIVING mail.

To SEND mail with TLS, see http://www.postfix.org/TLS_README.html.
It's getter than guessing, or reading outdated HOWTOs.

        Wietse

Reply via email to