Mailwatch per_user filtering
Joolee
mailscanner at joolee.nl
Tue Mar 6 11:17:57 GMT 2012
I didn'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 at username\..+\.tld/i to match all mail to info on a subdomein per user
for all domeins. (don't have a clue who could use something like this but
you get the point) (I didn't theck the format it could be eregi is used so
you don't need the / /i parts.)
On 6 March 2012 11:47, glenn b <rietendakje at live.nl> wrote:
> Hi all,
>
>
>
> I’ve want some more information about user_administration in
> mailscanner/mailwatch.
>
>
>
> At this moment I’ve been looking to the documentation on the website and
> found out that you can add several different user types.
>
> Documentation:
> http://mailwatch.sourceforge.net/doku.php?id=mailwatch:documentation:user_administration
>
>
>
> I’m interested in the ‘R’ typ : Regexpr.
>
>
>
> INSERT INTO users VALUES ('<username>',md5('<password>'),'<fullname>','R')
> ;
>
> INSERT INTO user_filters VALUES ('<username>','<regexp>',md5(rand()),'Y');
>
>
>
> 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 <regexp> field.
>
>
>
> 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?
>
>
>
> For example:
>
>
>
> · User R cannot see mails from mails incomming with subject
> “Private”.
>
> · User R2 cannot read the body from sensitive/confidential mails.
> ( this info is located in the message header)
>
>
>
> 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.
>
>
>
> Any advice or examples are welcome.
>
>
> Kind Regards,
>
> Glenn
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20120306/a09e2b3e/attachment.html
More information about the MailScanner
mailing list