Dale Morin <[email protected]> wrote: > OS is ubuntu 14.04LTS, running postfix v2.11.0, cluebringer package from > ubuntu repos is v2.0.10. > > check_policy_service is called once from main.cf, in smtpd_relay_restrictions. > > Log entries in mail.log show a double increment of the outgoing message > count. The limit is high enough that it hasn't been an issue - yet. :) I'd > like to address this before it becomes an issue. > > mail.log entries (sanitized): > > Jun 24 11:54:56 mx1 cbpolicyd[14847]: module=Quotas, mode=update, > host=24.14.69.61, helo=DeniseHP, [email protected], > [email protected], reason=quota_update, policy=9, quota=7, limit=8, > track=Sender:[email protected], counter=MessageCount, quota=941/1000 (94.1%) > Jun 24 11:54:57 mx1 cbpolicyd[14855]: module=Quotas, mode=update, > host=127.0.0.1, helo=mail1.mustanginternetservices.com, > [email protected], [email protected], reason=quota_update, > policy=9, quota=7, limit=8, track=Sender:[email protected], > counter=MessageCount, quota=942/1000 (94.2%)
Let me guess ? You have two smtpd instances, one listens on port 25 and stuffs everything through an AV/Spam scanner (10024 ?), the scanner then stuffs the messages into the second instance on another port (10025 ?) Your second instance needs to be configured to not use the PolicyD milter - normally it's configured in master with a load of overides to leave the smtpd_* restrictions empty. _______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org
