Re: [SLE] Spamassassin and amavis configuration

From: Marcos Vinicius Lazarini (lazarini_at_nics.unicamp.br)
Date: 08/30/04

  • Next message: Bob S.: "Re: [SLE] apt-get upgrade -> unknown signature or unsigned error"
    Date: Mon, 30 Aug 2004 01:12:59 -0300 (BRT)
    To: suse-linux-e@suse.com
    
    

    On Sun, 29 Aug 2004, Scott Leighton wrote:
    > On Sunday 29 August 2004 7:46 pm, Marcos Vinicius Lazarini wrote:
    > > What I saw here is that amavis completely ignores my
    > > /etc/mail/spamassassin/local.cf ...
    >
    > Configure what you would have configured in local.cf in /etc/amavisd.conf
    > instead, read the comments there.

    man Mail::SpamAssassin::Conf says spam-headers status are on by default;
    but I got spam-headers only in spam. How to add this lines to
    amavisd.conf, if there is no such variable?

    From the man page:
    Syntax: add_header { spam | ham | all } header_name string
    ....
    add_header spam Flag _YESNOCAPS_
    add_header all Status _YESNO_, hits=_HITS_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_
    add_header all Level _STARS(*)_
    add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_

    I'm not a perl programmer, but should I add to my amavisd.conf something
    like this?
    $sa_add_header= 'spam Flag _YESNOCAPS';
    Response to this:
    'Error in config file /etc/amavisd.conf: Global symbol "$sa_add_header"
    requires explicit package name at /etc/amavisd.conf line 1062.'

    Any Ideas?

    --
    Marcos Lazarini
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Bob S.: "Re: [SLE] apt-get upgrade -> unknown signature or unsigned error"