Hi, all!
I followed all the directions for setting up policyd v2, including the 
postfix configuration in main.cf. Here's the relevant part:

smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031

(Neither of those options were there by default, so I just added them)

I used the webui to set a limit on outgoing messages, but nothing was 
happening. I turned everything on in the policyd log, and it doesn't 
seem like postfix is talking to it at all. The log looks like this when 
the daemon starts:

[2010/08/09-10:28:53 - 1250] [CORE] NOTICE: Process Backgrounded
[2010/08/09-10:28:53 - 1250] [CBPOLICYD] NOTICE: Policyd v2 / 
Cluebringer - v2.0.10
[2010/08/09-10:28:53 - 1250] [CBPOLICYD] NOTICE: Initializing system 
modules.
[2010/08/09-10:28:53 - 1250] [CBPOLICYD] NOTICE: System modules initialized.
[2010/08/09-10:28:53 - 1250] [CBPOLICYD] NOTICE: Module load started...
[2010/08/09-10:28:53 - 1250] [CORE] NOTICE:   => AccessControl: enabled
[2010/08/09-10:28:53 - 1250] [CORE] NOTICE:   => CheckHelo: enabled
[2010/08/09-10:28:53 - 1250] [CORE] NOTICE:   => CheckSPF: enabled
[2010/08/09-10:28:53 - 1250] [CORE] NOTICE:   => Greylisting: enabled
[2010/08/09-10:28:53 - 1250] [CORE] NOTICE:   => Quotas: enabled
[2010/08/09-10:28:53 - 1250] [CORE] NOTICE:   => Protocol(Postfix): enabled
[2010/08/09-10:28:53 - 1250] [CORE] NOTICE:   => Protocol(Bizanga): enabled
[2010/08/09-10:28:53 - 1250] [CBPOLICYD] NOTICE: Module load done.
[2010/08/09-10:28:53 - 1250] [CORE] NOTICE: 2010/08/09-10:28:53 cbp 
(type Net::Server::PreFork) starting! pid(1250)
[2010/08/09-10:28:53 - 1250] [CORE] NOTICE: Using default listen value 
of 128
[2010/08/09-10:28:53 - 1250] [CORE] NOTICE: Binding to TCP port 10031 on 
host *
[2010/08/09-10:28:53 - 1250] [CORE] WARNING: Group Not Defined.  
Defaulting to EGID '0 0'
[2010/08/09-10:28:53 - 1250] [CORE] WARNING: User Not Defined.  
Defaulting to EUID '0'

and it never changes when I send mail.

Am I doing something wrong? What's with those "not defined" warnings?

Much thanks!
Sam Stephens
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to