<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Jason Gottschalk wrote:
<blockquote cite="mid:621104333.20070531145311@SYO.Com" type="cite">
<pre wrap="">Hello Julian,
Maybe that is the problem, I do not know what you mean by that.
</pre>
</blockquote>
Every ruleset has to be attached to a configuration option for it to do
anything. There must somewhere be a line in your MailScanner.conf saying<br>
<br>
Config Option Name Here = %rules-dir%/archive.rules<br>
<br>
And remember that the only place you can use the "delete" keyword is in
these config options:<br>
spam actions<br>
non-spam actions<br>
high scoring spam actions<br>
<br>
<blockquote cite="mid:621104333.20070531145311@SYO.Com" type="cite">
<pre wrap="">
I just added the line below to the archive.rules
FromOrTo: <a class="moz-txt-link-abbreviated" href="mailto:me@mydomain.com">me@mydomain.com</a> delete /sites/mysite/mail/archive/mbox
The mbox writing is working, but the message is still being delivered.
Thursday, May 31, 2007, 2:28:49 PM, you wrote:
Julian> What configuration option are you attaching this ruleset to?
Julian> Jason Gottschalk wrote:
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Hello MailScanner,
I am trying to store (archive) and delete a message.
I am using this rule in the archive.rules ruleset
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
Julian> Jules
Julian> --
Julian> Julian Field MEng CITP
Julian> <a class="moz-txt-link-abbreviated" href="http://www.MailScanner.info">www.MailScanner.info</a>
Julian> Buy the MailScanner book at <a class="moz-txt-link-abbreviated" href="http://www.MailScanner.info/store">www.MailScanner.info/store</a>
Julian> MailScanner customisation, or any advanced system administration help?
Julian> Contact me at <a class="moz-txt-link-abbreviated" href="mailto:Jules@Jules.FM">Jules@Jules.FM</a>
Julian> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Julian> For all your IT requirements visit <a class="moz-txt-link-abbreviated" href="http://www.transtec.co.uk">www.transtec.co.uk</a>
Julian> --
Julian> This message has been scanned for viruses and
Julian> dangerous content by MailScanner, and is
Julian> believed to be clean.
Julian> For all your IT requirements visit <a class="moz-txt-link-abbreviated" href="http://www.transtec.co.uk">www.transtec.co.uk</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CITP
<a class="moz-txt-link-abbreviated" href="http://www.MailScanner.info">www.MailScanner.info</a>
Buy the MailScanner book at <a class="moz-txt-link-abbreviated" href="http://www.MailScanner.info/store">www.MailScanner.info/store</a>
MailScanner customisation, or any advanced system administration help?
Contact me at <a class="moz-txt-link-abbreviated" href="mailto:Jules@Jules.FM">Jules@Jules.FM</a>
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit <a class="moz-txt-link-abbreviated" href="http://www.transtec.co.uk">www.transtec.co.uk</a>
</pre>
</body>
<br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
<br />For all you IT requirements visit <a href="http://www.transtec.co.uk/">transtec Computers</a>.
</html>