[Mimedefang] OT: blocking certain combo
Nels Lindquist
nlindq at maei.ca
Tue May 20 13:54:01 EDT 2003
On 20 May 2003 at 10:10, Adam Beatham wrote:
> I know this is totally off-topic, but you all are so helpful that I figure
> you might have an easy solution.
>
> Is there an easy way to block a certain combination of To/CC
>
> i.e.
>
> To: someone at where.com
> Cc: adam at backboard.org
>
> I don't want to block both addresses, I just want to block the combination
> of the two. Anyone know how to do that?
Joseph Brennan posted a message at the beginning of May which should
point you in the right direction:
http://lists.roaringpenguin.com/pipermail/mimedefang/2003-May/005391.html
Once you've got the headers into appropriate variables, you can start
making comparisons like:
if (($to =~ /someone\@where\.com/) && ($cc =~
/adam\@backboard\.org/)) {
[ do stuff here ]
}
----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.
More information about the MIMEDefang
mailing list