SV: SV: Regarding rules for more then one person

Julian Field mailscanner at ecs.soton.ac.uk
Thu Jul 31 07:46:58 IST 2003


At 07:48 31/07/2003, you wrote:
>On Wed, 30 Jul 2003 18:50:12 +0100, you wrote:
>
> >Attached is a diff to Config.pm that implements this.
> >You can now have rules that look like this:
> >
> >To:     /etc/MailScanner/rules/techies.txt      yes
> >
> >Note that it has to be a full path which starts with "/" and ends in
> >something other than "/". The rule will be replicated for all the patterns
> >in the techies.txt file, so you could put this in techies.txt
> >
> ># This is the list of all our tech support staff.
> >jkf at ecs.soton.ac.uk
> >*@techies.soton.ac.uk
> >jkf@*
> >/etc/MailScanner/rules/nested-filename.txt
> >
> >6) If you make a loop by having a file include itself, then you're silly
> >and shouldn't do it.
>
>Even if you include a filename in another file in the first file you're
>silly.
>
>But I wonder what will happen. MS just continues untill time or memory
>runs out?

Indeed, it will just recurse and not terminate. I could make it log the
current and new filenames whenever it hits an included file, which is
probably better...
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list