Here I am using Google ( smtp.gmail.com )

relayhost = smtp.gmail.com


smtp_tls_security_level = may
smtp_tls_key_file  = /etc/postfix/sasl/postfix.pem
smtp_tls_cert_file = /etc/postfix/sasl/postfix.pem

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous

In sasl_passwd I set this:

smtp.gmail.com myuser:mypassword

Do not forget to make postmap in sasl_passwd, in order to generate the
sasl_passwd.db, since postfix do no read sasl_passwd itself, as you may
know...






Obrigado

Cordialmente


Gilberto Ferreira

Consultor TI Linux | IaaS Proxmox, CloudStack, KVM | Zentyal Server |
Zimbra Mail Server

(47) 3025-5907
(47) 99676-7530

Skype: gilberto.nunes36


konnectati.com.br <http://www.konnectati.com.br/>


https://www.youtube.com/watch?v=dsiTPeNWcSE


2017-07-12 11:18 GMT-03:00 Stephan Brauss <sbra...@bluewin.ch>:

> Hi!
>
> > Can you send us what conf do you use? Part of your main.cf
> These are the parameters I played with:
> relayhost = [smtp.hispeed.ch]:587
> #relayhost = [smtp.hispeed.ch]:25
> smtp_sasl_auth_enable = no
> smtp_use_tls = no
> #smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> #smtp_tls_CAfile = /etc/mail/certs/cacert.pem
> smtp_sasl_tls_security_options = noanonymous
>
> The only place I found where I can place user/password is in the file
> refered to by smtp_sasl_password_maps. But this is SASL related, or am I
> wrong?
>
> > …why?  This seems like an incredibly bad idea.
> sure... where from have you your certificate?
>
> Thanks!
> Stephan
>
>

Reply via email to