[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [vps-mail] SpamAssassin headers
I tried the following:
tests=_TESTSSCORES(\n)_
tests=_TESTSSCORES("\n")_
tests=_TESTSSCORES(, \n)_
...but none of those work. How do I incorporate the "\n" to the line?
Thanks,
Jim Smith
> -----Original Message-----
> From: owner-vps-mail@xxxxxxxxxxxx
> [mailto:owner-vps-mail@xxxxxxxxxxxx] On Behalf Of Shea Frederick
> Sent: Monday, May 03, 2004 4:25 PM
> To: vps-mail@xxxxxxxxxxxx
> Subject: RE: [vps-mail] SpamAssassin headers
>
> New line is gonna be a "\n"
>
> - Shea Frederick
> Jibe Media Hosting
> 1.801.298.5423 x4 - Direct Local Line
> 1.877.899.JIBE - Toll Free
> http://www.jibehost.com
>
>
>
> -----Original Message-----
> From: owner-vps-mail@xxxxxxxxxxxx [mailto:owner-vps-mail@xxxxxxxxxxxx]
> On Behalf Of Jim Smith
> Sent: Saturday, May 01, 2004 8:05 AM
> To: vps-mail@xxxxxxxxxxxx
> Subject: RE: [vps-mail] SpamAssassin headers
>
>
> Nancy, thanks for the suggestion. I saw the fold_headers
> before but figured since it defaults to "1", I didn't need
> it. I tried to add it just to make sure, and it still runs
> all lines together.
>
> I know the "tests=_TESTSSCORES(, )_" puts a comma and space
> after each entry. Is there a code to put in there to create a
> line break? I tried putting /n and I tried <br> but it just
> prints those codes between each entry. Any other ideas? Below
> is my user_prefs file (sans the white/black lists).
>
> Thanks,
>
> Jim Smith
> =================================
> clear_headers
> add_header all Flag _YESNOCAPS_
> add_header all Level _STARS(*)_
> add_header all Score _HITS_
> fold_headers 1 //tried per Nancy McGough
> add_header spam Status _YESNO_, hits=_HITS_ bayes=_BAYES_
> required=_REQD_ autolearn=_AUTOLEARN_ tests=_TESTSSCORES(, )_
> add_header ham Status _YESNO_, hits=_HITS_ bayes=_BAYES_
> required=_REQD_ autolearn=_AUTOLEARN_ tests=_TESTSSCORES(, )_
>
> bayes_min_ham_num 150
> rewrite_subject 0
> report_safe 0
> bayes_expiry_max_db_size 110000
> bayes_auto_expire 1
>
> # How many hits before a mail is considered spam.
> # required_hits 5
> required_hits 4.8
> ============================
>
> > -----Original Message-----
> > From: owner-vps-mail@xxxxxxxxxxxx
> > [mailto:owner-vps-mail@xxxxxxxxxxxx] On Behalf Of Nancy McGough
> > Sent: Friday, April 30, 2004 1:58 AM
> > To: vps-mail@xxxxxxxxxxxx
> > Subject: Re: [vps-mail] SpamAssassin headers
> >
> > Do you have fold_headers set to 0? Try explicitly setting it to 1,
> > which should be the default. Here's the section from
> > Mail::SpamAssassin::Conf:
> >
> >
> > fold_headers { 0 | 1 } (default: 1)
> > By default, headers added by SpamAssassin will be
> > whitespace folded. In other words, they will be broken up
> > into multiple lines instead of one very long one and each
> > other line will have a tabulator prepended to mark it as a
> > continuation of the preceding one.
> >
> > The automatic wrapping can be disabled here (which can
> > generate very long lines).
> >
> >
> > Hope that helps,
> > Nancy
> > Infinite Ink
> > www.ii.com
> >
> ======================================================================
> > This is <vps-mail@xxxxxxxxxxxx>
> <http://www.perlcode.org/lists/>
> > Before posting a question, please search the archives (see
> above URL).
> >
>
> ======================================================================
> This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
> Before posting a question, please search the archives (see above URL).
>
> ======================================================================
> This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
> Before posting a question, please search the archives (see above URL).
>
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index