Pyzor + DCC problem

Discussion in 'Installation/Configuration' started by Belsameth, Jun 15, 2006.

  1. Belsameth

    Belsameth New Member

    Hiya,

    I used one of the howto's here as a basic system, tho a bit modified to be able to use Postfix Admin and Maia Mailguard.
    Anyway, whenever I run spamassassin -D I get the following errors that I can't seem to figure out.

    config: SpamAssassin failed to parse line, skipping: dcc_add_header 1
    config: SpamAssassin failed to parse line, skipping: pyzor_add_header 1

    I'd say it's somewhere in the local.cf file, but I've no idea where. everything seems to be correct and working, except those 2 things.

    Anyone here have any idea where I should (start to) look?

    local.cf:

    Code:
    ###########################################################################
    #
    # rewrite_header Subject *****SPAM*****
    # report_safe 1
    # trusted_networks 212.17.35.
    # lock_method flock
    
    # dcc
    use_dcc 0
    dcc_path /usr/bin/dccproc
    dcc_add_header 1
    dcc_dccifd_path /usr/sbin/dccifd
    
    #pyzor
    use_pyzor 0
    pyzor_path /usr/bin/pyzor
    pyzor_add_header 1
    
    #razor
    use_razor2 1
    razor_config /etc/razor/razor-agent.conf
    
    #bayes
    use_bayes 1
    use_bayes_rules 1
    bayes_auto_learn 1
    bayes_store_module                Mail::SpamAssassin::BayesStore::SQL
    bayes_sql_dsn                     DBI:mysql:maia
    bayes_sql_username                [I]username[/I]
    bayes_sql_password                [I]password[/I]
    auto_whitelist_factory            Mail::SpamAssassin::SQLBasedAddrList
    user_awl_dsn                      DBI:mysql:maia
    user_awl_sql_username             [I]username[/I]
    user_awl_sql_password             [I]password[/I]
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Do the warnings disappear when you comment out dcc_add_header 1 and pyzor_add_header 1 in local.cf?
     
  3. Belsameth

    Belsameth New Member

    I

    I've commented out the use DCC and use Pyzor which helps.
    I've not yet tried to comment out just those lines.
    I assumed they were needed for the proper functioning of both.

    Edit: Yup, with those lines commented out it runs perfectly :)
     
    Last edited: Jun 15, 2006
  4. falko

    falko Super Moderator Howtoforge Staff

    Then leave it like that. :)
     
  5. Belsameth

    Belsameth New Member

    I assume it's no big deal then...
    It annoys me tho, especially since there doesn't seem to be any reason for the failure.
    Spamassassin -D doesn't give any extra info either.

    Guess I'll dig a bit more when I'm bored :D
     
  6. brianaustin

    brianaustin New Member

    theres another file to look at

    /etc/mail/spamassassin/v310.pre

    enable the plugins

    ;^)
     
  7. brianaustin

    brianaustin New Member

    also

    turn those 0 to 1

    use_pyzor 1
    use_dcc 1
     

Share This Page