####################################################### 
#
# Fichero header_checks
#
# http://laurel.datsi.fi.upm.es/postfix/ 
#
# Autores:
# n Fernando Limon - flimon@fi.upm.es 
# n Ramon Pons Vivanco - rpons@laurel.datsi.fi.upm.es 
#
# (Friday 06th of December 2002 05:52:54 AM) - Version 1.03
# 
###################################################### 

# /etc/postfix/header_checks [10/JUL/02] 
# 
# Format is /regexp/flags or /regexp/flags!/regexp/flags 
# where regexp is a regular expression as found in regexp(5), and flags are 
#   i: toggle ignore case (REG_ICASE - default is to ignore case) 
#   x: toggle extended expression (REG_EXTENDED - default is extended) 
#   m: toggle multiline mode (REG_NEWLINE - default is non-multiline mode) 
# 
# In order for a line to match, the first regexp must match, and the 
# second (if present) must not match.  The first matching line wins, 
# terminating processing of the ruleset. 
 
# Ejemplo de filtrado saliente a un dominio 
# /^To: .*@subdom\.dom$/				REJECT 
 
# Filtrado de correo con ataque a Outlook 
#/^Date:.{60,}$/					REJECT 
 
# Filtrado de correo con caracteres no imprimibles en las cabeceras [15/ABR/02] 
# Necesario Postfix >= 1.1.0 
/[^[:print:]]{8}/					REJECT 
 
# Filtrado de correo con posibles virus 
# 
# Virus: I LOVE YOU y variantes ... 
/^Subject:.*ILOVEYOU/					REJECT 
/^Subject:.*Susitikim shi vakara kavos puodukui.../	REJECT 
/^Subject:.*fwd: Joke/					REJECT 
# 
# Virus: Variante de I LOVE YOU 
/^Subject:.*US PRESIDENT AND FBI SECRETS/               REJECT 
# 
# Virus: VBS/Stages [20/JUN/00] 
/^Subject:.*Fw: Life Stages/				REJECT 
/^Subject:.*Fw: Funny/					REJECT 
/^Subject:.*Fw: Jokes/					REJECT 
/^Subject:.*Fw: Life Stages text/			REJECT 
/^Subject:.*Fw: Funny text/				REJECT 
/^Subject:.*Fw: Jokes text/				REJECT 
/^Subject:.*Life Stages/				REJECT 
/^Subject:.*Funny/					REJECT 
/^Subject:.*Jokes/					REJECT 
/^Subject:.*Life Stages text/				REJECT 
/^Subject:.*Funny text/					REJECT 
/^Subject:.*Jokes text/					REJECT 
# 
# Virus: PrettyPark 
/^Subject:.*PrettyPark/					REJECT 
# 
# Virus: PIF.Fable.Worm 
/^Subject:.*Fable/					REJECT 
/^Subject:.*Something You Should Read/			REJECT 
/^Subject:.*Very Important That You Receive This/	REJECT 
# 
# Virus: I-Worm.Music 
/^Subject:.*Testing to send file/			REJECT 
# 
# Virus: I-Worm.Santa 
/^Subject:.*News vom Weihnachtsmann/			REJECT 
# 
# Virus: I-Worm.Creative 
/^Subject:.*A great Shockwave flash movie/		REJECT 
# 
# Virus: W32.SirCam [20/SEP/01] 
/^date:.*/i                                             REJECT 
/^Content-Disposition: Multipart message/		REJECT 
# 
# Virus Nimda (attach readme.exe) [20/SEP/01] 
/^X-Unsent: 1/						REJECT 
# 
# Virus Badtrans [30/NOV/01] 
/^From: ".*" <_/					REJECT 
# 
# Virus W32.Myparty.B@mm [29/ENE/02] 
/^Subject: new photos from my party!/			REJECT 
# 
 
