FREQ: Rule _Program_

John Rudd jrudd at UCSC.EDU
Sat Mar 1 21:18:28 GMT 2003


Would it be possible to, instead of having huge static rule files that
cover, say, 20,000 different recipient accounts, have a program which
will dynamically generate the same response?  Basically, the option
would be that you'd tell mailscanner.conf that instead of looking in
a rule file for the answer, you should run a certain program and it
will generate the answer on the fly.


I'm not sure about the exact right implementation details (put a pipe
symbol at the end of the file name, to indicate that this is a program
instead of a file?  or have it be something expressed in the rule file?
etc.), but I think it might help with managing large sites where you
want each user to have the ability to set their own options.  Otherwise,
I can see mailscanner becoming bloated with multiple 20,000 line rule
files.


The program would probably want to know various things, so maybe it
would want to be told who the recipients are, who the sender is,
and maybe a few other details.  Not sure about that side of things.



More information about the MailScanner mailing list