Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2000 14:10:52 -0500 (CDT)
From:      Jeremy Shaffner <jer@jorsm.com>
To:        freebsd-isp@FreeBSD.ORG
Subject:   Re: VIRUS WARNING
Message-ID:  <Pine.BSF.4.21.0005041403440.86077-100000@mercury.jorsm.com>
In-Reply-To: <Pine.WNT.4.21.0005042037050.-495201@bigben.wirehub.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 May 2000, Ben C. O. Grimm wrote:

> >> For anyone using Postfix:
> >> in /etc/postfix/main.cf
> >> header_checks = regexp:/etc/postfix/love_access
> >> in /etc/postfix/love_access:
> >> /^Subject:.*ILOVEYOU/   REJECT
> 
> >This regexp needs to be fixed.  An attempt to subscribe to the list
> >resulted in a bounced confirmation:
> >May 4 13:18:11 mercury postfix/cleanup[52605]: warning: 35482E4A4A:
> >reject: header Subject: confirm subscribe to
> >antiloveyou@virusalerts.ivision.co.uk
> 
> The docs say:
> 
> #       By default, matching is case-INsensative, although following
> #       the second slash with an 'i' will reverse this. 
> 
> So 
> 
> 	/^Subject:.*ILOVEYOU/i   REJECT
> 

If anyone's not already filtering on Content-Type instead of Subject, and
you don't want to reject warnings, etc:

/^Subject:.*ILOVEYOU$/i   REJECT

-Jeremy

---
Jeremy Shaffner
System Administrator
JORSM Internet
jer@jorsm.com
http://www.jorsm.com/~jer/pgp.key



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005041403440.86077-100000>