Ruleset that has From And To...
Mariano Absatz
mailscanner at LISTS.COM.AR
Fri May 21 19:57:57 IST 2004
Shouldn't a ruleset like this work?
From: sender at example.com and To: receiver at example.net yes
FromOrTo: default no
El 21 May 2004 a las 14:42, Kevin Hanser escribió:
> 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.
>
> 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...
>
> If I were to write a custom function and call it using "Allow Script
> Tags = &ScriptTagCheck", how do I:
> Hook into MailScanner to get the from and to addresses
> Report the correct value back to mailscanner from the function
> (would this just be a "Yes" or "No" string, or something else?)
>
>
> Any suggestions or insights appreciated!
>
> thx!
>
> k
> -------------------------- MailScanner list ----------------------
> To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
> <mailto:jiscmail at jiscmail.ac.uk>
> Before posting, please see the Most Asked Questions at
> http://www.mailscanner.biz/maq/ <http://www.mailscanner.biz/maq/> and
> the archives at
> http://www.jiscmail.ac.uk/lists/mailscanner.html
> <http://www.jiscmail.ac.uk/lists/mailscanner.html>
>
>
--
Mariano Absatz
El Baby
----------------------------------------------------------
Always remember you're unique, just like everyone else.
-------------------------- MailScanner list ----------------------
To leave, send leave mailscanner to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/ and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
More information about the MailScanner
mailing list