[postfix-es] smtpd_recipient_restrictions

Simon Mudd sjmudd en pobox.com
Mie Nov 3 19:00:37 CET 2004


arnau.bria en analisisysimulacion.com (Arnau Bria Ramirez) writes:

> Buenos, tras muchas vueltas he visto que tenía dos secciones
> smtpd_recipient_restrictions (no se si se pueden tener dos).

No. Se usará la última sección definida. Puedes comprobarlo con

postconf smtpd_recipient_restrictions

> Juntándolas y dejando una sola tal que así:
> smtpd_recipient_restrictions =
>         permit_sasl_authenticated,
>         reject_invalid_hostname,
>         reject_non_fqdn_hostname,
>         reject_non_fqdn_sender,
>         reject_non_fqdn_recipient,
>         reject_unknown_sender_domain,
>         reject_unknown_recipient_domain,
>         permit_mynetworks,
>         reject_unauth_destination,
>         check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,
>         check_helo_access hash:/etc/postfix/helo_checks,
>         # check_helo_access pcre:/etc/postfix/helo_checks.pcre,
>         check_sender_access hash:/etc/postfix/sender_checks,
>         check_client_access hash:/etc/postfix/client_checks,
>         check_client_access pcre:/etc/postfix/client_checks.pcre,
>         reject_rbl_client relays.ordb.org,
>         # reject_rbl_client opm.blitzed.org,
>         # reject_rbl_client list.dsbl.org,
>         # reject_rbl_client sbl.spamhaus.org,
>         # reject_rbl_client cbl.abuseat.org,
>         # reject_rbl_client dul.dnsbl.sorbs.net,
>         permit

No es necesario tener una coma para separar los elementos.
Ya que tienes cade elemento en una línea te haría la sugerencia de
quitar las comas.

Simon
-
Para ENVIAR mensajes a esta lista tienes que estar SUSCRITO a ella.
.
Envía la linea "unsubscribe postfix-es" en el cuerpo de un mensaje
a majordomo en WL0.org para quitarte de la lista.



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