Re: [Dovecot] Dovecot and quota enforcement - only reporting?

2008-10-29 Thread Charles Marcus
On 10/28/2008, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
 Wow, that clearly shows I'm not really sure what I'm doing, as I don't really 
 understand the question.
 
 I'm running Postfix, with Dovecot on top. Uses check mail via
 Outlook/IMAP, or Web/Squirrelmail.

Postfix is an MTA (Mail Transfer Agent). It has its own built in
'Delivery Agents' - LDA (Local Delivery Agent) and VDA (Virtual Delivery
Agent). A barebones postfix install will use one of these.

Dovecot is a POP/IMAP server - it allows clients to access existing
messages located on a filesystem somewhere.

'Deliver' is the act of the final placement of an email message to the
final destination filesystem.

It sounds like  you have some reading to do...

Here is the dovecot wiki page on dopvecots 'Deliver' program:

http://wiki.dovecot.org/MDA

-- 

Best regards,

Charles


Re: [Dovecot] Dovecot and quota enforcement - only reporting?

2008-10-29 Thread dovecot
Still no answer to my original question of what exactly updates 
maildirsize? Is that also the dovecot LDA?


At 06:14 AM 10/29/2008, Charles Marcus wrote:

On 10/28/2008, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
 I'm running Postfix, with Dovecot on top. Uses check mail via
 Outlook/IMAP, or Web/Squirrelmail.

Postfix is an MTA (Mail Transfer Agent). It has its own built in
'Delivery Agents' - LDA (Local Delivery Agent) and VDA (Virtual Delivery
Agent). A barebones postfix install will use one of these.


I'm using virtual delivery in postfix (mysql users). Postfix is 
running the default delivery agent:

mailbox_command =


So the only way to get quota enforcing with Dovecot is to have 
Postfix use the dovecot LDA?


And from the wiki it indicates:

dovecot_destination_recipient_limit = 1
virtual_mailbox_domains = your.domain.here
virtual_transport = dovecot


but I'm currently running multiple domains. How does 
virtual_mailbox_domains configure to handle that?




Rick



Re: [Dovecot] Dovecot and quota enforcement - only reporting?

2008-10-29 Thread dovecot

At 10:50 AM 10/29/2008, Timo Sirainen wrote:

 Still no answer to my original question of what exactly updates
 maildirsize? Is that also the dovecot LDA?

1) Dovecot LDA for newly delivered mails
2) Dovecot IMAP for messages saved/copied via IMAP client


Thanks, that perfectly explains why I haven't been able to figure out 
what makes maildirsize update.



 So the only way to get quota enforcing with Dovecot is to have
 Postfix use the dovecot LDA?

Yes, the only way to enforce quota for newly delivered mails is to
deliver mails via LDA capable of enforcing the quota. :)

(It doesn't have to be Dovecot LDA though, there are other LDAs that
understand Maildir++ quota too. Dovecot LDA is recommended though.)


Excellent. Now off to figure out whether I'll break anything by 
changing it! :-)  Is it different between virtual users (mysql using 
a dovecot-mysql.conf file) and local users?


Rick









Re: [Dovecot] Dovecot and quota enforcement - only reporting?

2008-10-28 Thread Joseba Torre
How are you delivering your mails to mailboxes? If you don't use dovecot's 
deliver quota won't get updated (unless you use filesystem quota)

HTH


El Lunes, 27 de Octubre de 2008 a las 17:53, [EMAIL PROTECTED] escribió:
 At 10:48 PM 10/21/2008, Rick Steeves wrote:
 When I delete mail and expunge it, the quota updates.  However,
 inbound email doesn't appear to update the quota.
 
 Two questions, probably related:
 What causes the quota (which I presume is the maildirsize file) to update?
 Is there any actual quota enforcement, or just reporting? Because if
 I send mail to an account, even if it currently reporting (via
 maildirsize or . getquotaroot) that the user is over quota, they
 still can send and receive email.

 Just checking to see if there are any insights here.

 Rick



-- 
Joseba Torre. CIDIR Bizkaia.


signature.asc
Description: This is a digitally signed message part.


Re: [Dovecot] Dovecot and quota enforcement - only reporting?

2008-10-28 Thread dovecot


Wow, that clearly shows I'm not really sure what 
I'm doing, as I don't really understand the question.


I'm running Postfix, with Dovecot on top. Uses 
check mail via Outlook/IMAP, or Web/Squirrelmail.


Rick


At 04:29 AM 10/28/2008, Joseba Torre wrote:

How are you delivering your mails to mailboxes? If you don't use dovecot's
deliver quota won't get updated (unless you use filesystem quota)

HTH


El Lunes, 27 de Octubre de 2008 a las 17:53, [EMAIL PROTECTED] escribió:
 At 10:48 PM 10/21/2008, Rick Steeves wrote:
 When I delete mail and expunge it, the quota updates.  However,
 inbound email doesn't appear to update the quota.
 
 Two questions, probably related:
 What causes the quota (which I presume is the maildirsize file) to update?
 Is there any actual quota enforcement, or just reporting? Because if
 I send mail to an account, even if it currently reporting (via
 maildirsize or . getquotaroot) that the user is over quota, they
 still can send and receive email.

 Just checking to see if there are any insights here.

 Rick



--
Joseba Torre. CIDIR Bizkaia.







Re: [Dovecot] Dovecot and quota enforcement - only reporting?

2008-10-27 Thread dovecot

At 10:48 PM 10/21/2008, Rick Steeves wrote:
When I delete mail and expunge it, the quota updates.  However, 
inbound email doesn't appear to update the quota.


Two questions, probably related:
What causes the quota (which I presume is the maildirsize file) to update?
Is there any actual quota enforcement, or just reporting? Because if 
I send mail to an account, even if it currently reporting (via 
maildirsize or . getquotaroot) that the user is over quota, they 
still can send and receive email.


Just checking to see if there are any insights here.

Rick