On 05/11/12 07:19, Manel Gimeno Zaragozá wrote:
>Date: Fri, 11 May 2012 06:51:29 +0000
>From: [email protected]
>To: [email protected]
>Subject: Re: [policyd-users] Server name undefined policyd + amavis

>Full logs and set of config files are required to investigate. Did you patch amavisd?

Hello,

Yes, I've patched amavisd, but I'm using Amavis 2.6.6 and there was not patch file for this version, so I had to path it manually looking for correctly lines to add it.

is it possible the problem comes due to using 2.6.6 amavis version? should I try lower version?

On the other hand, I paste my config files. I've tried to set log_level to debug mode, but It's not loggin too much.
Do you need more files? please tell which ones...

#cat /etc/cluebringer.conf
    [server]
    protocols=<<EOT
    Postfix
    Bizanga
    EOT
    modules=<<EOT
    Core
    AccessControl
    Accounting
    Amavis
    CheckHelo
    CheckSPF
    Greylisting
    Quotas
    EOT
    log_level=4
    log_file=/var/log/cbpolicyd.log
    log_mail=maillog
    [database]
    DSN=DBI:mysql:database=policyd;host=localhost
    Username=root
    Password=password
    bypass_mode=tempfail
    bypass_timeout=30
    [AccessControl]
    enable=1
    [Accounting]
    enable=1
    [Amavis]
    enable=1 # Disabled by default
    [CheckHelo]
    enable=1
    [CheckSPF]
    enable=1
    [Greylisting]
    enable=1
    [Quotas]
    enable=1

tail -f /var/log/cbpolicyd.log
    [2012/05/11-08:59:52 - 1977] [CORE] INFO: Starting "1" children
    [2012/05/11-08:59:52 - 1999] [CBPOLICYD] INFO: Got request #1
    [2012/05/11-08:59:52 - 2425] [CORE] DEBUG: Child Preforked (2425)
[2012/05/11-08:59:52 - 2425] [CBPOLICYD] DEBUG: Starting up caching engine [2012/05/11-09:01:32 - 1999] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:50599, Local: 127.0.0.1:10031
    [2012/05/11-09:01:32 - 1977] [CORE] INFO: Killing "1" children
[2012/05/11-09:01:32 - 2350] [CBPOLICYD] DEBUG: Shutting down caching engine (2350) [2012/05/11-09:04:52 - 2012] [CBPOLICYD] WARNING: Client closed connection => Peer: 127.0.0.1:50577, Local: 127.0.0.1:10031
    [2012/05/11-09:04:52 - 1977] [CORE] INFO: Killing "1" children
[2012/05/11-09:04:52 - 2102] [CBPOLICYD] DEBUG: Shutting down caching engine (2102)

Could you try the last supported version of Amavisd 2.6.4.

You also need to enable full debugging, look in the config file for log_detail.

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

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

Reply via email to