Paco Brufal wrote:
> On feb/15/2001, Primitivo Liberto wrote:
>
> > > /^From: Hahaha <[EMAIL PROTECTED]>$/ REJECT
> > > /^Subject: Enanito si, pero con que pedazo!$/ REJECT
> > �y c�mo se puede hacer algo as� en sendmail?
>
> Si que se puede, yo lo tenia antes para el ILOVEYOU, pero me pas� a
> postfix y perd� el sendmail.cf
--------/etc/mail/sendmail.mc---------
LOCAL_RULESETS
# This tells sendmail where to put the rules
HSubject: $>Check_Subject
D{MPat5}Enanito si, pero con que pedazo
D{MMsg5}This message may contain the Enanito virus.
R${MPat5} $* $#error $: 550 ${MMsg5}
RRe: ${MPat5} $* $#error $: 550 ${MMsg5}
--------------------------------
entre $* y $# debe existir un _tabulador_
as� puedes crearte MPat's para i lve u i todos esos......con sus MMsg's de
respuesta..
....tambien pudes chequear otras cabeceras a parte de HSubject......y el R y Re
comprueva tanto que sean envios como reenv�os
salut&for�a
jaume teixi