How to restrict postfix send limited email with policyd v2?

Posted by Shalini Tripathi on Server Fault See other posts from Server Fault or by Shalini Tripathi
Published on 2012-06-13T07:39:40Z Indexed on 2012/06/13 10:42 UTC
Read the original article Hit count: 348

Filed under:
|
|
|

I have installed cluebringer-2.0.7 for postfix and enabled below lines in the main.cf file of postfix. But I could not see any policy working

smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination check_policy_service inet:127.0.0.1:10031 smtpd_end_of_data_restrictions=check_policy_service inet:127.0.0.1:10031

To check further I enabled logging in policyd and its only shows below logs and there is no logs getting populated when I send new emails..

[2012/06/12-21:18:50 - 13949] [CORE] NOTICE: Process Backgrounded [2012/06/12-21:18:50 - 13949] [CBPOLICYD] NOTICE: Policyd v2 / Cluebringer - v2.0.7 [2012/06/12-21:18:50 - 13949] [CBPOLICYD] NOTICE: Initializing system modules. [2012/06/12-21:18:50 - 13949] [CBPOLICYD] NOTICE: System modules initialized. [2012/06/12-21:18:50 - 13949] [CBPOLICYD] NOTICE: Module load started... [2012/06/12-21:18:50 - 13949] [CORE] NOTICE: => AccessControl: enabled [2012/06/12-21:18:50 - 13949] [CORE] NOTICE: => CheckHelo: enabled [2012/06/12-21:18:50 - 13949] [CORE] NOTICE: => CheckSPF: enabled [2012/06/12-21:18:50 - 13949] [CORE] NOTICE: => Greylisting: enabled [2012/06/12-21:18:50 - 13949] [CORE] NOTICE: => Quotas: enabled [2012/06/12-21:18:50 - 13949] [CORE] NOTICE: => Protocol(Postfix): enabled [2012/06/12-21:18:50 - 13949] [CORE] NOTICE: => Protocol(Bizanga): enabled [2012/06/12-21:18:50 - 13949] [CBPOLICYD] NOTICE: Module load done. [2012/06/12-21:18:50 - 13949] [CORE] NOTICE: 2012/06/12-21:18:50 cbp (type Net::Server::PreFork) starting! pid(13949) [2012/06/12-21:18:50 - 13949] [CORE] NOTICE: Binding to TCP port 10031 on host * [2012/06/12-21:18:50 - 13949] [CORE] WARNING: Group Not Defined. Defaulting to EGID '0 10 6 4 3 2 1 0' [2012/06/12-21:18:50 - 13949] [CORE] WARNING: User Not Defined. Defaulting to EUID '0'

Do I need to do anymore settings for postfix to listen on policyd???Please help

© Server Fault or respective owner

Related posts about postfix

Related posts about centos5