[Dovecot] Exim+dovecot and quota check in exim's ACL before real message routing.
Good day.
I want to migrate from cyrus-imap to dovecot but I can not find replacement of one feauture presented in the cyrus-imap. It is LMTP. All mail users are virtual and mail works like: username@real-domain.com -> anotherusername@fake-domain.local. I whould like to check "delivery is possable" in the exim's ACL. In the exim+cirus scheme I use Callout verification from exim to cyrus and if user's quota is exeeded callout returns fail and exim does not take message for queueing.
Dovecot has no LMTP and I see no possability to do such callouts. I tried to turn on quotas in the dovecot. Message was taken by the exim placed into exim's queue but cannot be delivered to dovecot with "local_delivery transport output: Quota exceeded" and message stays in queue for a long time.
Is any possability to chech quota usage in the exim's ACL befor taking message body ?
-- Anton [WARM-RIPE] Stack ltd division head tel. 8 (3822) 555-797
On 9/26/2008 5:08 AM, Anton wrote:
Dovecot has no LMTP and I see no possability to do such callouts. I tried to turn on quotas in the dovecot. Message was taken by the exim placed into exim's queue but cannot be delivered to dovecot with "local_delivery transport output: Quota exceeded" and message stays in queue for a long time.
Is any possability to chech quota usage in the exim's ACL befor taking message body ?
I think you'll have to use dovecot LDA, but I'm not sure (I don't use quotas)...
--
Best regards,
Charles
I use LDA like this:
local_delivery: driver = pipe command = /usr/lib/dovecot/deliver -e -d $local_part message_prefix = message_suffix = delivery_date_add envelope_to_add return_path_add log_output group = dovemail user = dovemail
Problem is that there is no feed back with dovecot during exim's ACL work.
On Fri, 26 Sep 2008 17:45:49 +0700 Charles Marcus CMarcus@Media-Brokers.com wrote:
On 9/26/2008 5:08 AM, Anton wrote:
Dovecot has no LMTP and I see no possability to do such callouts. I tried to turn on quotas in the dovecot. Message was taken by the exim placed into exim's queue but cannot be delivered to dovecot with "local_delivery transport output: Quota exceeded" and message stays in queue for a long time.
Is any possability to chech quota usage in the exim's ACL befor taking message body ?
I think you'll have to use dovecot LDA, but I'm not sure (I don't use quotas)...
--
Best regards,
Charles
-- Anton [WARM-RIPE] Stack ltd division head tel. 8 (3822) 555-797
participants (2)
-
Anton
-
Charles Marcus