From: [email protected] [mailto:[email protected]] On Behalf Of Nigel Kukard Sent: Friday, May 28, 2010 2:06 AM To: [email protected] Subject: Re: [policyd-users] Certain domains being ignored On 05/27/10 23:43, Jason Gauthier wrote: From: [email protected] [mailto:[email protected]] On Behalf Of Nigel Kukard Sent: Thursday, May 27, 2010 6:18 PM To: [email protected] Subject: Re: [policyd-users] Certain domains being ignored How do you suggest enabling debugging for everything? I have a test server, but I cannot redirect these domains to it. I will do my testing outside of business hours, and the impact is reduced significantly. I have log_level=4 in cluebringer.conf Is there a per-module option too? check in the config file ... # Things to log in extreme detail # modules - Log detailed module running information # tracking - Log detailed tracking information # policies - Log policy resolution # protocols - Log general protocol info, but detailed # bizanga - Log the bizanga protocol # cache - Log cache usage on client shutdown # # There is no default for this configuration option. Options can be # separated by commas. ie. protocols,modules # #log_detail= Regards Nigel Great , Thanks! I did not see that before. I enabled everything except cache and bizanga. Here is what I got: [2010/05/27-19:38:29 - 9207] [CORE] INFO: 2010/05/27-19:38:29 CONNECT TCP Peer: "127.0.0.1:38831" Local: "127.0.0.1:10031" [2010/05/27-19:38:29 - 9207] [PROTOCOLS/Postfix] DEBUG: Possible Postfix protocol [2010/05/27-19:38:29 - 9207] [PROTOCOLS/Postfix] INFO: Identified Postfix protocol [2010/05/27-19:38:29 - 9207] [TRACKING] DEBUG: No session tracking data exists for request: $VAR1 = { 'size' => '2179', '_timestamp' => 1275003509, 'helo_name' => 'localhost', 'reverse_client_name' => 'localhost', 'queue_id' => '0D8392A6006', 'etrn_domain' => '', 'request' => 'smtpd_access_policy', 'protocol_state' => 'END-OF-MESSAGE', 'stress' => '', 'recipient' => '[email protected]', '_peer_address' => '127.0.0.1', 'instance' => '2408.4bff0275.d5a1.0', 'protocol_name' => 'ESMTP', 'recipient_count' => '1', 'sender' => '[email protected]', 'client_name' => 'localhost', 'client_address' => '127.0.0.1', '_protocol_transport' => 'Postfix' }; [2010/05/27-19:38:29 - 9207] [TRACKING] DEBUG: Protocol state is 'END-OF-MESSAGE', decoding policy... [2010/05/27-19:38:29 - 9207] [TRACKING] DEBUG: Decoded into: $VAR1 = undef; [2010/05/27-19:38:29 - 9207] [TRACKING] DEBUG: Request translated into session data: $VAR1 = { 'SASLUsername' => undef, 'QueueID' => '0D8392A6006', '_PeerAddress' => bless( { 'raw_ip' => '127.0.0.1', 'ip' => '127.0.0.1', 'ip_version' => 4, 'cidr' => 32 }, 'awitpt::netip' ), 'RecipientData' => '', 'Instance' => '2408.4bff0275.d5a1.0', 'EncryptionCipher' => undef, 'Size' => '2179', 'EncryptionKeySize' => undef, 'UnixTimestamp' => 1275003509, 'ProtocolTransport' => 'Postfix', 'PeerAddress' => '127.0.0.1', 'EncryptionProtocol' => undef, 'Helo' => 'localhost', 'ClientAddress' => '127.0.0.1', 'ClientName' => 'localhost', 'Sender' => '[email protected]', 'SASLSender' => undef, '_ClientAddress' => bless( { 'raw_ip' => '127.0.0.1', 'ip' => '127.0.0.1', 'ip_version' => 4, 'cidr' => 32 }, 'awitpt::netip' ), 'ProtocolState' => 'END-OF-MESSAGE', 'Protocol' => 'ESMTP', 'ClientReverseName' => 'localhost', 'SASLMethod' => undef }; [2010/05/27-19:38:29 - 9207] [CBPOLICYD] DEBUG: Got request, running modules... [2010/05/27-19:38:29 - 9207] [CBPOLICYD] DEBUG: Running module: Access Control Plugin [2010/05/27-19:38:29 - 9207] [CBPOLICYD] DEBUG: Running module: HELO/EHLO Check Plugin [2010/05/27-19:38:29 - 9207] [CBPOLICYD] DEBUG: Running module: SPF Check Plugin [2010/05/27-19:38:29 - 9207] [CBPOLICYD] DEBUG: Running module: Greylisting Plugin [2010/05/27-19:38:29 - 9207] [CBPOLICYD] DEBUG: Running module: Quotas Plugin Paste your postfix configuration please, I don't see any RCPT stage policy requests being sent, maybe you are permit_*'ing the mail before the policy check? -N --------------------------- Great! Got it! Thanks so much. I was missing the domains in my recipient_policyd table. Dont how I did that.. but thanks for helping me isolate it! Jason
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
