postfix conf for use external smtp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

some days ago i configured my sendmail server in my laptop with your help, but i have a problem.

when my laptop is not connected to internet sendmail did not accept emails.

i wonder how to configure postfix for the same thing.

i did the following

relayhost = my.stmp.com
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = $smtp_sasl_security_options
smtp_use_tls = yes


in
/etc/postfix/sasl_passwd
i have

my.smtp.com user:password

then i
postmap /etc/postfix/sasl_passwd

restart the postfix, but now i have this problem.

Jul 14 12:06:33 garron postfix/smtp[8510]: ECA31F3009D: to=<ggarron@xxxxxxxxxxx>, relay= my.smtp.com, delay=2, status=deferred (Authentication failed: cannot SASL authenticate to server scz.alketech.com[200.87.61.8 3]: no mechanism available)

i tried with

smtp_sasl_security_options = noanonymous
smtp_sasl_security_options = noplaintext, noanonymous
smtp_sasl_security_options =
but never works, with the second i got the error up. with the other it does not even try to login.

i also saw this.
when i issue this command as root


 postmap -q my.stmp.com hash:sasl_passwd
i go this error

Jul 14 13:12:13 garron postfix/postmap[9123]: fatal: open database sasl_passwd.db: Permission denied
i tried even with 777 permissions

any clues?

regards,
Guillermo.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux