maildir_delivery: driver = appendfile directory = /home/mail/$domain/$local_part/maildir$acl_m7 maildir_format # size reporting for quotas # for quotas maildir_tag = ,S=$message_size quota_size_regex = S=(\s+)$ maildir_use_size_file quota_warn_threshold = 75% quota_warn_message = \ To: $local_part@$domain\n\ Subject: Your mailbox is reaching its limit\n\ \n\ This message was automaticly created by the mail delivery software.\n\n\ The size of your mailbox has exceeded the warning threshold that\n\ has been set by the systems administrator.\n\n\ Please remove old messages that are not needed.\n quota = ${lookup pgsql \ {SELECT quota FROM email_users WHERE login = '${quote_pgsql:$local_part@$domain}'}} user = mail group = mail delivery_date_add envelope_to_add return_path_add