On 06/21/2013 04:59 PM, Nuno Abrantes wrote:
I'm actually testing using a loop on the shell... makes any diference?My log level is debug..root@policyd:~# cat /etc/cbpolicyd/cluebringer.conf |grep -v \#|grep -i loglog_level=4 log_file=/var/log/cbpolicyd/cbpolicyd.log log_mail=maillog log_detail=modules,tracking,policies,protocols[2013/06/21-16:40:49 - 30192] [CBPOLICYD] NOTICE: Policyd v2 / Cluebringer - v2.1.x-201211111115 [2013/06/21-16:40:49 - 30192] [CBPOLICYD] NOTICE: Initializing system modules. [2013/06/21-16:40:49 - 30192] [CBPOLICYD] NOTICE: System modules initialized.[2013/06/21-16:40:49 - 30192] [CBPOLICYD] NOTICE: Module load started... [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: => AccessControl: enabled [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: => Accounting: enabled [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: => Amavis: disabled [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: => CheckHelo: enabled [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: => CheckSPF: enabled [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: => Greylisting: enabled [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: => Quotas: enabled[2013/06/21-16:40:49 - 30192] [CORE] NOTICE: => Protocol(Postfix): enabled [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: => Protocol(Bizanga): enabled[2013/06/21-16:40:49 - 30192] [CBPOLICYD] NOTICE: Module load done.[2013/06/21-16:40:49 - 30192] [CBPOLICYD] NOTICE: Session tracking is ENABLED. [2013/06/21-16:40:49 - 30192] [CBPOLICYD] DEBUG: Opening syslog, destination = 'native', facility = 'mail'. [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: 2013/06/21-16:40:49 cbp (type Net::Server::PreFork) starting! pid(30192) [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: Using default listen value of 128 [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: Binding to TCP port 10031 on host *[2013/06/21-16:40:49 - 30192] [CORE] NOTICE: Setting gid to "117 117" [2013/06/21-16:40:49 - 30192] [CORE] NOTICE: Setting uid to "109"[2013/06/21-16:40:49 - 30192] [CORE] INFO: Setting up serialization via flock[2013/06/21-16:40:49 - 30192] [CORE] INFO: Beginning prefork (4 processes) [2013/06/21-16:40:49 - 30192] [CORE] INFO: Starting "4" children [2013/06/21-16:40:49 - 30193] [CORE] DEBUG: Child Preforked (30193)[2013/06/21-16:40:49 - 30193] [CBPOLICYD] DEBUG: Starting up caching engine[2013/06/21-16:40:49 - 30194] [CORE] DEBUG: Child Preforked (30194)[2013/06/21-16:40:49 - 30194] [CBPOLICYD] DEBUG: Starting up caching engine[2013/06/21-16:40:50 - 30195] [CORE] DEBUG: Child Preforked (30195)[2013/06/21-16:40:50 - 30195] [CBPOLICYD] DEBUG: Starting up caching engine[2013/06/21-16:40:50 - 30192] [CORE] DEBUG: Parent ready for children. [2013/06/21-16:40:50 - 30197] [CORE] DEBUG: Child Preforked (30197)[2013/06/21-16:40:50 - 30197] [CBPOLICYD] DEBUG: Starting up caching engineroot@policyd:~#On Fri, Jun 21, 2013 at 4:58 PM, Nigel Kukard <[email protected] <mailto:[email protected]>> wrote:On 06/21/2013 03:49 PM, Nuno Abrantes wrote:Hello I'm trying to configure a cluebringer. I have and Ubuntu installed and running with all the necessary packages, cluebringer, clubringer wui, postfix... I've setup a "test" quota but I don't see any ckind of intervention of cluebringer, perhaps postfox isn't passing information to it. Bypassing... Can someone hint me please.... I have no errors (It's better than nothing..). My postfix uses a smarthost. Here is my main.cf <http://main.cf>: smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no append_dot_mydomain = no readme_directory = no smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache myhostname = policyd alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = policyd."customer-domain".com.pt <http://com.pt>, policyd, localhost.localdomain, localhost relayhost = 192.168.1.38 mynetworks = 127.0.0.0/8 <http://127.0.0.0/8> [::ffff:127.0.0.0]/104 [::1]/128 smtpd_recipient_restrictions = check_policy_service inet:127.0.0.1:10031 <http://127.0.0.1:10031> permit mynetworks reject_unauth_destination mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = allBest to try turn on debugging in cbpolicyd config on the 2 lines there and see what the logs say :) You are sending mail via smtp and not local submission?
shell sounds like local submission, postfix does not support the delegation protocol for locally submitted mail unfortunately, you'll need to use smtp
-N
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org
