[Postfix-es] Client host rejected: Access denied al recibir correo

Antonio Galicia antonio.galicia en gmail.com
Sab Mayo 19 19:53:53 CEST 2007


On 5/19/07, Pedro León López <pedroleonlopez en gmail.com> wrote:

> Postfix envia correos perfectamente hacia otros usuarios y hacia correos
> externos. El problema viene cuando llegan correos desde el exterior, por
> ejemplo desde hotmail:

> postfix/smtpd[28186]: NOQUEUE: reject: RCPT from
> bay0-omc3-s27.bay0.hotmail.com[65.54.246.227]: 554 5.7.1
> <bay0-omc3-s27.bay0.hotmail.com[65.54.246.227 ]>: Client host rejected:
> Access denied; from=<@hotmail.com> to=<@midominio.es> proto=ESMTP helo=<
> bay0-omc3-s27.bay0.hotmail.com>

> He probado a cambiar de todo en smtpd_client_restrictions en main.cf pero
> nada, incluso en smtpd_sender_restrictions y smtpd_recipient_restrictions

 Dado que se rechaza al hacer el RCPT (por lo que dice en la bitácora)
quien lo está bloqueando es el smtpd_recipient_restrictions (RCPT =
recipient).

1 smtpd_recipient_restrictions =
2	reject_unauth_pipelining,
3	permit_mynetworks,
4	permit_sasl_authenticated,
5	permit_auth_destination,
6	reject_non_fqdn_recipient,
7	reject_unauth_destination,
8	check_policy_service inet: 127.0.0.1:60000,
9	permit

 Lo que dice en la línea 2 no lo había visto. ¿Qué hace? Según lo que
dice el manual de configuración[1] no deberías usarlo ahí:

reject_unauth_pipelining
	Reject the request when the client sends SMTP commands ahead of time
where it is
	not allowed, or when the client sends SMTP commands ahead of time without
	knowing that Postfix actually supports ESMTP command pipelining. This stops
	mail from bulk mail software that improperly uses ESMTP command pipelining in
	order to speed up deliveries.

	Note: reject_unauth_pipelining is not useful outside
smtpd_data_restrictions when
	1) the client uses ESMTP (EHLO instead of HELO) and
	2) with "smtpd_delay_reject = yes" (the default).
	The use of reject_unauth_pipelining in the other restriction contexts
is therefore
	not recommended.

Prueba quitándolo a ver qué hace.

-- 
 Saludos,
 Toño
----
 http://agc.com.mx/antoniogc/blog

[1] http://www.postfix.org/postconf.5.html


Más información sobre la lista de distribución Postfix-es