[Please don't CC me.]

"David U." <[EMAIL PROTECTED]> wrote:

>At 11:38 AM 7/11/2001 -0400, Dave Sill wrote:
>>"David U." <[EMAIL PROTECTED]> wrote:
>>
>> >I would like the ability to give all clients backup mail service for 7 days
>> >and no more then say 10 megs -- whichever comes first.
>> >
>> >Since I am just accepting mail in my rcpthosts and not delivering it
>> >locally to a Maildir, how can I enforce such quotas?
>>
>>You could scan the queue and tally up the space used by each
>>MX. Wouldn't it be easier to queue to a maildir spool and run
>>maildirsmtp periodically?
>
>Yes, I thought about running a cronjob through the queue to both watch 
>message size totals AND message date (to check for week old mail).
>
>Could you explain what you mean by a "maildir spool" and maildirsmtp?  I am 
>going to try to look up info right now, but I haven't heard of maildirsmtp.

You could deliver the MX's mail to a maildir and use maildirsmtp from
serialmail to send the messages to them when they're back up.

>Do you think the first method (cronjob) is the easiest method?

No. The maildir spool + maildirsmtp cron job would be easier. No
coding required. Determining the age and size of the spool is
trivial.

>I was 
>thinking of even going through the qmail source, creating a control file 
>called maybe "mxhosts" and then parsing the config from there and having 
>qmail create a seperate hashed queue for MX forward bound mail.  It would 
>be nice if I could _not_ do this and find an easier solution. ;-)

Yeah. :-)

-Dave

Reply via email to