Ian Eiloart
Tue, 02 Mar 2010 04:47:57 -0800
--On 2 March 2010 11:56:52 +0000 bisdi...@orange.sn wrote: > hello, > my transport configuration > > dovecot_virtual_delivery: > driver = pipe > command = /usr/libexec/dovecot/deliver -d $local_part > message_prefix = > message_suffix = > delivery_date_add > envelope_to_add > return_path_add > log_output > user = vmail Thanks. First you need to make sure you have the Dovecot quote plugins installed and configured. <http://wiki.dovecot.org/Quota> Then, you need to use "-e" and temp_errors when delivering, as in the last example at <http://wiki.dovecot.org/LDA/Exim>. "-e" will return an error when delivering to an over quota mailbox. temp_errors will tell Exim when the error should be regarded as temporary. When this is done, Exim will be unable to deliver messages to over-quota mailboxes. It will retry in accordance with your retry rules, and send notifications to the sender. It won't email the recipient, since the recipient can't receive emails. There's a dovecot plug-in to enable IMAP notifications when over quota. If your users aren't using IMAP, then you will need to arrange that they are emailed when their mailbox gets to, say 90% of quota. For that, I think, you'll need a cron job to find the mailbox sizes. I don't know how you'd do that, because I don't know how dovecot stores its email. In the worst case, you'd need to use an IMAP query. >> >> >> --On 2 March 2010 08:45:44 +0000 bisdi...@orange.sn wrote: >> >>> Hello, >>> I'm using exim with dovecot and ldap. I've define the user quota in ldap >>> attributes and at this moment I've customers who receive mail and yet >>> the >>> quota is over. >> >> Then "quota" on dovecot must mean something different than I understand. >> How is it possible to deliver email to dovecot if the user is over quota? >> What happens to a user who is over quota on dovecot? >> >> My understanding is that a quota is the limit beyond which email will not >> be delivered to an account. >> >>> Can you explain me how you have configure your exim and I'll compare the >>> configuration. >> >> My system is Exim with Cyrus-IMAP. Delivery to the mailstore is via LMTP. >> Cyrus simply refuses the email with a 4xx when I attempt to deliver it. >> There's nothing in the Exim configuration that does anything special at >> all. In fact the string "quota" does not appear in my config file. >> >> When we delivered direct to mailboxes for Washington IMAP, quotas were >> enforced in Exim. I think they were set in transport options. >> >> What type of transport are you using for delivery to dovecot? >> >>> Best regards. >>>> >>>> >>>> --On 1 March 2010 15:56:16 +0000 bisdi...@orange.sn wrote: >>>> >>>>> Hello, >>>>> I want to configure exim alerting the sender and the receiver when the >>>>> quota is excedeed. >>>> >>>> I think Exim will already alert the sender when the message can't be >>>> delivered because the receiver is over quota. >>>> >>>> If you can deliver messages (alerts) to a receiver who is over quota, >>>> then you have a different understanding of "over quota" than I do. >>>> >>>> -- >>>> Ian Eiloart >>>> IT Services, University of Sussex >>>> 01273-873148 x3148 >>>> For new support requests, see http://www.sussex.ac.uk/its/help/ >> >> >> >> -- >> Ian Eiloart >> IT Services, University of Sussex >> 01273-873148 x3148 >> For new support requests, see http://www.sussex.ac.uk/its/help/ >> > > > > -- Ian Eiloart IT Services, University of Sussex 01273-873148 x3148 For new support requests, see http://www.sussex.ac.uk/its/help/ -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/