Remove Hard Stop with mail quota

Discussion in 'HOWTO-Related Questions' started by Moten, Nov 19, 2008.

  1. Moten

    Moten Member

    I followed the Ubuntu 8.04 postfix mysql guide here.

    Everything is working great, but I wanted to know how to accomplish one other thing.

    Instead of a hard stop, we would like to only be notified when a user has exceeded their mailbox limit (already doing this) but still allow them to receive mail.

    I am assuming it is somewhere in the main.cf, but not sure where. Thanks for the help!
     
  2. Moten

    Moten Member

    Anyone have an idea on this?


    Need to remove the hard-stop when the quota is reached so users can still get email, but incur an additional charge
     
  3. falko

    falko Super Moderator Howtoforge Staff

    I think you have to modify the users table and replace the quota column with two new columns (e.g. softquota and hardquota). You'd then also have to modify /etc/postfix/mysql-virtual_mailbox_limit_maps.cf and probably /usr/local/sbin/quota_notify.
     

Share This Page