From: [email protected]
To: [email protected]
Subject: FW: [policyd-users] Server name undefined policyd + amavis
Date: Fri, 11 May 2012 13:33:13 +0200




>From: [email protected]
>To: [email protected]
>Subject: Re: [policyd-users] Server name undefined policyd + amavis
>
>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.

Hello,

Now I have running policyd with amavis 2.6.4 and I have full debug files but 
Amavis is still not working through policyd. In logs I can see that amavis 
module is not loaded.

Attached cbpolicyd.log

Do you need anything else or other log? 

On the other hand I also paste postfig config files:

    cat /etc/postfix/main.cf | grep -v ^# | grep .
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    data_directory = /var/lib/postfix
    mail_owner = postfix
    mydomain = ddol-test.com
    myorigin = $myhostname
    inet_interfaces = localhost, 192.168.66.98
    inet_protocols = all
    mydestination = $myhostname, localhost.$mydomain, localhost
    unknown_local_recipient_reject_code = 550
    mynetworks = 192.168.66.0/24, 127.0.0.0/8
    relay_domains = $mydestination
    smtpd_recipient_restrictions =
            check_policy_service inet:127.0.0.1:10031,
            permit_mynetworks,reject
    smtpd_end_of_data_restrictions =
            check_policy_service inet:127.0.0.1:10031
    smtpd_client_restrictions =
            permit_mynetworks,
            check_client_access pcre:/etc/postfix/dspam_filter_access
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases

    transport_maps = ldap:/etc/postfix/perditionMailhost_ldap

    debug_peer_level = 2
    debugger_command =
             PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
             ddd $daemon_directory/$process_name $process_id & sleep 5
    sendmail_path = /usr/sbin/sendmail.postfix
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    setgid_group = postdrop
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.6.6/samples
    readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
    local_recipient_maps =
    content_filter=lmtp:unix:/tmp/dspam.sock
    dspam_destination_recipient_limit = 1

cat /etc/postfix/master.cf | grep -v ^# | grep .
    smtp      inet  n       -       n       -       200       smtpd -v
    pickup    fifo  n       -       n       60      1       pickup
    cleanup   unix  n       -       n       -       0       cleanup
    qmgr      fifo  n       -       n       300     1       qmgr
    tlsmgr    unix  -       -       n       1000?   1       tlsmgr
    rewrite   unix  -       -       n       -       -       trivial-rewrite
    bounce    unix  -       -       n       -       0       bounce
    defer     unix  -       -       n       -       0       bounce
    trace     unix  -       -       n       -       0       bounce
    verify    unix  -       -       n       -       1       verify
    flush     unix  n       -       n       1000?   0       flush
    proxymap  unix  -       -       n       -       -       proxymap
    proxywrite unix -       -       n       -       1       proxymap
    smtp      unix  -       -       n       -       -       smtp
    relay     unix  -       -       n       -       -       smtp
            -o smtp_fallback_relay=
            -o disable_dns_lookups=yes
    showq     unix  n       -       n       -       -       showq
    error     unix  -       -       n       -       -       error
    retry     unix  -       -       n       -       -       error
    discard   unix  -       -       n       -       -       discard
    local     unix  -       n       n       -       -       local
    virtual   unix  -       n       n       -       -       virtual
    lmtp      unix  -       -       n       -       -       lmtp
    anvil     unix  -       -       n       -       1       anvil
    scache    unix  -       -       n       -       1       scache
    dspam     unix  -       n       n       -       -       pipe
      flags=Rhqu user=dspam argv=/usr/bin/dspam
      --client
      --deliver=innocent,spam
      --user ${recipient}
      --mail-from=${sender}
    dspam-retrain   unix    -       n       n       -    10     pipe
      flags=Ru user=dspam argv=/usr/local/bin/dspam-retrain $nexthop $sender 
$recipient
    smtp-amavis unix -      -       n     -        2  smtp
     -o smtp_data_done_timeout=1200
     -o disable_dns_lookups=yes
    localhost:10026 inet  n -       n       -       -        smtpd
      -o content_filter=
      -o 
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
      -o smtpd_helo_restrictions=
      -o smtpd_client_restrictions=
      -o smtpd_sender_restrictions=
      -o smtpd_recipient_restrictions=permit_mynetworks,reject
      -o mynetworks=127.0.0.0/8
      -o smtpd_authorized_xforward_hosts=127.0.0.0/8

Many thanks for all your support!

Regards.

Manel
                                                                                
  

Attachment: cbpolicyd.log.gz
Description: GNU Zip compressed data

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

Reply via email to