0

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

1 Answer 1

1

That is all you need to do with Postfix but you need to fill up mysql database used by Policyd.

Copy web files from webui dir to web accessible dir. Open the page and set up what you want (quotas, limits etc.).

Do not forget to create some kind of user/pass access control (for example via .htaccess/.htpasswd file...

3
  • sorry i forgot to describ here about webui. i have already configured and connected it with my sql database and it's working fine and i have setup quota values also but it's not workig .
    – ACHAL
    Jun 13, 2012 at 10:11
  • What do you have inside postfix logs ? I think you should separate values inside smtpd_recipient_restrictions section with , and I don't see them.
    – mangia
    Jun 14, 2012 at 7:03
  • i have the same issue, done everything as described above, no luck yet
    – Farhan
    Apr 23, 2013 at 10:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .