On Mon, 5 Mar 2001 [EMAIL PROTECTED] wrote:

> like for example deny incoming mail with a particular subject line,
> from sender, etc?
> 
> i have done this but only with the use of the REJECT option in access and 
>relay-domains under /etc/mail.
> 
> Example the SUBJECT LINE.
> 

i use this to block the ILOVEYOU mail virus

# Blocking love letter mail worm
HSubject:       $>Check_love
D{MPat_love}ILOVEYOU
D{MMsg_love}This message may contain the LoveLetter virus.
SCheck_love
R${MPat_love} $*                $#error $: 550 ${MMsg_love}
RRe: ${MPat_love} $*            $#error $: 550 ${MMsg_love}


as for the one with snow white ...

# Blocking HAHAHA/Snow white virus
HSubject:       $>Check_hahaha
D{MPat_hahaha}Snowhite and the Seven Dwarfs - The REAL story
D{MMsg_hahaha}This message may contain the HAHAHA/Snow white virus virus.
SCheck_hahaha
R${MPat_hahaha} $*              $#error $: 550 ${MMsg_hahaha}
RRe: ${MPat_hahaha} $*  $#error $: 550 ${MMsg_hahaha}

these were placed above rewriting rules section in sendmail.cf

works somehow...

hth

-mark

*************************************************************************
  Mark Anthony J. Mercado                               [EMAIL PROTECTED]

  Laguna Internet, Incorporated
  Rm 404 Vega Centre, Lopez Avenue, Los Banos, Laguna, Philippines 4030
  Ph. 63 49 536.0085                                Fax. 63 49 536.0067
*************************************************************************


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to