Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to avoid ppl to keep their emails on the pop3 server?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Yamakasi
Apprentice
Apprentice


Joined: 28 Sep 2002
Posts: 201

PostPosted: Wed Dec 11, 2002 7:28 pm    Post subject: How to avoid ppl to keep their emails on the pop3 server? Reply with quote

hi,

Is-it possible to set up my pop3 server, so ppl cant keep their emails on the server. I have space probleme.
I could go on each mail clients and set this option, but I have too much clients.
I need to set a general rule on the pop3 server, so ppl cant keep their email on the server
is there any way?

Thanks :)
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Wed Dec 11, 2002 7:52 pm    Post subject: Reply with quote

Depending on what MTA you use (exim, postfix, qmail, etc.) you should be able to set a quota in your MTA's configuration file(s). Exim uses the 'quota' and 'directory' options to control this, IIRC. Your MTA may be different, but check your MTAs documentation for more info.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
Yamakasi
Apprentice
Apprentice


Joined: 28 Sep 2002
Posts: 201

PostPosted: Wed Dec 11, 2002 8:09 pm    Post subject: Reply with quote

hi,

I tried to set up quota using Sendmail.
Only problem, all the mail are stocked in the /var/spool/mail.
By the way, is it possible to set the pop3 server so nobody can keep/accumulate mails on the server?
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Wed Dec 11, 2002 11:40 pm    Post subject: mail size limitations Reply with quote

I seem to find myself advocating the brute force method quite often lately. This works ONLY with a maildir system of which sendmail is not.

Delete any file older the x days in their maildir. Post this limit, make it reasonable like 30 days, and use quotas. Quotas will keep one user from killing you and deleting files will keep it from building up. I suppose you could autodelete anyting that gets moved from the new folder to the cur folder.

OTOH a 40 GB drive will set you back $60. Might be worth it.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum