SV: SV: SV: Regarding rules for more then one person
Anders Andersson, IT
andersan at LTKALMAR.SE
Thu Jul 31 13:37:41 IST 2003
One more stupid question..... will this patch work on all rules?
Forgot to say "thanks for all the help"
> -----Ursprungligt meddelande-----
> Från: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> Skickat: den 30 juli 2003 19:50
> Till: MAILSCANNER at JISCMAIL.AC.UK
> Ämne: Re: SV: SV: Regarding rules for more then one person
>
>
> 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
>
> Note that the file format is like this:
> 1) One pattern or address per line. The allowable patterns
> are the same as
> the normal patterns in any normal ruleset file.
> 2) Comments start with # and continue until the end of the line.
> 3) Blank lines are ignored.
> 4) Leading and trailing white space is ignored.
> 5) Further filenames can be included, allowing you to nest
> these files if
> you really need to.
> 6) If you make a loop by having a file include itself, then
> you're silly
> and shouldn't do it.
>
> At 17:49 30/07/2003, you wrote:
> > > -----Ursprungligt meddelande-----
> > > Från: Raymond Dijkxhoorn [mailto:raymond at PROLOCATION.NET]
> > > Skickat: den 30 juli 2003 18:46
> > > Till: MAILSCANNER at JISCMAIL.AC.UK
> > > Ämne: Re: SV: Regarding rules for more then one person
> > >
> > >
> > > Hi!
> > >
> > > > > Whats the use, if you can generate a techies.txt you can also
> > > > > generate a script that spits out a rulefile to do this ? or ?
> > >
> > > > Guess so but since Im not that a great I thought that
> being able
> > > > to use a writing all my co-workers for each rule would be
> > > easier..... and
> > > > if I need I only need to change in one place. Maybe Im
> just lazy
> > > > or bad at scripting of problems for me. Since the only ppl
> > > that would be
> > > > added are tech-ppl at use a single file with user for more
> > > rules like
> > > > filname/filetype.
> > >
> > > Ask one of those <haha> :)
> >
> >Now your being evil ;)
> >Im trying to learn this but prolly never get the hang of it and Im
> >pretty sure Im not the only person in the world that sucks at
> >scripting. So if its not to difficult I want it on the wish list :)
>
More information about the MailScanner
mailing list