Antonio J. wrote:
> Sorry for my persistence.
> Resume of my steps:
>
> 1.- Update from subversion r422. Replaced files :
> cluebringer/trunk/cbpadmin
> cluebringer/trunk/cbpolicyd
> cluebringer/trunk/cbp/*
> cluebringer/trunk/cluebringer.conf
>
> 2.- Patched "amavisd-new-2.5.4" with
> "amavisd-new-2.5.3_policyd-200802070918.patch".
> Updated cluebringer/trunk/contrib/amavisd-policyd.pm
>
> 3.- Added include_config_files("...") at amavisd.conf with
> amavisd-policyd.pm path
>
> 4.- Attached my clueringer.conf
>
> Now I get this error at maillog:
>
> Feb 24 19:56:34 mail amavis[31028]: (31028-01) (!!)[TRACKING] ERROR:
> Failed to select session tracking info: cbp::dblayer::DBSelect(111):
> Error executing select '\n\t\tSELECT\n\t\t\tInstance,
> QueueID,\n\t\t\tUnixTimestamp,\n\t\t\tClientAddress, ClientName,
> ClientReverseName,\n\t\t\tProtocol,\n\t\t\tEncryptionPr
> otocol, EncryptionCipher, EncryptionKeySize,\n\t\t\tSASLMethod,
> SASLSender,
> SASLUsername,\n\t\t\tHelo,\n\t\t\tSender,\n\t\t\tSize,\n\t\t\tRecipientData\n\t\tFROM\n\t\t\tsession_tracking\n\t\tWHERE\n\t\t\tQueueID
> = ?\n\t\t\tAND ClientAddress = ?\n\t\t\tAND Sender = ?\n\t\t': no such
> table: session_tracking(1) at dbdimp.c line 271
"no such table"  <= why is this?

> And at policyd.log shows that amavis module doesn't start:
>
> [2009/02/24-19:46:43 - 30706] [CBPOLICYD] NOTICE: Policyd v2 /
> Cluebringer - v2.1.0a
> [2009/02/24-19:46:43 - 30706] [CBPOLICYD] NOTICE: Initializing system
> modules.
> [2009/02/24-19:46:43 - 30706] [CBPOLICYD] NOTICE: System modules
> initialized.
> [2009/02/24-19:46:43 - 30706] [CBPOLICYD] NOTICE: Module load started...
> [2009/02/24-19:46:43 - 30706] [CORE] NOTICE: => AccessControl: enabled
> [2009/02/24-19:46:43 - 30706] [CORE] NOTICE: => Accounting: enabled
> [2009/02/24-19:46:44 - 30706] [CORE] NOTICE: => CheckHelo: enabled
> [2009/02/24-19:46:44 - 30706] [CORE] NOTICE: => CheckSPF: enabled
> [2009/02/24-19:46:44 - 30706] [CORE] NOTICE: => Greylisting: enabled
> [2009/02/24-19:46:44 - 30706] [CORE] NOTICE: => Quotas: enabled
> [2009/02/24-19:46:44 - 30706] [CORE] NOTICE: => Protocol(Postfix):
> enabled
> [2009/02/24-19:46:44 - 30706] [CORE] NOTICE: => Protocol(Bizanga):
> enabled
> [2009/02/24-19:46:44 - 30706] [CBPOLICYD] NOTICE: Module load done.
>
> I use mysql database. I observed that policyd is putting info into
> database. There are data at session_tracking table.
>

Using a clean installation of policyd from trunk, without changing any
files whatsoever. I get this ....

[2009/02/25-05:47:12 - 19590] [CBPOLICYD] NOTICE: Policyd v2 /
Cluebringer - v2.1.0a
[2009/02/25-05:47:12 - 19590] [CBPOLICYD] NOTICE: Initializing system
modules.
[2009/02/25-05:47:12 - 19590] [CBPOLICYD] NOTICE: System modules
initialized.
[2009/02/25-05:47:12 - 19590] [CBPOLICYD] NOTICE: Module load started...
[2009/02/25-05:47:12 - 19590] [CORE] NOTICE:   => AccessControl: enabled
[2009/02/25-05:47:12 - 19590] [CORE] NOTICE:   => Accounting: enabled
[2009/02/25-05:47:12 - 19590] [CORE] NOTICE:   => Amavis: disabled
[2009/02/25-05:47:12 - 19590] [CORE] NOTICE:   => CheckHelo: enabled
[2009/02/25-05:47:12 - 19590] [CORE] NOTICE:   => CheckSPF: enabled
[2009/02/25-05:47:12 - 19590] [CORE] NOTICE:   => Greylisting: enabled
[2009/02/25-05:47:12 - 19590] [CORE] NOTICE:   => Quotas: enabled
[2009/02/25-05:47:12 - 19590] [CORE] NOTICE:   => Protocol(Postfix): enabled
[2009/02/25-05:47:12 - 19590] [CORE] NOTICE:   => Protocol(Bizanga): enabled
[2009/02/25-05:47:12 - 19590] [CBPOLICYD] NOTICE: Module load done.
[2009/02/25-05:47:12 - 19590] [CBPOLICYD] NOTICE: Session tracking is
ENABLED.
[2009/02/25-05:47:12 - 19590] [CBPOLICYD] DEBUG: Opening syslog.
[2009/02/25-05:47:12 - 19590] [CBPOLICYD] DEBUG: Syslog open.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to