Ahmet YAZICI wrote:
Hello all,
Although i am not very well at writing c code, i have created patch that checks if user has available quota during chkuser check.
Works perfect for me.
Please review and if you find it useful, include for next release.
All suggestions and corrections are always welcome.
Patches are included as an attachment and also available at
http://www.ahmetyazici.org/qv/qmail-chkuserx.patch http://www.ahmetyazici.org/qv/vpopmail-5.4.5.patch
Thank you.
Ahmet YAZICI
Ahmet,
Thanks very much for this. Looks good at first glance. Tom, what do you think about the addition of user_over_maildirquota_local()? Would it be cleaner to modify user_over_maildirquota() to include a "check_only" argument to determine whether to increase the quota (i.e. for actual delivery)? Perhaps this patch is simpler.
I look forward to testing it.
Regards,
Bill Shupp
