Re: [Exim] Checking Cyrus quotas in ACL ?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Andrzej Filip
Fecha:  
A: Exim Users Mailing List
Cc: Pat Lashley
Asunto: Re: [Exim] Checking Cyrus quotas in ACL ?
Pat Lashley wrote:
> I have a customer who has a large web-mail setup using Cyrus IMAP as
> the mailstore. We've just updated them to Cyrus 2.2 and replace their
> badly overloaded Sendmail setup with Exim 4.24. The ACLs in Exim are
> doing a pretty good job of keeping the queue size reasonable; but I
> have noticed one problem. They implement quotas on the Cyrus mailboxes.
> As currently configured, if a user is over quota, further messages for
> them wind up in Exim's queue when lmtpd responds with a '452 Over Quota'
> message.
>
> We're already using recipient/callout to verify that Cyrus has a
> mailbox for the recipient; my questin is, is there any way to also
> check the Cyrus quota during the Exim ACL processing?


If you are interested in things "under development":

CVS version of cyrus implemented socketmap protocol which will be handled by
sendmail 8.13 [ http://www.sendmail.org/8.13.0.PreAlpha4.html ]
In Exim terminology: single-key lookup passed via TCP based protocol to an
external process.

Based on discussion in info-cyrus@??? it will be no problem
(from cyrus perspective) to add quota check (e.g. based on SIZE= from "MAIL
FROM: command.)

The socket map protocol is very simple so it may be implemented by exim some
time in the future.

--
Andrzej [pl>en: Andrew] Adam Filip http://www.polbox.com/a/anfi/
anfi@??? anfi@??? [former: anfi@???]