<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=578493118-21052004><FONT face=Arial size=2>I have a need to
turn off the html script check in MailScanner, but only if it's to a particular
user, and only if it's from a particular sender. Temporarily I have just
disabled the html script check for anything that is send by this particular
sender, but I would like to be able to make it a little more user-specific, so
that I'm not turning this off for every user that we relay mail for.
</FONT></SPAN></DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial size=2>What is the best way
to do this? I have used rulesets in the past, but there doesn't seem to be
any way to do an "and" in them... I've also notice other people asking
about nested rulesets, which would also be another solution, but from what I
gather it's not implemented in MailScanner currently. I found some info on
creating custom functions, but I'm not entirely sure how I would go about doing
that. I'm very comfortable hacking in perl, but I don't know how I would
have to interface my function w/MailScanner... </FONT></SPAN></DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial size=2>If I were to write a
custom function and call it using "Allow Script Tags = &ScriptTagCheck", how
do I:</FONT></SPAN></DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial size=2>
Hook into MailScanner to get the from and to addresses</FONT></SPAN></DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial size=2>
Report the correct value back to mailscanner from the function (would this just
be a "Yes" or "No" string, or something else?)</FONT></SPAN></DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial size=2>Any suggestions or
insights appreciated!</FONT></SPAN></DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial
size=2>thx!</FONT></SPAN></DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=578493118-21052004><FONT face=Arial
size=2>k</FONT></SPAN></DIV></BODY></HTML>
-------------------------- MailScanner list ----------------------<br>
To leave, send leave mailscanner to <a href="mailto:jiscmail@jiscmail.ac.uk">jiscmail@jiscmail.ac.uk</a><br>
Before posting, please see the Most Asked Questions at<br>
<a href="http://www.mailscanner.biz/maq/">http://www.mailscanner.biz/maq/</a> and the archives at<br>
<a href="http://www.jiscmail.ac.uk/lists/mailscanner.html">http://www.jiscmail.ac.uk/lists/mailscanner.html</a><br>