How to set mailbox quota for sendmail

Anyone know how to set mailbox quota for sendmail, let say 10MB per user?

Is sendmail able to set mailbox quota for users?

It is urgent for me to do it on 3 days time!

please help!!!

Thanks

chloong
chloongAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nick AccadSystems AdministratorCommented:
AFAIK, sendmail does not offer this, but what you can do
is set user quota on the directory where sendmail stores
the mailboxes

i.e.

if all mailboxes are stored in /var/mail and if /var/mail is
a separate partition, you can set the quota for all the users
in /var/mail

not exactly what you are looking for, but an effective
workaround.

tc
-nick

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
samriCommented:
chloong,

be careful when implementing quota on FS where sendmail stores the mail.  Sendmail (IMHO) is not quota aware, so it will cause more trouble.

Interesting thread to look at.
http://www.experts-exchange.com/Networking/Email_Groupware/Sendmail/Q_20278749.html

cheers.
0
chicagoanCommented:
The mail.local that ships with sendmail 8.11.2 has a switch for this - (from its man page:)

-b        Return a permanent error instead of a  temporary
error if a mailbox exceeds quota.

You can specify this via

define(`LOCAL_MAILER_ARGS', `mail.local -b $u')

0
chicagoanCommented:
Did this lead you to a solution?
Can you come back and close your question?
0
samriCommented:
naccad : did gave the solution
samri : elaborate on issues with that solution, and potential issues.
chicagoan : how this could be implemented

I would recommend a split.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Servers

From novice to tech pro — start learning today.

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.