> > Other doubt, can i set the e-mail size per domain?
  > > 
  > > Because when i send a big e-mail to someone it is delivered back to me and 
i
  > > have the same quota as the first user so i don't get the message error, is
  > > there a way to qmail send only an error message instead of delivering all
  > > the big mail?
  > 
  > I don't think this is possible.  But as this really is a qmail topic and not
  > vpopmail specific, you might try for more information on the qmail list.

I implemented a patch (not sure if its in the current
distribution), but it looks for the file ".domainquota"
and reads it in (which is in bytes) which specifies
a per-domain quota.  Look for the string ".domainquota"
in the vdelivermail.c file.  If you see it, then its
in there.  It would also forward a notification of bounced
emails to the postmaster.

Another approach (which I now use) is to put quota's on
unix ID's and put each domain on a specific unix account.
Its much more reliable and takes up less CPU in vdelivermail.

Brian

Reply via email to