Hello Maykel,
Monday, December 15, 2008, 2:20:53 PM, you wrote:
> El lun, 15-12-2008 a las 10:07 -0500, Sonny escribió:
>> antes del DATA puedo hacer anti-UCEs en Postfix tanto en el HELO/EHLO
>> en FROM y en el TO.... pero no entiendo de que forma puedes hacer un
>> chequeo antivirus si no tienes el correo (si no has hecho el DATA)?
> Me refería precisamente a hacerlo después de tener el mensaje, es decir:
C>> DATA
> <-- chequeo anti UBE que condiciona la respuesta al DATA
S>> 200 OK
ah ya entendí la idea..
entonces mando un ejemplo, de los chequeos que hago incluso antes
del DATA, como decía lesman son muy simples pero eliminan gran
cantidad de spam.
# Anti UCEs rules
#
# It allows Postfix to log recipient address information when rejecting
# a client name/address or sender address, so that it is possible to find
# out whose mail is being rejected.
#
smtpd_delay_reject = yes
# smtpd helo restrictions
#
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
check_helo_access hash:/etc/postfix/access_helo,
reject_non_fqdn_hostname,
reject_invalid_hostname,
permit
# smtpd sender restrictions
#
smtpd_sender_restrictions =
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit
# smtpd recipient restrictions
#
smtpd_recipient_restrictions =
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_mynetworks,
reject_unauth_destination,
check_sender_access hash:/etc/postfix/sender/access_sender,
#listas negras
reject_rbl_client zen.spamhaus.org,
reject_rbl_client cbl.abuseat.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client dnsbl.sorbs.net,
#solo recibir para buzones existentes
check_recipient_access
pcre:/etc/postfix/recipient/access_recipient.pcre,
check_recipient_access hash:/etc/postfix/recipient/access_recipient,
#greylisting
check_policy_service inet:127.0.0.1:10030,
permit
# smtpd data restrictions
#
smtpd_data_restrictions =
reject_unauth_pipelining,
permit
disable_vrfy_command = yes
# mime headers checks
# denegar ciertas extensiones
mime_header_checks = regexp:/etc/postfix/mime_header_checks.regexp
--
Best regards,
Sonny mailto:[email protected]
_______________________________________________
Cancelar suscripción
https://listas.softwarelibre.cu/mailman/listinfo/linux-l
Buscar en el archivo
http://listas.softwarelibre.cu/buscar/linux-l