Heh, I had the exact same problem; spent a whole day scratching my head till 
I came across a post in the archives that mentioned that setting the 
'maildir' field to an empty value in the MySql passwd table would make it 
work. I tried it and filtering suddenly worked perfectly. In my MySql table 
I at first had for example: 

home -> '/home/mailuser/vuser1'
maildir -> '/home/mailuser/vuser1/Maildir' 

I changed so I now have the following: 

home -> '/home/mailuser/vuser1'
maildir -> '' 

And filtering now works great; don't know why though, but there are others 
I'm sure who do.. 

Cheers 

/Anders 


PS. I would like to take this opportunity to thank everbody who made Courier 
Mail possible. I've just gotten Courier Mail running a few days ago for our 
small company, and am extremely pleased with it. This is really a great 
package! 

 

Francisco Solsona writes: 

> Hello all, 
> 
> We have a good number of virtual mail accounts (courier mail + MySQL +
> sqwebmail + IMAP + ESMTP + SSL + etc.), and everything is working
> fine, except for the filtering part. 
> 
> Users can create filter rules through the web interface, but maildrop
> does not use those filters: 
> 
> courierd says: 
> 
> DEFAULTDELIVERY="| /usr/local/bin/maildrop" 
> 
> virtual user foo's maildirfilterconfig says: 
> 
> MAILDIRFILTER=../.mailfilter
> MAILDIR=./Maildir 
> 
> and yet everything goes to the default mailbox of virtual user foo. 
> 
> I'm pretty sure we're using the maildrop that comes with the whole
> courier suite, so it should be using the information (UID/GID of the
> real account, home, and maildir) from the passwd table in MySQL,
> right? or am I missing some incantation? 
> 
> TIA,
> --Francisco 
> 
> P.S. I did a search on the list's archives, and found a lot of
> messages on this issue, but none of those help. 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to