|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Limits
Victor.Duchovni
morganstanley.com
Date: Sat Jul 05 2003 - 21:07:46 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 6 Jul 2003, adi wrote:
> If smtp client doesn't issue SIZE command, then 'rule' apply for
> recipient that already exceed their quota. Otherwise, the rule can be
> applied for recipients that would exceed their quota. Current quota
> status maps should be available for postfix to queries.
>
The Postfix "smtpd" server has no access to mailbox quota information.
This said a suitable cron job can populate your recipient access table
with:
luser
example.com 552 User over quota
reject rules. This works independently of any particular mailbox format
and even if the mailbox host is remote. The quota rules could be made
available via PGSQL, MySQL or LDAP...
The update mechanism needs to be fast enough to not get in the way of
users who get under quota and expect mail delivery right away. Allowing a
user to trigger a quota update would be a reasonable approach.
The "would exceed quota" constraint is much harder to implement, and is
best delegated to the delivery agent (bounce if actually over quota).
--
Viktor.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]