On Monday, Sep 29, 2003, at 18:45 Europe/London, Markus Fischer wrote:
>
> I've used the technique described at
> http://www.exim.org/exim-html-4.20/doc/html/spec_41.html#SECT41.6
>
> virtual:
> driver = redirect
> domains = dsearch;/etc/mail/virtual
> data = ${lookup{$local_part}lsearch{/etc/mail/virtual/$domain}}
> no_more
i use the same (similar) and can vouch that its very intuitive
also per_user quotas can be added in a similar way
i use a simple file /etc/exim/quotafile
I'll be making that per_domain/per_user quotas later
in local_delivery add
# per user quotas can be set using a lsearch of a quotafile, fallback
vaule is 5MB
quota =
${lookup{$local_part}lsearch*{/etc/exim/quotafile}{$value}{5M}}
# or sitewide quota thusly
# quota = 25M
# incoming message isn't counted as part of the quota yet
quota_is_inclusive = false
# standard built in quota overrun email will be sent at 75%
quota_warn_threshold = 75%
the /etc/exim/quotafile contains merely a list of users and their quota
user1 10M
user2 10M
user3 2m
* 5m # catch all default for any users not defined here
Zaw