On 2/17/06, <b class="gmail_sendername">Shortt, Kevin</b> <<a href="mailto:KShortt@ussco.com">KShortt@ussco.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>There were no takers on this one. I'll restate to see if I can get some<br>ideas...<br><br>Is there a way to set the archive destination in a rules file with<br>environment variables?<br>Or call a function inside a rules file to set the variables?
<br>I want these variables to change every hour so that I can have the filenames<br>be CCYY-MM-DD-HH.<br><br>Any help is greatly appreciated.<br></blockquote></div><br>Have you tried? I know you can use environment variables in
MailScanner.conf but I'm not sure when it comes to rulesets. Anyway I think MailScanner reads the config and rulesets only every 4 hours (default time for children restart) so it wouldn't change every hour like you want it to.
<br><br>I would have done it outside MS with a cron job.<br clear="all"><br>-- <br>/peter