I didn&#39;t check it but as far as i know, the filters are only used for filtering the E-mail addresses. For instance, you can use filter /info@username\..+\.tld/i to match all mail to info on a subdomein per user for all domeins. (don&#39;t have a clue who could use something like this but you get the point) (I didn&#39;t theck the format it could be eregi is used so you don&#39;t need the / /i parts.)<br>

<br><div class="gmail_quote">On 6 March 2012 11:47, glenn b <span dir="ltr">&lt;<a href="mailto:rietendakje@live.nl">rietendakje@live.nl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">


<p>Hi all,</p>

<p> </p>

<p><span lang="EN-US">I’ve want
some more information about user_administration in mailscanner/mailwatch.</span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">At this
moment I’ve been looking to the documentation on the website and found out that
you can add several different user types.</span></p>

<p>Documentation: <a href="http://mailwatch.sourceforge.net/doku.php?id=mailwatch:documentation:user_administration" target="_blank">http://mailwatch.sourceforge.net/doku.php?id=mailwatch:documentation:user_administration</a></p>



<p> </p>

<p><span lang="EN-US">I’m interested
in the ‘R’ typ : Regexpr.</span></p>

<p><span lang="EN-US"> </span></p>

<div style="border:dashed #8cacbb 1.0pt;padding:6.0pt 6.0pt 6.0pt 6.0pt;background:white">

<p style="text-align:justify;background:white;border:none;padding:0cm"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#b1b100" lang="EN-US">INSERT</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#b1b100" lang="EN-US">INTO</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US"> users </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#b1b100" lang="EN-US">VALUES</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red" lang="EN-US">&#39;&lt;username&gt;&#39;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">,</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US">md5</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red" lang="EN-US">&#39;&lt;password&gt;&#39;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">),</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red" lang="EN-US">&#39;&lt;fullname&gt;&#39;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">,</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red" lang="EN-US">&#39;R&#39;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">)</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US">;</span></p>



<p style="text-align:justify;background:white;border:none;padding:0cm"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#b1b100" lang="EN-US">INSERT</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#b1b100" lang="EN-US">INTO</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US"> user_filters </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#b1b100" lang="EN-US">VALUES</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US"> </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red" lang="EN-US">&#39;&lt;username&gt;&#39;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">,</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red" lang="EN-US">&#39;&lt;regexp&gt;&#39;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">,</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US">md5</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">(</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US">rand</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">()),</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:red" lang="EN-US">&#39;Y&#39;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#66cc66" lang="EN-US">);</span><span style="font-size:10pt;font-family:&#39;Courier New&#39;" lang="EN-US"></span></p>



</div>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">I’ve been
looking for some examples, but I couldn’t found one on the web. The things I want
to know, is what you can put in the &lt;regexp&gt; field.</span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">As I’m
correct you can setup a user with a certain view with this method, is it
possible to set some user op that can view everything except certain mails with
a certain object?</span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">For
example:</span></p>

<p><span lang="EN-US"> </span></p>

<p><span style="font-family:Symbol" lang="EN-US">·<span style="font-family:&#39;Times New Roman&#39;;font-size:7pt">        
</span></span><span lang="EN-US">User
R cannot see mails from mails incomming with subject “Private”.</span></p>

<p><span style="font-family:Symbol" lang="EN-US">·<span style="font-family:&#39;Times New Roman&#39;;font-size:7pt">        
</span></span><span lang="EN-US">User
R2 cannot read the body from sensitive/confidential mails. ( this info is
located in the message header)</span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">At this
moment I’m interesting to setting up a user for the second example, but I’m not
sure if this is possible and if a regular expression can help me with this. </span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">Any advice
or examples are welcome.</span></p><p><span lang="EN-US"><br></span></p><p><span lang="EN-US">Kind Regards,</span></p><p><span lang="EN-US">Glenn</span></p>                                               </div></div>
<br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></blockquote></div><br>