Hi,
        I'm trying to use socket instead of net communication.

>From http://wiki.policyd.org/cluebringer.conf I read

PROTO
Protocol to use "tcp" or "unix", defaults to "tcp"
HOST
IP to listen on, * for all. Blank for unix sockets. Defaults to *:
Port to run on, in the case of a unix socket it would be the path.
Defaults to 10031:

So I put in configuration:

proto=unix
host=
port=/var/lib/cluebringer/policyd.socket

In postfix main.cf I put
check_policy_service unix:/var/lib/cluebringer/policyd.socket

After restarting policyd I found in log:
2014/06/25-16:50:05 - 8984] [CORE] ERROR: 2014/06/25-16:50:05 Could not
determine port number from host [*]:/var/lib/cluebringer/policyd.socket

  at line 82 in file /usr/share/perl5/Net/Server/Proto.pm
[2014/06/25-16:50:05 - 8984] [CORE] NOTICE: 2014/06/25-16:50:05 Server
closing!


So I understand something is not correct in configuration.

Where I'm wrong?


-- 
ing. Andrea Gelpi
***************************************************
La Terra non la abbiamo ereditata dai nostri avi,
ma la abbiamo presa in prestito dai nostri bambini.
***************************************************
We do not inherit the Earth from our parents,
but borrow it from our children.
***************************************************

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to