I know about quota in vpopmail (megs and number of emails incoming). The problem is that all persons that user the server are from a single ip: aaa.bbb.ccc.ddd, so i cant use that kind or restrinction (in tcp.smtp.cdb) :(. So, there is no way to do that limitation ?
--- George Tolea > The defaultdelivery file is a global setting saying that qmail will not > accept any email larger than X. If you want per-user quotas you can set > those through vpopmail. You can't set a per-user file size limit > though, the closest you can do is on a per-ip basis. Since tcpserver > reads environment variables from the tcp.smtp.cdb file, you can put > something like this: > > 220.127.116.11:allow,DATABYTES=x > > I don't know how to limit file sizes based on the recipient other than > leaving no limit and using per-user quotas. > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 05, 2003 8:22 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [vchkpw] Quota on qmail (for send and receive) > > > Thank you for you answer. > And...it is possible tu put different quota for users ? > For example ...local user [EMAIL PROTECTED] to recieve 4 megs and user > [EMAIL PROTECTED] to receive only 2 megs. (to accept and receive) > > > --- > George TOlea > > >> Make a file in /var/qmail/controls called "databytes" and in it, put >> the value (in bytes) of the largest email you want qmail to accept. >> >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, February 05, 2003 8:12 AM >> To: [EMAIL PROTECTED] >> Subject: [vchkpw] Quota on qmail (for send and receive) >> >> >> HI! >> I tried to put quota on qmail, for sending and receiving emails. I >> want to accept only emails that are under 3 megs. I tried with >> softlimit, tcpserver but it didnt work it. Can someone tell me how can >> i do that limitation ? On the system I have qmail + daemontools + >> vpopmail + qmailadmin + courier-imap(for pop3). Thanks allot. >> >> >> --- >> George Tolea