>H?ctor Moreno Blanco: >> We have our mail relays. In these relays we check the users aliases in >> our LDAP. >> >> Furthermore, we want other servers to relay on our sides >> authenticating with a fix user with sasl_password, but I can't make this >> work. >> >> smtpd_sender_login_maps = ldap:matchlogin >>smtpd_recipient_restrictions = reject_unauth_pipelining, >> reject_non_fqdn_sender, reject_non_fqdn_recipient, >> reject_unknown_sender_domain, reject_unknown_recipient_domain, >> permit_mynetworks, reject_sender_login_mismatch, >> permit_sasl_authenticated, reject_unauth_destination >... >> Dec 17 16:54:45 relay postfix/smtpd[19444]: NOQUEUE: reject: RCPT from >> unknown[192.168.13.50]: 553 5.7.1 <[email protected]>: Sender address >>> rejected: not logged in; from=<[email protected]> >> to=<[email protected]> proto=ESMTP helo=<estafeta2.relay.es> >> >> Which is normal, because it can't check the users identity. >> >> Is there anything I'm missing in order to communicate between our servers? > > Don't use reject_sender_login_mismatch for mail from a trusted relay host. > > smtpd_recipient_restrictions = reject_unauth_pipelining, > reject_non_fqdn_sender, reject_non_fqdn_recipient, > reject_unknown_sender_domain, reject_unknown_recipient_domain, > permit_mynetworks, reject_sender_login_mismatch, > permit_sasl_authenticated, reject_unauth_destination > > Add the trusted relay hosts (or better, their network range) to > main.cf:mynetworks. > > Wietse
Hello Wietse, Is it possible to do this connection between relays with certificates? Thank you very much in advanced. Kind regards. Héctor Moreno Blanco. P Please consider the environment before printing this e-mail. ______________________ This message including any attachments may contain confidential information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje erroneamente, se ruega lo notifique al remitente y proceda a su borrado. Gracias por su colaboracion. ______________________
