[Postfix espanol] rechazar spam y remitentes indeseables

Simon J Mudd sjmudd en pobox.com
Dom Abr 21 19:33:48 CEST 2002


aalberto en euskalnet.net ("Alberto") writes:

> Gracias Simon,
> pero tal cual pones y tras hacerle un "postmap remitentes_invalidos" ...
> 
> Apr 21 19:03:31 kbl postfix/smtpd[21279]: fatal: parameter
> "smtpd_recipient_restrictions": specify at least one working instance of:
> check_relay_domains, reject_unauth_destination or reject
> 
> asi que dejo la linea asi:
> 
> smtpd_recipient_restrictions = check_sender_access
> hash:/etc/postfix/remitentes_invalidos reject

Tu regla realmente no permite nada.

Necesitas algo un poco más "liberal".

smtpd_recipient_restrictions =
        permit_mynetworks
        reject_unauth_destination
        check_sender_access hash:/etc/postfix/remitentes_invalidos
        reject_unauth_pipelining
        reject_invalid_hostname
        reject_non_fqdn_hostname
        reject_unknown_sender_domain
        reject_unknown_recipient_domain
        reject_non_fqdn_sender
        reject_non_fqdn_recipient
        reject_maps_rbl
        check_relay_domains

Lo importante es tener permit_mynetworks y check_relay_domains

Quizá no te hace falta todo esto, pero te dará una pista.

Simon
--
Simon J Mudd,   Tel: +34-91-408 4878,  Mobile: +34-605-085 219
Madrid, Spain.  email: sjmudd en pobox.com,  Postfix RPM Packager
-
Para quitarte de la lista enviar la linea "unsubscribe postfix-espanol" en
el cuerpo de un mensaje a majordomo en WL0.org



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