Re: [Dovecot] Quota plugin and SQL

2010-03-06 Thread Leeman Strout

On 3/6/2010 5:12 PM, David wrote:

I have read through http://wiki.dovecot.org/Quota/Dict, which suggests a
database schema for using quota. For 1.2, this includes a username,
bytes and messages.

Is there any way to modify the queries used to split out username into
localpart and domain? This would enable me to put the current quota
information in my main mailbox table and display it to users in my admin
interface.

Or possibly it should be in a separate table for a reason, and I should
be look there for the values?

Thanks,

David



http://wiki.dovecot.org/Variables

Excerpt:

 %u userfull username (e.g. u...@domain)
 %n usernameuser part in u...@domain, same as %u if there's no 
domain
 %d domain  domain part in u...@domain, empty if user there's no 
domain



Leeman


Re: [Dovecot] IMAP Folders Don't Make Sense

2010-02-25 Thread Leeman Strout

On 2/25/2010 4:35 PM, Carlos Williams wrote:

On Thu, Feb 25, 2010 at 4:10 PM, Brian Haydenbhay...@umn.edu  wrote:

You need to:

1. Remove your subscriptions file.


This I did. Now I can no longer see from the client side any of my IMAP folders.


2. Set your client to ignore subscriptions and view all folders.


I logged into my webmail and in the main mailbox view all my IMAP
folders except for Inbox and the default ones were missing. I then
opened up the folders settings option and 'subscribed' to all the
folders I didn't see in my main mailbox view. Once I enabled
'subscription' via webmail, I could then see all my folders again. Is
this wrong? You stated the opposite should be done. I would think if
they were not selected for subscription, I would see them but it
appears to be the other way around. How can I see my messages on my
email client with out the 'subscriptions' file in my Maildir? I am
assuming this questions' answer varies depending on what client we're
talking about, no?


3. Then, and only then, settle on a server configuration (including any
namespaces you may choose to use), and then re-subscribe to folders in your
client (if you are going to insist on using subscriptions).

It's impossible to get your server configuration correct if you're judging
the user-visible side by a client using legacy subscriptions, particularly
if the subscriptions file is in an unreliable state (as it sounds like yours
is--as most of them almost always are).


I just can't see how to get any IMAP client to read IMAP folders w/o
that 'subscriptions' file. It appears that it looks for it or is in
some way dependent on this file. Am I wrong?


The subscriptions file is technically optional.  For instance, 
Thunderbird has a setting to either use nor not use it.  If TB uses 
subscriptions then you need to subscribe to all folders that you want to 
see.  Otherwise it will show all folders.


Dunno about your webmail, however as an example SquirrelMail uses 
subscriptions, no way around it.


With this combination, I'd enable webmail subscriptions and disable TB's 
use of subscriptions.


For TB if you want to ignore subscriptions, go into your Account 
Settings, select Server Settings under the correct account, click the 
Advanced button in the Server Settings sub-box, and uncheck Show only 
subscribed folders.




Leeman




Re: [Dovecot] thunderbird sane config (OT)

2008-05-07 Thread Leeman Strout

Charles Marcus wrote:

On 5/7/2008, [EMAIL PROTECTED] ([EMAIL PROTECTED])
wrote:

What I had in mind was more like:
6. User downloads and runs thunderbird_mycfg.exe, which installs
Thunderbird, asks the user his/her account name and applies the
configuration from step (3), and everything magically works.



Heh... yeah, thats one of the things lacking in both TBird and FFox is 
enterprise feature support like this...


Its supposedly in the works though... and when it happens, you'll be 
able to push it out even easier than you descibe above (assuming you're 
using WPKG, Active Dirdctory, or something similar ...




I work at a place that has this for TBird.  I'll try and dig up the 
method used, but don't know that I'll be allowed to distribute it.  Let 
you know as much detail as I can find.



Leeman