How can I limit max. Filesize of a user without Shell

How can I limit the maximum Filesize of a user (specially mailuser) if
this user has no shell.
The shell of our users are set to /bin/false

Some users do not collect their mails so they get unlimited big.
We found even 1 Giga for a user in /var/mail

So I would like to know how do that.
Who is Participating?
red031197Connect With a Mentor Commented:
use quotas
sendmail also has the ability to set a max. filesize
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.