Hello,
Here's the info, three messages going through webmail, while 2 are
allowed per day.
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: Process Backgrounded
[2009/11/29-20:34:15 - 9769] [CBPOLICYD] NOTICE: Policyd v2 /
Cluebringer - v2.0.8
[2009/11/29-20:34:15 - 9769] [CBPOLICYD] NOTICE: Initializing system
modules.
[2009/11/29-20:34:15 - 9769] [CBPOLICYD] NOTICE: System modules initialized.
[2009/11/29-20:34:15 - 9769] [CBPOLICYD] NOTICE: Module load started...
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: => AccessControl: enabled
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: => CheckHelo: enabled
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: => CheckSPF: enabled
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: => Greylisting: enabled
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: => Quotas: enabled
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: => Protocol(Postfix): enabled
[2009/11/29-20:34:15 - 9769] [CBPOLICYD] NOTICE: Module load done.
[2009/11/29-20:34:15 - 9769] [CBPOLICYD] DEBUG: Opening syslog,
destination = 'unix', facility = 'mail'.
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: 2009/11/29-20:34:15 cbp
(type Net::Server::PreFork) starting! pid(9769)
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: Binding to TCP port 10031 on
host *
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: Setting gid to "1499 1499"
[2009/11/29-20:34:15 - 9769] [CORE] NOTICE: Setting uid to "1499"
[2009/11/29-20:34:15 - 9769] [CORE] INFO: Setting up serialization via flock
[2009/11/29-20:34:15 - 9769] [CORE] INFO: Beginning prefork (4 processes)
[2009/11/29-20:34:15 - 9769] [CORE] INFO: Starting "4" children
[2009/11/29-20:34:15 - 9770] [CORE] DEBUG: Child Preforked (9770)
[2009/11/29-20:34:15 - 9770] [CBPOLICYD] DEBUG: Starting up caching engine
[2009/11/29-20:34:15 - 9771] [CORE] DEBUG: Child Preforked (9771)
[2009/11/29-20:34:15 - 9771] [CBPOLICYD] DEBUG: Starting up caching engine
[2009/11/29-20:34:15 - 9772] [CORE] DEBUG: Child Preforked (9772)
[2009/11/29-20:34:15 - 9769] [CORE] DEBUG: Parent ready for children.
[2009/11/29-20:34:15 - 9772] [CBPOLICYD] DEBUG: Starting up caching engine
[2009/11/29-20:34:15 - 9773] [CORE] DEBUG: Child Preforked (9773)
[2009/11/29-20:34:15 - 9773] [CBPOLICYD] DEBUG: Starting up caching engine
[2009/11/29-20:36:39 - 9772] [CORE] INFO: 2009/11/29-20:36:39 CONNECT
TCP Peer: "127.0.0.1:60590" Local: "127.0.0.1:10031"
[2009/11/29-20:36:39 - 9772] [PROTOCOLS/Postfix] DEBUG: Possible Postfix
protocol
[2009/11/29-20:36:39 - 9772] [PROTOCOLS/Postfix] INFO: Identified
Postfix protocol
[2009/11/29-20:36:39 - 9769] [CORE] INFO: Starting "1" children
[2009/11/29-20:36:39 - 9772] [TRACKING] DEBUG: No session tracking data
exists for request: $VAR1 = {
'size' => '554',
'_timestamp' => 1259519799,
'helo_name' => 'heraclitus.vip.gr',
'reverse_client_name' => 'localhost',
'queue_id' => '2C1B3980',
'etrn_domain' => '',
'request' => 'smtpd_access_policy',
'protocol_state' => 'END-OF-MESSAGE',
'stress' => '',
'recipient' => '[email protected]',
'instance' => '2669.4b12bf37.2aca2.0',
'protocol_name' => 'ESMTP',
'recipient_count' => '1',
'sender' => '[email protected]',
'client_name' => 'localhost',
'client_address' => '127.0.0.1',
'_protocol_transport' => 'Postfix'
};
[2009/11/29-20:36:39 - 9772] [TRACKING] DEBUG: Protocol state is
'END-OF-MESSAGE', decoding policy...
[2009/11/29-20:36:39 - 9839] [CORE] DEBUG: Child Preforked (9839)
[2009/11/29-20:36:39 - 9772] [TRACKING] DEBUG: Decoded into: $VAR1 = {};
[2009/11/29-20:36:39 - 9839] [CBPOLICYD] DEBUG: Starting up caching engine
[2009/11/29-20:36:39 - 9772] [TRACKING] DEBUG: Request translated into
session data: $VAR1 = {
'SASLUsername' => undef,
'QueueID' => '2C1B3980',
'RecipientData' => '',
'Instance' => '2669.4b12bf37.2aca2.0',
'EncryptionCipher' => undef,
'Size' => '554',
'EncryptionKeySize' => undef,
'ParsedClientAddress' => {
'Broadcast_Long' => 2130706433,
'Network' => '127.0.0.1',
'IP_Long' => 2130706433,
'Broadcast' => '127.0.0.1',
'IP' => '127.0.0.1',
'Mask_Long' => 4294967295,
'Network_Long' => 2130706433
},
'ProtocolTransport' => 'Postfix',
'EncryptionProtocol' => undef,
'Helo' => 'heraclitus.vip.gr',
'ClientAddress' => '127.0.0.1',
'ClientName' => 'localhost',
'Sender' => '[email protected]',
'SASLSender' => undef,
'Timestamp' => 1259519799,
'ProtocolState' => 'END-OF-MESSAGE',
'_Recipient_To_Policy' => {},
'Protocol' => 'ESMTP',
'ClientReverseName' => 'localhost',
'SASLMethod' => undef
};
[2009/11/29-20:36:39 - 9772] [CBPOLICYD] DEBUG: Got request, running
modules...
[2009/11/29-20:36:39 - 9772] [CBPOLICYD] DEBUG: Running module: Access
Control Plugin
[2009/11/29-20:36:39 - 9772] [CBPOLICYD] DEBUG: Running module:
HELO/EHLO Check Plugin
[2009/11/29-20:36:39 - 9772] [CBPOLICYD] DEBUG: Running module: SPF
Check Plugin
[2009/11/29-20:36:39 - 9772] [CBPOLICYD] DEBUG: Running module:
Greylisting Plugin
[2009/11/29-20:36:39 - 9772] [CBPOLICYD] DEBUG: Running module: Quotas
Plugin
[2009/11/29-20:36:39 - 9772] [CBPOLICYD] DEBUG: Done with modules
[2009/11/29-20:37:01 - 9771] [CORE] INFO: 2009/11/29-20:37:01 CONNECT
TCP Peer: "127.0.0.1:60595" Local: "127.0.0.1:10031"
[2009/11/29-20:37:01 - 9771] [PROTOCOLS/Postfix] DEBUG: Possible Postfix
protocol
[2009/11/29-20:37:01 - 9771] [PROTOCOLS/Postfix] INFO: Identified
Postfix protocol
[2009/11/29-20:37:01 - 9771] [TRACKING] DEBUG: No session tracking data
exists for request: $VAR1 = {
'size' => '554',
'_timestamp' => 1259519821,
'helo_name' => 'heraclitus.vip.gr',
'reverse_client_name' => 'localhost',
'queue_id' => 'AA95F980',
'etrn_domain' => '',
'request' => 'smtpd_access_policy',
'protocol_state' => 'END-OF-MESSAGE',
'stress' => '',
'recipient' => '[email protected]',
'instance' => '2669.4b12bf4d.aa894.0',
'protocol_name' => 'ESMTP',
'recipient_count' => '1',
'sender' => '[email protected]',
'client_name' => 'localhost',
'client_address' => '127.0.0.1',
'_protocol_transport' => 'Postfix'
};
[2009/11/29-20:37:01 - 9771] [TRACKING] DEBUG: Protocol state is
'END-OF-MESSAGE', decoding policy...
[2009/11/29-20:37:01 - 9771] [TRACKING] DEBUG: Decoded into: $VAR1 = {};
[2009/11/29-20:37:01 - 9771] [TRACKING] DEBUG: Request translated into
session data: $VAR1 = {
'SASLUsername' => undef,
'QueueID' => 'AA95F980',
'RecipientData' => '',
'Instance' => '2669.4b12bf4d.aa894.0',
'EncryptionCipher' => undef,
'Size' => '554',
'EncryptionKeySize' => undef,
'ParsedClientAddress' => {
'Broadcast_Long' => 2130706433,
'Network' => '127.0.0.1',
'IP_Long' => 2130706433,
'Broadcast' => '127.0.0.1',
'IP' => '127.0.0.1',
'Mask_Long' => 4294967295,
'Network_Long' => 2130706433
},
'ProtocolTransport' => 'Postfix',
'EncryptionProtocol' => undef,
'Helo' => 'heraclitus.vip.gr',
'ClientAddress' => '127.0.0.1',
'ClientName' => 'localhost',
'Sender' => '[email protected]',
'SASLSender' => undef,
'Timestamp' => 1259519821,
'ProtocolState' => 'END-OF-MESSAGE',
'_Recipient_To_Policy' => {},
'Protocol' => 'ESMTP',
'ClientReverseName' => 'localhost',
'SASLMethod' => undef
};
[2009/11/29-20:37:01 - 9771] [CBPOLICYD] DEBUG: Got request, running
modules...
[2009/11/29-20:37:01 - 9771] [CBPOLICYD] DEBUG: Running module: Access
Control Plugin
[2009/11/29-20:37:01 - 9771] [CBPOLICYD] DEBUG: Running module:
HELO/EHLO Check Plugin
[2009/11/29-20:37:01 - 9771] [CBPOLICYD] DEBUG: Running module: SPF
Check Plugin
[2009/11/29-20:37:01 - 9771] [CBPOLICYD] DEBUG: Running module:
Greylisting Plugin
[2009/11/29-20:37:01 - 9771] [CBPOLICYD] DEBUG: Running module: Quotas
Plugin
[2009/11/29-20:37:01 - 9771] [CBPOLICYD] DEBUG: Done with modules
[2009/11/29-20:37:24 - 9773] [CORE] INFO: 2009/11/29-20:37:24 CONNECT
TCP Peer: "127.0.0.1:60600" Local: "127.0.0.1:10031"
[2009/11/29-20:37:24 - 9773] [PROTOCOLS/Postfix] DEBUG: Possible Postfix
protocol
[2009/11/29-20:37:24 - 9773] [PROTOCOLS/Postfix] INFO: Identified
Postfix protocol
[2009/11/29-20:37:24 - 9773] [TRACKING] DEBUG: No session tracking data
exists for request: $VAR1 = {
'size' => '556',
'_timestamp' => 1259519844,
'helo_name' => 'heraclitus.vip.gr',
'reverse_client_name' => 'localhost',
'queue_id' => '6B61B980',
'etrn_domain' => '',
'request' => 'smtpd_access_policy',
'protocol_state' => 'END-OF-MESSAGE',
'stress' => '',
'recipient' => '[email protected]',
'instance' => '2669.4b12bf64.6b552.0',
'protocol_name' => 'ESMTP',
'recipient_count' => '1',
'sender' => '[email protected]',
'client_name' => 'localhost',
'client_address' => '127.0.0.1',
'_protocol_transport' => 'Postfix'
};
[2009/11/29-20:37:24 - 9773] [TRACKING] DEBUG: Protocol state is
'END-OF-MESSAGE', decoding policy...
[2009/11/29-20:37:24 - 9773] [TRACKING] DEBUG: Decoded into: $VAR1 = {};
[2009/11/29-20:37:24 - 9773] [TRACKING] DEBUG: Request translated into
session data: $VAR1 = {
'SASLUsername' => undef,
'QueueID' => '6B61B980',
'RecipientData' => '',
'Instance' => '2669.4b12bf64.6b552.0',
'EncryptionCipher' => undef,
'Size' => '556',
'EncryptionKeySize' => undef,
'ParsedClientAddress' => {
'Broadcast_Long' => 2130706433,
'Network' => '127.0.0.1',
'IP_Long' => 2130706433,
'Broadcast' => '127.0.0.1',
'IP' => '127.0.0.1',
'Mask_Long' => 4294967295,
'Network_Long' => 2130706433
},
'ProtocolTransport' => 'Postfix',
'EncryptionProtocol' => undef,
'Helo' => 'heraclitus.vip.gr',
'ClientAddress' => '127.0.0.1',
'ClientName' => 'localhost',
'Sender' => '[email protected]',
'SASLSender' => undef,
'Timestamp' => 1259519844,
'ProtocolState' => 'END-OF-MESSAGE',
'_Recipient_To_Policy' => {},
'Protocol' => 'ESMTP',
'ClientReverseName' => 'localhost',
'SASLMethod' => undef
};
[2009/11/29-20:37:24 - 9773] [CBPOLICYD] DEBUG: Got request, running
modules...
[2009/11/29-20:37:24 - 9773] [CBPOLICYD] DEBUG: Running module: Access
Control Plugin
[2009/11/29-20:37:24 - 9773] [CBPOLICYD] DEBUG: Running module:
HELO/EHLO Check Plugin
[2009/11/29-20:37:24 - 9773] [CBPOLICYD] DEBUG: Running module: SPF
Check Plugin
[2009/11/29-20:37:24 - 9773] [CBPOLICYD] DEBUG: Running module:
Greylisting Plugin
[2009/11/29-20:37:24 - 9773] [CBPOLICYD] DEBUG: Running module: Quotas
Plugin
[2009/11/29-20:37:24 - 9773] [CBPOLICYD] DEBUG: Done with modules
[2009/11/29-20:38:04 - 9769] [CORE] INFO: Killing "1" children
[2009/11/29-20:38:04 - 9773] [CBPOLICYD] DEBUG: Shutting down caching
engine (9773)
Nigel Kukard wrote:
I am trying to limit all e-mail users of a domain to a specific number of
outgoing e-mails per day, apart of a few exceptions, who would be allowed to
send more.
So I am trying firstly for test, to limit a user say [email protected] via
webui. So I link to the default outbound policy a declaration of Name:
[email protected], Link to policy: Default outbound, Track: u...@domain,
Period: 86400, Verdict: Reject, Data and Comment fields are remaining empty.
Then I set the limits, Type: MessageCount, Counter Limit:2 so it's supposed
that the [email protected] can send only 2 mails per day before gets blocked.
But the account doesn't get blocked after sending 2 e-mails. What I am going
wrong?
Enable full logging and paste please, you can't expect us to help you if
you don't provide any information.
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users