Hi Derek, It is good to hear from you.
You are right about sendmail has only global option to limit mail size. However, my company wants to have 20meg mbox space per user. If the User exceeds, he/she should not recieved any mail. So, I use system quota to prevent sendmail from writing to mbox of a user which is under quota.Sendmail should bounce the mail and reply to sender with this kind of error: ----- The following addresses had permanent fatal errors ----- <[EMAIL PROTECTED]> (reason: 550 5.0.0 output error) Here is my configs: I enable quota to /var and /home filesystem /dev/ipsd0s1f /home ufs rw,userquota 2 2 /dev/ipsd0s1d /var ufs rw,userquota 2 2 # qouta -v user.underquota Disk quotas for user user.underquota (uid 1333): Filesystem usage quota limit grace files quota limit grace /home 210 20480 20480 11 0 0 /var 62960* 20480 20480 none 1 0 0 As you can see here, user.underquota already exceeded the limit (soft and hard). If I try to send a mail to this user more than 13k mail size, sendmail cannot write to this mbox (since mbox of a user is located in /var/mail) and will reply with an error message. At first I thought it was working, however, when i try to send 10k, 7k, 5k or less mail size, sendmail can write to user.underquota mbox. User file permition: #ls -l -rw-rw---- 1 user.underquota mail 64413589 Jul 8 09:54 user.underquota So, what do you think? Do i missed some config? or this is a bug? Thank you. Best regards, Alyd _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"