Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

because quotas linux delete emails !!!

Status
Not open for further replies.

haneo

Programmer
Jan 2, 2002
274
CA
I am goig to install a mail server (sendmail-in RedHat7.3) for my office, and
my boss want to limit the disk usage for user's mail, so i must use quotas, ok
but i am thinking in one probleme:
when the mail of user x take all the permitted space, all the future email will be
deleted !!!.

I suppose i should write a script (exemple :perl), this script will verify daily the
user's quotas and if the space is full it send a warning email to that users so he
must free some space.

But i have no isea to do this i am sur there is somewhere help to how do this ...?
Can somebody help me ?
 
You need to let sendmail itself enforce quotas. Don't use filesystem quotas.

The preferred behavior is that when an email arrives, th STMP service can immediately tell the sending server that the email cannot be delivered.

Check around to see if sendmail can do this, or if there is a module or patch to sendmail that will allow it.
 
Still searching the solution can somebody help me ?

i am lost :-(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top