Antes de hacer esto, asegúrate que tienes instalado libsasl2-2 o el
equivalente, que los DNS del postfix hijo estén bien puestos, que sea
capaz de resolver el nombre del smarthost al que hace relay, y que
coincida con el que estás poniendo dentro del fichero sasl_passwd.

Si se pone difícil, sube el debug_level a 4 para la interfaz de red que
atiende al cliente. Los logs son bastante explícitos.

Autenticacion de Postfix como cliente SMTP

Use the following steps to configure Postfix to provide a login and
password when relaying mail. In this example, you'll set up two
different passwords for Postfix to authenticate when relaying through
any server for the domain ora.com and through a host called
mail.postfix.org:

1. Create a file called /etc/postfix/sasl_passwd with entries for each
host, login, and password combination you need. Your file should
resemble the following:

ora.com                     kdent:Rumpelstiltskin
mail.postfix.org        kyle:quixote

2. Execute postmap on the file:

# postmap /etc/postfix/sasl_passwd

3. Edit main.cf to turn on client authentication. Notice that you are
now setting smtp_sasl_auth_enable instead of smtpd_sasl_auth_enable as
you did to turn on authentication at the server. You must also set
smtp_sasl_password_maps to point to the password file you created:

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

4. Reload Postfix so that it recognizes the changes in its main.cf
configuration file:

# postfix reload

Now, when the Postfix SMTP client attempts to relay messages through any
of the domains or hosts listed in /etc/postfix/sasl_passwd, it will
offer the corresponding authentication credentials. For example, if your
Postfix smtp client connects to the server mail.ora.com, it
authenticates with the username kdent and the password Rumpelstiltskin.


Gracias a todos!
ya está solucionado ...
en la misma doc del postfix viene bien documentado como hacer esta implementacion ...
Salu2

--
=======================================
  Jenny Cabrera Varona
  Administrador de Red
  [Nodo Geominera Camagüey]
  OS: [GNU/Linux]&[BSD/UNIX]
  Teléfono: (53) (32) 27-21-08
  JID: jcvgnu...@jb.gmcmg.gms.minbas.cu
  E-Mail: jcvgnu...@gmcmg.gms.minbas.cu
========================================
              ,        ,
             /(        )`
             \ \___   / |
             /- _  `-/  '
            (/\/ \ \   /\
            / /   | `    \
            O O   ) /    |
            `-^--'`<      '
           (_.)  _  )   /
            `.___/`    /
              `-----' /
 <----.     __ / __   \
 <----|====O)))==) \) /====
 <----'    `--' `.__,' \
              |        |
               \       /       /\
          ______( (_  / \______/
        ,'  ,-----'   |
        `--{__________)

      ______
     |  ____| __ ___  ___
     | |__ | '__/ _ \/ _ \
     |  __|| | |  __/  __/
     | |   | | |    |    |
     |_|   |_|  \___|\___|
     ____   _____ _____
     |  _ \ / ____|  __ \
     | |_) | (___ | |  | |
     |  _<  \___ \| |  | |
     | |_) |____) | |__| |
     |     |      |      |
     |____/|_____/|_____/



--
Este mensaje ha sido analizado por MailScanner del Nodo Geominera Camaguey
en busca de virus y otros contenidos peligrosos y se considera que está limpio.


______________________________________________________________________
Lista de correos del Grupo de Usuarios de Tecnologías Libres de Cuba.
Gutl-l@jovenclub.cu
https://listas.jovenclub.cu/cgi-bin/mailman/listinfo/gutl-l

Responder a