My goal:
To have disk quotas on my mail server. When someone exceeds their quota I
would like Qmail to bounce new messages back to the sender and say
something like "Sorry, the user doesn't have any space left in their
mailbox. Try again later"
I have qmail .096 running on a Solaris 2.5.1 x86 box. It works great. I
enabled quotas on the file system, and I'm trying some tests. Somehow
qmail is able to deliver mail into a user's Mailbox file even if their
quota is exceeded.
For example:
[root@mail]> quota -v someguy
Disk quotas for someguy (uid 13):
Filesystem usage quota limit timeleft files quota limit
timeleft
/ 12 5 10 EXPIRED 6 500 500
The account "someguy" is over their 10k disk quota by 2k. I now send them
an email message.
Then,
[root@mail]> quota -v someguy
Disk quotas for someguy (uid 13):
Filesystem usage quota limit timeleft files quota limit
timeleft
/ 13 5 10 EXPIRED 6 500 500
qmail was able to deliver the message to the user even though they were
over their disk quota. This is not desirable. The quotas exist for a
reason.
If I "su - someguy" and try to copy files etc, I get error message that
I'm over my quota and I'm prevented from using any more disk blocks.
What am I doing wrong?
Dax Kelson
Internet Connect, Inc.
To have disk quotas on my mail server. When someone exceeds their quota I
would like Qmail to bounce new messages back to the sender and say
something like "Sorry, the user doesn't have any space left in their
mailbox. Try again later"
I have qmail .096 running on a Solaris 2.5.1 x86 box. It works great. I
enabled quotas on the file system, and I'm trying some tests. Somehow
qmail is able to deliver mail into a user's Mailbox file even if their
quota is exceeded.
For example:
[root@mail]> quota -v someguy
Disk quotas for someguy (uid 13):
Filesystem usage quota limit timeleft files quota limit
timeleft
/ 12 5 10 EXPIRED 6 500 500
The account "someguy" is over their 10k disk quota by 2k. I now send them
an email message.
Then,
[root@mail]> quota -v someguy
Disk quotas for someguy (uid 13):
Filesystem usage quota limit timeleft files quota limit
timeleft
/ 13 5 10 EXPIRED 6 500 500
qmail was able to deliver the message to the user even though they were
over their disk quota. This is not desirable. The quotas exist for a
reason.
If I "su - someguy" and try to copy files etc, I get error message that
I'm over my quota and I'm prevented from using any more disk blocks.
What am I doing wrong?
Dax Kelson
Internet Connect, Inc.