On 7 Jan 2008 16:38, [EMAIL PROTECTED] wrote:
> > The webmail server that comes with courier, sqwebmail, will allow users
> > to create their own filtering rules.  See if that does what you want.
> 
> Thank you for your quick responce.  I have thought about that but I was 
> really hoping to use the ~/.mailfilter file for it.  However, that doesn't 
> seem to want to work.

The sqwebmail interface can create and manage that
~/.mailfilter file.

> Do I have to use the sqmail interface to create filters and have them work?

You can use any self-made method to manage ~/.mailfilter
files but keep in mind that if you ever also engage
sqwebmail then they need to be in a fairly strict format
for sqwebmail to also use.

> I don't really want to have a webmail inteface running as I don't even have 
> apache installed on the server.

You can use any shell based language to manipulate
~/.mailfilter files according to the maildrop rules here...

 http://www.courier-mta.org/maildrop/maildropfilter.html

One hint is that the global /etc/courier/maildroprc, if
it exists, is looked up first before the individual users
~/.mailfilter so if you want to do some unique per user
filtering before some generic rules in maildroprc then
something like this could be useful at the beginning of
/etc/courier/maildroprc...

  `test -f $HOME/.prefilter`
  if (!$RETURNCODE)
  {
    include $HOME/.prefilter
  }
  ... the rest of maildroprc

Then you have the chance of engaging some unique per user
condition, with or without the follow on sitewide filtering
in maildroprc, and then also offer a fallthru ~/.mailfilter
condition that could be created manually by the end user
(if they have access to sqwebmail to create their own rules).

--markc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to