default pop3 box size

sander815

Verified User
Joined
Jul 29, 2003
Messages
422
is it possible to set a default max for pop3 boxes? now it depends on the users disksize, but i would like to see a max amount of say 5mb by default, and not changeable by the user itself

I have had several users complaining about their webspace is full(10 mb), and when i then check their email boxes, they are fully loaded..
 
Hello,

If you want to completely ignore what the users specify for email quotas, you can edit the exim.conf and specify the quotas you want everyone to use. This can be done to cover both the virtual pop accounts and the system accounts.

eg:
Code:
local_delivery:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  file = /var/mail/$local_part
  group = mail
  mode = 0660
  return_path_add
  user = ${local_part}
  [b]#This has to be added:
  quota = 5M[/b]


virtual_localdelivery:
  driver = appendfile
  create_directory
  delivery_date_add
  directory_mode = 700
  envelope_to_add
  file = /var/spool/virtual/${domain}/${local_part}
  group = mail
  mode = 660
  return_path_add
  user = "${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}"

  [b]#This is changed:
  quota = 5M[/b]
  quota_warn_threshold = 75%
John
 
why don't i have this quota_warn_threshold in my exim.conf?

virtual_localdelivery:
driver = appendfile
create_directory
delivery_date_add
directory_mode = 700
envelope_to_add
file = /var/spool/virtual/${domain}/${local_part}
group = mail
mode = 660
return_path_add
user = "${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}"
quota = ${if exists{/etc/virtual/${domain}/quota}{${lookup{$local_part}lsearch*{/etc/virtual/${domain}/quota}{$value}{0}}}{0}}
 
Hello,

I think it's because it's my local copy of my exim.conf which I use for testing.. might not match what you have exactly. You can add it if you want.. it would just send them a warning email.

John
 
Back
Top