You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Big Wave Dave <bi...@gmail.com> on 2007/05/15 16:27:29 UTC
RelayCountry Issues
I am running SA 3.1.8, and I'm having issues implementing the
RelayCountry plugin. I followed the Wiki/PerlDoc page, but have not
had any success.
I have the IP::Country::Fast
/usr/lib/perl5/vendor_perl/5.8.8/IP/Country
/usr/lib/perl5/vendor_perl/5.8.8/IP/Country.pm
/usr/lib/perl5/vendor_perl/5.8.8/IP/Country/Fast
/usr/lib/perl5/vendor_perl/5.8.8/IP/Country/Fast.pm
/usr/lib/perl5/vendor_perl/5.8.8/IP/Country/Fast/cc.gif
/usr/lib/perl5/vendor_perl/5.8.8/IP/Country/Fast/ip.gif
/usr/lib/perl5/vendor_perl/5.8.8/IP/Country/MaxMind.pm
/usr/lib/perl5/vendor_perl/5.8.8/IP/Country/Medium.pm
/usr/lib/perl5/vendor_perl/5.8.8/IP/Country/Slow.pm
When running spamassassin at the command-line in debug mode I see:
<snip>
[26693] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from @INC
[26693] dbg: plugin: registered
Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x1fa3c520)
<snip>
[26693] dbg: plugin:
Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x1fa3c520) implements
'extract_metadata'
[26693] dbg: metadata: X-Relay-Countries: US
<snip>
However, the header is never added.
In init.pre, I have individually tried each:
add_header all Relay _RELAYCOUNTRY_
add_header all Relay_Country _RELAYCOUNTRY_
add_header all Relay-Country _RELAYCOUNTRY_
add_header all X-Relay-Countries _RELAYCOUNTRY_
I tried each of the above, following posts I found online. I got the
impression it varried depending on the version you wer running. The
wiki references SA 3.1.0. Regardless, none of them added the header.
I'm sure I'm missing something simple.
Any input is appreciated.
Thanks,
Dave
Re: RelayCountry Issues
Posted by Big Wave Dave <bi...@gmail.com>.
On 5/15/07, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
> Big Wave Dave wrote:
> > On 5/15/07, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
> >> Big Wave Dave wrote:
> >>
> >> > Do you want to see the full debug with --lint or a real message?
> >> > Should I send it to the list as well?
> >> > Thanks for your assistance.
> >>
> >> Either would probably do, might as well use a real message. Sending to
> >> the list is fine.
> >>
> >> Daryl
> >>
> >
> > It does show "X-Spam-Relay-Countries: US" in the debug... but in the
> > actual messages flowing in, it isn't appeneded to the message.
>
> It's actually present in the message returned by spamassassin, not the
> debug. So SA is working as it should.
That is extremely odd.
>
> > From bigwavedave@gmail.com Wed Apr 25 22:25:54 2007
> > Return-Path: <bi...@gmail.com>
> > X-Spam-Relay-Countries: US
> > X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on
> > thor.domainname.net
> > X-Spam-Level:
> > X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS
> > autolearn=unavailable version=3.1.8
> > Received: from an-out-0708.google.com (an-out-0708.google.com
> > [209.85.132.247])
> > by thor.domainname.net (8.13.8/8.13.8) with ESMTP id l3Q5PQZH021682
> > for <us...@domainname.com>; Wed, 25 Apr 2007 22:25:52 -0700
> > Received: by an-out-0708.google.com with SMTP id c36so111669ana
> > for <us...@domainname.com>; Wed, 25 Apr 2007 22:25:24 -0700 (PDT)
>
> So... either you're using a milter (perhaps milter-spamc or
> spamass-milter?) that probably doesn't support anything but the default
> X-Spam headers or, and this is nowhere as likely, whatever user is
> running spamd (or whatever program you're using) in your normal mail
> flow doesn't have rights to the file containing the add_header lines.
>
> Daryl
I am indeed using "spamass-milter-0.3.1". I also verified the
local.cf is readable by everyone. I guess I'll need to investigate an
alternative to "spamass-milter-0.3.1".
Thanks for the help.
Dave
Re: RelayCountry Issues
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Big Wave Dave wrote:
> On 5/15/07, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
>> Big Wave Dave wrote:
>>
>> > Do you want to see the full debug with --lint or a real message?
>> > Should I send it to the list as well?
>> > Thanks for your assistance.
>>
>> Either would probably do, might as well use a real message. Sending to
>> the list is fine.
>>
>> Daryl
>>
>
> It does show "X-Spam-Relay-Countries: US" in the debug... but in the
> actual messages flowing in, it isn't appeneded to the message.
It's actually present in the message returned by spamassassin, not the
debug. So SA is working as it should.
> From bigwavedave@gmail.com Wed Apr 25 22:25:54 2007
> Return-Path: <bi...@gmail.com>
> X-Spam-Relay-Countries: US
> X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on
> thor.domainname.net
> X-Spam-Level:
> X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS
> autolearn=unavailable version=3.1.8
> Received: from an-out-0708.google.com (an-out-0708.google.com
> [209.85.132.247])
> by thor.domainname.net (8.13.8/8.13.8) with ESMTP id l3Q5PQZH021682
> for <us...@domainname.com>; Wed, 25 Apr 2007 22:25:52 -0700
> Received: by an-out-0708.google.com with SMTP id c36so111669ana
> for <us...@domainname.com>; Wed, 25 Apr 2007 22:25:24 -0700 (PDT)
So... either you're using a milter (perhaps milter-spamc or
spamass-milter?) that probably doesn't support anything but the default
X-Spam headers or, and this is nowhere as likely, whatever user is
running spamd (or whatever program you're using) in your normal mail
flow doesn't have rights to the file containing the add_header lines.
Daryl
Re: RelayCountry Issues
Posted by Big Wave Dave <bi...@gmail.com>.
On 5/15/07, Bill Landry <bi...@inetmsg.com> wrote:
> Big Wave Dave wrote the following on 5/15/2007 12:54 PM -0800:
> > On 5/15/07, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
> >> Big Wave Dave wrote:
> >>
> >> > Do you want to see the full debug with --lint or a real message?
> >> > Should I send it to the list as well?
> >> > Thanks for your assistance.
> >>
> >> Either would probably do, might as well use a real message. Sending to
> >> the list is fine.
> >>
> >> Daryl
> >>
> > It does show "X-Spam-Relay-Countries: US" in the debug... but in the
> > actual messages flowing in, it isn't appeneded to the message.
> >
> If you are using amavisd-new, you can still score the with relay
> countries, amavisd just doesn't add the SA header for this. I believe
> you can have amavisd-new add the full SA header report by setting:
>
> $sa_spam_report_header = 1; # insert X-Spam-Report header field? default
> false
>
> The default is false "0". Setting this to "1" will allow SA headers to
> be added.
>
> Bill
>
Bill,
Thanks for the input. I'm not currently using amavisd-new. I'm using
spamass-milter-0.3.1.
Thanks,
Dave
Re: RelayCountry Issues
Posted by Bill Landry <bi...@inetmsg.com>.
Big Wave Dave wrote the following on 5/15/2007 12:54 PM -0800:
> On 5/15/07, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
>> Big Wave Dave wrote:
>>
>> > Do you want to see the full debug with --lint or a real message?
>> > Should I send it to the list as well?
>> > Thanks for your assistance.
>>
>> Either would probably do, might as well use a real message. Sending to
>> the list is fine.
>>
>> Daryl
>>
> It does show "X-Spam-Relay-Countries: US" in the debug... but in the
> actual messages flowing in, it isn't appeneded to the message.
>
If you are using amavisd-new, you can still score the with relay
countries, amavisd just doesn't add the SA header for this. I believe
you can have amavisd-new add the full SA header report by setting:
$sa_spam_report_header = 1; # insert X-Spam-Report header field? default
false
The default is false "0". Setting this to "1" will allow SA headers to
be added.
Bill
Re: RelayCountry Issues
Posted by Big Wave Dave <bi...@gmail.com>.
On 5/15/07, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
> Big Wave Dave wrote:
>
> > Do you want to see the full debug with --lint or a real message?
> > Should I send it to the list as well?
> > Thanks for your assistance.
>
> Either would probably do, might as well use a real message. Sending to
> the list is fine.
>
> Daryl
>
It does show "X-Spam-Relay-Countries: US" in the debug... but in the
actual messages flowing in, it isn't appeneded to the message.
I have sanitized things a little....
[root@thor ~]# spamassassin -D < /home/username/samplemail.txt
[32611] dbg: logger: adding facilities: all
[32611] dbg: logger: logging level is DBG
[32611] dbg: generic: SpamAssassin version 3.1.8
[32611] dbg: config: score set 0 chosen.
[32611] dbg: util: running in taint mode? yes
[32611] dbg: util: taint mode: deleting unsafe environment variables,
resetting PATH
[32611] dbg: util: PATH included '/usr/kerberos/sbin', keeping
[32611] dbg: util: PATH included '/usr/kerberos/bin', keeping
[32611] dbg: util: PATH included '/usr/local/sbin', keeping
[32611] dbg: util: PATH included '/usr/local/bin', keeping
[32611] dbg: util: PATH included '/sbin', keeping
[32611] dbg: util: PATH included '/bin', keeping
[32611] dbg: util: PATH included '/usr/sbin', keeping
[32611] dbg: util: PATH included '/usr/bin', keeping
[32611] dbg: util: PATH included '/root/bin', keeping
[32611] dbg: util: final PATH set to:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[32611] dbg: message: ---- MIME PARSER START ----
[32611] dbg: message: main message type: text/plain
[32611] dbg: message: parsing normal part
[32611] dbg: message: added part, type: text/plain
[32611] dbg: message: ---- MIME PARSER END ----
[32611] dbg: dns: is Net::DNS::Resolver available? yes
[32611] dbg: dns: Net::DNS version: 0.59
[32611] dbg: config: using "/etc/mail/spamassassin" for site rules pre files
[32611] dbg: config: read file /etc/mail/spamassassin/init.pre
[32611] dbg: config: read file /etc/mail/spamassassin/v310.pre
[32611] dbg: config: read file /etc/mail/spamassassin/v312.pre
[32611] dbg: config: using "/var/lib/spamassassin/3.001008" for sys
rules pre files
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org.pre
[32611] dbg: config: using "/var/lib/spamassassin/3.001008" for
default rules dir
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org.cf
[32611] dbg: config: using "/etc/mail/spamassassin" for site rules dir
[32611] dbg: config: read file /etc/mail/spamassassin/FuzzyOcr.cf
[32611] dbg: config: read file /etc/mail/spamassassin/local.cf
[32611] dbg: config: read file /etc/mail/spamassassin/wrongmx.cf
[32611] dbg: config: using "/root/.spamassassin" for user state dir
[32611] dbg: config: using "/root/.spamassassin/user_prefs" for user prefs file
[32611] dbg: config: read file /root/.spamassassin/user_prefs
[32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from @INC
[32611] dbg: plugin: registered
Mail::SpamAssassin::Plugin::RelayCountry=HASH(0xbae65d0)
[32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[32611] dbg: plugin: registered
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xbb77fc0)
[32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[32611] dbg: plugin: registered
Mail::SpamAssassin::Plugin::Hashcash=HASH(0xbb9afc0)
[32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[32611] dbg: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0xbbe0ab0)
[32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[32611] dbg: pyzor: network tests on, attempting Pyzor
[32611] dbg: plugin: registered
Mail::SpamAssassin::Plugin::Pyzor=HASH(0xbc02f00)
[32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[32611] dbg: razor2: razor2 is available, version 2.82
[32611] dbg: plugin: registered
Mail::SpamAssassin::Plugin::Razor2=HASH(0xbc410e0)
[32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[32611] dbg: reporter: network tests on, attempting SpamCop
[32611] dbg: plugin: registered
Mail::SpamAssassin::Plugin::SpamCop=HASH(0xc13c180)
[32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[32611] dbg: plugin: registered Mail::SpamAssassin::Plugin::AWL=HASH(0xc16cb70)
[32611] dbg: plugin: loading
Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
[32611] dbg: plugin: registered
Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0xc180520)
[32611] dbg: plugin: loading
Mail::SpamAssassin::Plugin::WhiteListSubject from @INC
[32611] dbg: plugin: registered
Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0xc193490)
[32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
[32611] dbg: plugin: registered
Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0xc1a0890)
[32611] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
[32611] dbg: plugin: registered
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xc1b9910)
[32611] dbg: plugin: loading FuzzyOcr from /etc/mail/spamassassin/FuzzyOcr.pm
Subroutine FuzzyOcr::O_CREAT redefined at
/usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/POSIX.pm line 19
Subroutine FuzzyOcr::O_EXCL redefined at
/usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/POSIX.pm line 19
Subroutine FuzzyOcr::O_RDWR redefined at
/usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/POSIX.pm line 19
[32611] dbg: plugin: registered FuzzyOcr=HASH(0xc701b60)
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/empty.pre
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/empty.pre"
for included file
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_fr.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_fr.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_fr.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_spf.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_spf.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_spf.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_pl.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_pl.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_pl.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_replace.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_replace.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_replace.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_drugs.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_drugs.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_drugs.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_porn.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_porn.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_porn.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_razor2.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_razor2.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_razor2.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_meta_tests.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_meta_tests.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_meta_tests.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_dnsbl_tests.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_dnsbl_tests.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_dnsbl_tests.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_ratware.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_ratware.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_ratware.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/10_misc.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/10_misc.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/10_misc.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_head_tests.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_head_tests.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_head_tests.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_de.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_de.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_de.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_pyzor.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_pyzor.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_pyzor.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_antivirus.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_antivirus.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_antivirus.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_html_tests.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_html_tests.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_html_tests.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_awl.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_awl.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_awl.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_uribl.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_uribl.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_uribl.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/23_bayes.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/23_bayes.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/23_bayes.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_textcat.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_textcat.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_textcat.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_dkim.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_dkim.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_dkim.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_subject.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_subject.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_subject.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_compensate.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_compensate.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_compensate.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_spf.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_spf.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_spf.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_net_tests.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_net_tests.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_net_tests.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_phrases.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_phrases.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_phrases.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_uri_tests.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_uri_tests.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_uri_tests.cf
[32611] dbg: config: adding redirector regex:
/^http:\/\/chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i
[32611] dbg: config: adding redirector regex:
/^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
[32611] dbg: config: adding redirector regex:
/^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
[32611] dbg: config: adding redirector regex:
/^http:\/\/redir\.internet\.com\/.+?\/.+?\/(.*)$/i
[32611] dbg: config: adding redirector regex:
/^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
[32611] dbg: config: adding redirector regex:
m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&#])'i
[32611] dbg: config: adding redirector regex:
m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
[32611] dbg: config: adding redirector regex:
m'/(?:index.php)?\?.*(?<=[?&])URL=(.*?)(?:$|[&#])'i
[32611] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/url\?.*?(?<=[?&])q=(.*?)(?:$|[&#])'i
[32611] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])site:(.*?)(?:$|%20|[\s+&#])'i
[32611] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/search\?.*?(?<=[?&])q=[^&]*?(?<=%20|..[=+\s])(?:"|%22)(.*?)(?:$|%22|["\s+&#])'i
[32611] dbg: config: adding redirector regex:
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/translate\?.*?(?<=[?&])u=(.*?)(?:$|[&#])'i
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_dcc.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_dcc.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_dcc.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/70_iadb.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/70_iadb.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/70_iadb.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_body_tests.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_body_tests.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_body_tests.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_dk.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_dk.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_dk.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_pt_br.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_pt_br.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_pt_br.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/80_additional.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_hashcash.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_hashcash.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_hashcash.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_domainkeys.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_domainkeys.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_domainkeys.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_anti_ratware.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_anti_ratware.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_anti_ratware.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_nl.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_nl.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/30_text_nl.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_accessdb.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_accessdb.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_accessdb.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_body_tests_es.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_body_tests_es.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_body_tests_es.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_body_tests_pl.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_body_tests_pl.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/25_body_tests_pl.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_fake_helo_tests.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_fake_helo_tests.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_fake_helo_tests.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_dkim.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_dkim.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/60_whitelist_dkim.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_advance_fee.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_advance_fee.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/20_advance_fee.cf
[32611] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001008/updates_spamassassin_org/50_scores.cf
[32611] dbg: config: using
"/var/lib/spamassassin/3.001008/updates_spamassassin_org/50_scores.cf"
for included file
[32611] dbg: config: read file
/var/lib/spamassassin/3.001008/updates_spamassassin_org/50_scores.cf
[32611] dbg: plugin: FuzzyOcr=HASH(0xc701b60) implements 'parse_config'
[32611] dbg: FuzzyOcr: focr_bin_helper:
'pnmnorm,pnminvert,pamthreshold,ppmtopgm,pamtopnm'
[32611] info: FuzzyOcr: Adding <5> new helper apps
[32611] info: FuzzyOcr: Starting preprocessor parser for file
"/etc/mail/spamassassin/FuzzyOcr.preps"...
[32611] dbg: FuzzyOcr: line: preprocessor normalize {
[32611] dbg: FuzzyOcr: line: command = pnmnorm
[32611] dbg: FuzzyOcr: line: }
[32611] dbg: FuzzyOcr: line: preprocessor invert {
[32611] dbg: FuzzyOcr: line: command = pnminvert
[32611] dbg: FuzzyOcr: line: }
[32611] dbg: FuzzyOcr: line: preprocessor ppmtopgm {
[32611] dbg: FuzzyOcr: line: command = ppmtopgm
[32611] dbg: FuzzyOcr: line: }
[32611] dbg: FuzzyOcr: line: preprocessor pamtopnm {
[32611] dbg: FuzzyOcr: line: command = pamtopnm
[32611] dbg: FuzzyOcr: line: }
[32611] dbg: FuzzyOcr: line: preprocessor pamthreshold {
[32611] dbg: FuzzyOcr: line: command = pamthreshold
[32611] dbg: FuzzyOcr: line: args = -simple -threshold 0.5
[32611] dbg: FuzzyOcr: line: }
[32611] dbg: FuzzyOcr: line: preprocessor maketiff {
[32611] dbg: FuzzyOcr: line: command = pnmtotiff
[32611] dbg: FuzzyOcr: line: args = -color -truecolor
[32611] dbg: FuzzyOcr: line: }
[32611] info: FuzzyOcr: Starting scanset parser for file
"/etc/mail/spamassassin/FuzzyOcr.scansets"...
[32611] dbg: FuzzyOcr: line scanset ocrad {
[32611] dbg: FuzzyOcr: line command = $ocrad
[32611] dbg: FuzzyOcr: line args = -s5 $input
[32611] dbg: FuzzyOcr: line }
[32611] dbg: FuzzyOcr: line scanset ocrad-invert {
[32611] dbg: FuzzyOcr: line command = $ocrad
[32611] dbg: FuzzyOcr: line args = -s5 -i $input
[32611] dbg: FuzzyOcr: line }
[32611] dbg: FuzzyOcr: line scanset ocrad-decolorize-invert {
[32611] dbg: FuzzyOcr: line preprocessors = ppmtopgm, pamthreshold, pamtopnm
[32611] dbg: FuzzyOcr: line command = $ocrad
[32611] dbg: FuzzyOcr: line args = -s5 -i $input
[32611] dbg: FuzzyOcr: line }
[32611] dbg: FuzzyOcr: line scanset ocrad-decolorize {
[32611] dbg: FuzzyOcr: line preprocessors = ppmtopgm, pamthreshold, pamtopnm
[32611] dbg: FuzzyOcr: line command = $ocrad
[32611] dbg: FuzzyOcr: line args = -s5 $input
[32611] dbg: FuzzyOcr: line }
[32611] dbg: FuzzyOcr: line scanset gocr {
[32611] dbg: FuzzyOcr: line command = $gocr
[32611] dbg: FuzzyOcr: line args = -i $input
[32611] dbg: FuzzyOcr: line }
[32611] dbg: FuzzyOcr: line scanset gocr-180 {
[32611] dbg: FuzzyOcr: line command = $gocr
[32611] dbg: FuzzyOcr: line args = -l 180 -d 2 -i $input
[32611] dbg: FuzzyOcr: line }
[32611] dbg: plugin: fixed relative path: /etc/mail/spamassassin/wrongmx.pm
[32611] dbg: plugin: loading WrongMX from /etc/mail/spamassassin/wrongmx.pm
[32611] dbg: plugin: registered WrongMX=HASH(0xc8b7450)
[32611] dbg: plugin:
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xc1b9910) implements
'finish_parsing_end'
[32611] dbg: plugin: FuzzyOcr=HASH(0xc701b60) implements 'finish_parsing_end'
[32611] dbg: replacetags: replacing tags
[32611] dbg: replacetags: done replacing tags
[32611] info: FuzzyOcr: Searching in: /usr/bin
[32611] info: FuzzyOcr: Using gifsicle => /usr/bin/gifsicle
[32611] info: FuzzyOcr: Using giffix => /usr/bin/giffix
[32611] info: FuzzyOcr: Using giftext => /usr/bin/giftext
[32611] info: FuzzyOcr: Using gifinter => /usr/bin/gifinter
[32611] info: FuzzyOcr: Using giftopnm => /usr/bin/giftopnm
[32611] info: FuzzyOcr: Using jpegtopnm => /usr/bin/jpegtopnm
[32611] info: FuzzyOcr: Using pngtopnm => /usr/bin/pngtopnm
[32611] info: FuzzyOcr: Using bmptopnm => /usr/bin/bmptopnm
[32611] info: FuzzyOcr: Using tifftopnm => /usr/bin/tifftopnm
[32611] info: FuzzyOcr: Using ppmhist => /usr/bin/ppmhist
[32611] info: FuzzyOcr: Using pamfile => /usr/bin/pamfile
[32611] info: FuzzyOcr: Using ocrad => /usr/bin/ocrad
[32611] info: FuzzyOcr: Using gocr => /usr/bin/gocr
[32611] info: FuzzyOcr: Using pnmnorm => /usr/bin/pnmnorm
[32611] info: FuzzyOcr: Using pnminvert => /usr/bin/pnminvert
[32611] info: FuzzyOcr: Using pamthreshold => /usr/bin/pamthreshold
[32611] info: FuzzyOcr: Using ppmtopgm => /usr/bin/ppmtopgm
[32611] info: FuzzyOcr: Using pamtopnm => /usr/bin/pamtopnm
[32611] dbg: FuzzyOcr: Threshold[max_hash] => 5
[32611] dbg: FuzzyOcr: Threshold[c] => 5
[32611] dbg: FuzzyOcr: Threshold[s] => 0.01
[32611] dbg: FuzzyOcr: Threshold[w] => 0.01
[32611] dbg: FuzzyOcr: Threshold[h] => 0.01
[32611] dbg: FuzzyOcr: Threshold[cn] => 0.01
[32611] dbg: FuzzyOcr: focr_add_score => 1
[32611] dbg: FuzzyOcr: focr_autodisable_negative_score => -5
[32611] dbg: FuzzyOcr: focr_autodisable_score => 1000
[32611] dbg: FuzzyOcr: focr_autosort_buffer => 10
[32611] dbg: FuzzyOcr: focr_autosort_scanset => 1
[32611] dbg: FuzzyOcr: focr_base_score => 5
[32611] dbg: FuzzyOcr: focr_corrupt_score => 2.5
[32611] dbg: FuzzyOcr: focr_corrupt_unfixable_score => 5
[32611] dbg: FuzzyOcr: focr_counts_required => 2
[32611] dbg: FuzzyOcr: focr_db_hash => /etc/mail/spamassassin/FuzzyOcr.db
[32611] dbg: FuzzyOcr: focr_db_max_days => 35
[32611] dbg: FuzzyOcr: focr_db_safe => /etc/mail/spamassassin/FuzzyOcr.safe.db
[32611] dbg: FuzzyOcr: focr_digest_db => /etc/mail/spamassassin/FuzzyOcr.hashdb
[32611] dbg: FuzzyOcr: focr_enable_image_hashing => 2
[32611] dbg: FuzzyOcr: focr_global_timeout => 0
[32611] dbg: FuzzyOcr: focr_global_wordlist =>
/etc/mail/spamassassin/FuzzyOcr.words
[32611] dbg: FuzzyOcr: focr_hashing_learn_scanned => 1
[32611] dbg: FuzzyOcr: focr_keep_bad_images => 0
[32611] dbg: FuzzyOcr: focr_log_pmsinfo => 1
[32611] dbg: FuzzyOcr: focr_log_stderr => 1
[32611] dbg: FuzzyOcr: focr_logfile => /tmp/FuzzyOcr.log
[32611] dbg: FuzzyOcr: focr_max_height => 800
[32611] dbg: FuzzyOcr: focr_max_width => 800
[32611] dbg: FuzzyOcr: focr_min_height => 4
[32611] dbg: FuzzyOcr: focr_min_width => 4
[32611] dbg: FuzzyOcr: focr_minimal_scanset => 1
[32611] dbg: FuzzyOcr: focr_mysql_db => FuzzyOcr
[32611] dbg: FuzzyOcr: focr_mysql_hash => Hash
[32611] dbg: FuzzyOcr: focr_mysql_host => localhost
[32611] dbg: FuzzyOcr: focr_mysql_port => 3306
[32611] dbg: FuzzyOcr: focr_mysql_safe => Safe
[32611] dbg: FuzzyOcr: focr_mysql_update_hash => 0
[32611] dbg: FuzzyOcr: focr_mysql_user => fuzzyocr
[32611] dbg: FuzzyOcr: focr_no_homedirs => 0
[32611] dbg: FuzzyOcr: focr_path_bin => /usr/bin
[32611] dbg: FuzzyOcr: focr_personal_wordlist => __userstate__/FuzzyOcr.words
[32611] dbg: FuzzyOcr: focr_preprocessor_file =>
/etc/mail/spamassassin/FuzzyOcr.preps
[32611] dbg: FuzzyOcr: focr_scanset_file =>
/etc/mail/spamassassin/FuzzyOcr.scansets
[32611] dbg: FuzzyOcr: focr_score_ham => 0
[32611] dbg: FuzzyOcr: focr_skip_bmp => 0
[32611] dbg: FuzzyOcr: focr_skip_gif => 0
[32611] dbg: FuzzyOcr: focr_skip_jpeg => 0
[32611] dbg: FuzzyOcr: focr_skip_png => 0
[32611] dbg: FuzzyOcr: focr_skip_tiff => 0
[32611] dbg: FuzzyOcr: focr_skip_updates => 0
[32611] dbg: FuzzyOcr: focr_strip_numbers => 1
[32611] dbg: FuzzyOcr: focr_threshold => 0.25
[32611] dbg: FuzzyOcr: focr_timeout => 30
[32611] dbg: FuzzyOcr: focr_twopass_scoring_factor => 1.5
[32611] dbg: FuzzyOcr: focr_unique_matches => 0
[32611] dbg: FuzzyOcr: focr_verbose => 2
[32611] dbg: FuzzyOcr: focr_wrongctype_score => 1.5
[32611] dbg: FuzzyOcr: focr_wrongext_score => 1.5
[32611] info: FuzzyOcr: Loaded preprocessor normalize: /usr/bin/pnmnorm
[32611] info: FuzzyOcr: Loaded preprocessor invert: /usr/bin/pnminvert
[32611] info: FuzzyOcr: Loaded preprocessor ppmtopgm: /usr/bin/ppmtopgm
[32611] info: FuzzyOcr: Loaded preprocessor pamtopnm: /usr/bin/pamtopnm
[32611] info: FuzzyOcr: Loaded preprocessor pamthreshold:
/usr/bin/pamthreshold -simple -threshold 0.5
[32611] info: FuzzyOcr: Loaded preprocessor maketiff: pnmtotiff -color
-truecolor
[32611] info: FuzzyOcr: Using scan ocrad: /usr/bin/ocrad -s5 $input
[32611] info: FuzzyOcr: Using scan ocrad-invert: /usr/bin/ocrad -s5 -i $input
[32611] info: FuzzyOcr: Using scan ocrad-decolorize-invert:
/usr/bin/ocrad -s5 -i $input
[32611] info: FuzzyOcr: Using scan ocrad-decolorize: /usr/bin/ocrad -s5 $input
[32611] info: FuzzyOcr: Using scan gocr: /usr/bin/gocr -i $input
[32611] info: FuzzyOcr: Using scan gocr-180: /usr/bin/gocr -l 180 -d 2 -i $input
[32611] info: FuzzyOcr: Added <43> words from
"/etc/mail/spamassassin/FuzzyOcr.words"
[32611] dbg: config: using "/root/.spamassassin" for user state dir
[32611] dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_toks
[32611] dbg: bayes: tie-ing to DB file R/O /root/.spamassassin/bayes_seen
[32611] dbg: bayes: found bayes db version 3
[32611] dbg: bayes: DB journal sync: last sync: 1179256474
[32611] dbg: config: using "/root/.spamassassin" for user state dir
[32611] dbg: config: score set 3 chosen.
[32611] dbg: dns: name server: 127.0.0.1, family: 2, ipv6: 0
[32611] dbg: dns: testing resolver nameservers: 127.0.0.1,
74.208.8.251, 195.20.224.99
[32611] dbg: dns: trying (3) ebay.com...
[32611] dbg: dns: looking up NS for 'ebay.com'
[32611] dbg: dns: NS lookup of ebay.com using 127.0.0.1 succeeded =>
DNS available (set dns_available to override)
[32611] dbg: dns: is DNS available? 1
[32611] dbg: received-header: parsed as [ ip=209.85.132.247
rdns=an-out-0708.google.com helo=an-out-0708.google.com
by=thor.domainname.net ident= envfrom= intl=0 id=l3Q5PQZH021682 auth=
]
[32611] dbg: dns: looking up A records for 'thor.domainname.net'
[32611] dbg: dns: A records for 'thor.domainname.net': 74.x.x.2
[32611] dbg: dns: looking up A records for 'thor.domainname.net'
[32611] dbg: dns: A records for 'thor.domainname.net': 74.x.x.2
[32611] dbg: received-header: 'by' thor.domainname.net has public IP 74.x.x.2
[32611] dbg: received-header: relay 209.85.132.247 trusted? no internal? no
[32611] dbg: metadata: X-Spam-Relays-Trusted:
[32611] dbg: metadata: X-Spam-Relays-Untrusted: [ ip=209.85.132.247
rdns=an-out-0708.google.com helo=an-out-0708.google.com
by=thor.domainname.net ident= envfrom= intl=0 id=l3Q5PQZH021682 auth=
]
[32611] dbg: metadata: X-Spam-Relays-Internal:
[32611] dbg: metadata: X-Spam-Relays-External: [ ip=209.85.132.247
rdns=an-out-0708.google.com helo=an-out-0708.google.com
by=thor.domainname.net ident= envfrom= intl=0 id=l3Q5PQZH021682 auth=
]
[32611] dbg: plugin:
Mail::SpamAssassin::Plugin::RelayCountry=HASH(0xbae65d0) implements
'extract_metadata'
[32611] dbg: metadata: X-Relay-Countries: US
[32611] dbg: message: ---- MIME PARSER START ----
[32611] dbg: message: main message type: text/plain
[32611] dbg: message: parsing normal part
[32611] dbg: message: added part, type: text/plain
[32611] dbg: message: ---- MIME PARSER END ----
[32611] dbg: message: decoding other encoding type (7bit), ignoring
[32611] dbg: plugin:
Mail::SpamAssassin::Plugin::RelayCountry=HASH(0xbae65d0) implements
'parsed_metadata'
[32611] dbg: plugin:
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xbb77fc0) implements
'parsed_metadata'
[32611] dbg: uridnsbl: domains to query:
[32611] dbg: dns: checking RBL sa-other.bondedsender.org., set bsp-untrusted
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs:
[32611] dbg: dns: checking RBL combined.njabl.org., set njabl-lastexternal
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: launching DNS A query for
247.132.85.209.combined.njabl.org. in background
[32611] dbg: dns: checking RBL combined.njabl.org., set njabl
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: checking RBL bl.spamcop.net., set spamcop
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: launching DNS TXT query for
247.132.85.209.bl.spamcop.net. in background
[32611] dbg: dns: _check_rbl_addresses RBL
blackhole.securitysage.com., set securitysage
[32611] dbg: dns: launching DNS A query for
gmail.com.blackhole.securitysage.com. in background
[32611] dbg: dns: _check_rbl_addresses RBL rhsbl.ahbl.org., set ahbl
[32611] dbg: dns: launching DNS A query for gmail.com.rhsbl.ahbl.org.
in background
[32611] dbg: dns: checking A and MX for host gmail.com
[32611] dbg: dns: launching DNS A query for gmail.com in background
[32611] dbg: dns: launching DNS MX query for gmail.com in background
[32611] dbg: dns: checking RBL zen.spamhaus.org., set zen-lastexternal
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: launching DNS A query for
247.132.85.209.zen.spamhaus.org. in background
[32611] dbg: dns: checking RBL dnsbl.sorbs.net., set sorbs-lastexternal
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: launching DNS A query for
247.132.85.209.dnsbl.sorbs.net. in background
[32611] dbg: dns: checking RBL dnsbl.sorbs.net., set sorbs
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: checking RBL zen.spamhaus.org., set zen-lastexternal
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: checking RBL sa-accredit.habeas.com., set habeas-firsttrusted
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: launching DNS A query for
247.132.85.209.sa-accredit.habeas.com. in background
[32611] dbg: dns: checking RBL
combined-HIB.dnsiplists.completewhois.com., set whois
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: launching DNS A query for
247.132.85.209.combined-HIB.dnsiplists.completewhois.com. in
background
[32611] dbg: dns: checking RBL list.dsbl.org., set dsbl-lastexternal
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: launching DNS TXT query for
247.132.85.209.list.dsbl.org. in background
[32611] dbg: dns: checking RBL sa-trusted.bondedsender.org., set
bsp-firsttrusted
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: launching DNS TXT query for
247.132.85.209.sa-trusted.bondedsender.org. in background
[32611] dbg: dns: checking RBL
combined-HIB.dnsiplists.completewhois.com., set whois-lastexternal
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: checking RBL zen.spamhaus.org., set zen
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: _check_rbl_addresses RBL fulldom.rfc-ignorant.org.,
set rfci_envfrom
[32611] dbg: dns: launching DNS A query for
gmail.com.fulldom.rfc-ignorant.org. in background
[32611] dbg: dns: checking RBL iadb.isipp.com., set iadb-firsttrusted
[32611] dbg: dns: IPs found: full-external: 209.85.132.247 untrusted:
209.85.132.247 originating:
[32611] dbg: dns: only inspecting the following IPs: 209.85.132.247
[32611] dbg: dns: launching DNS A query for
247.132.85.209.iadb.isipp.com. in background
[32611] dbg: check: running tests for priority: 0
[32611] dbg: rules: running header regexp tests; score so far=0
[32611] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[32611] dbg: rules: ran header rule __CT ======> got hit: "t"
[32611] dbg: rules: ran header rule __HAS_RCVD ======> got hit: "f"
[32611] dbg: rules: ran header rule __SANE_MSGID ======> got hit:
"<8e...@mail.gmail.com>
[32611] dbg: rules: "
[32611] dbg: rules: ran header rule __CT_TEXT_PLAIN ======> got hit:
"text/plain"
[32611] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit:
"@mail.gmail.com>"
[32611] dbg: rules: ran header rule __MIME_VERSION ======> got hit: "1"
[32611] dbg: rules: ran header rule __TOCC_EXISTS ======> got hit: "s"
[32611] dbg: rules: ran header rule __NAKED_TO ======> got hit:
"username@domainname.com"
[32611] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit:
"1607042522"
[32611] dbg: rules: ran header rule __CTE ======> got hit: "7"
[32611] dbg: rules: ran header rule __CD ======> got hit: "i"
[32611] dbg: rules: ran header rule __HAS_SUBJECT ======> got hit: "t"
[32611] dbg: spf: checking HELO (helo=an-out-0708.google.com, ip=209.85.132.247)
[32611] dbg: spf: query for /209.85.132.247/an-out-0708.google.com:
result: none, comment: SPF: domain of sender an-out-0708.google.com
does not designate mailers
[32611] dbg: eval: all '*From' addrs: bigwavedave@gmail.com
[32611] dbg: eval: forged-HELO: from=google.com helo=google.com
by=domainname.net
[32611] dbg: eval: trying Received header date for real time: 25 Apr
2007 22:25:52 -0700
[32611] dbg: eval: time_t from date=1177565152, rcvd= 25 Apr 2007 22:25:52 -0700
[32611] dbg: eval: trying Received header date for real time: 25 Apr
2007 22:25:24 -0700
[32611] dbg: eval: time_t from date=1177565124, rcvd= 25 Apr 2007 22:25:24 -0700
[32611] dbg: eval: trying Received header date for real time: 25 Apr
2007 22:25:24 -0700
[32611] dbg: eval: time_t from date=1177565124, rcvd= 25 Apr 2007 22:25:24 -0700
[32611] dbg: eval: trying Received header date for real time: 25 Apr
2007 22:25:24 -0700
[32611] dbg: eval: time_t from date=1177565124, rcvd= 25 Apr 2007 22:25:24 -0700
[32611] dbg: eval: all '*To' addrs: username@domainname.com
[32611] dbg: spf: checking EnvelopeFrom (helo=an-out-0708.google.com,
ip=209.85.132.247, envfrom=bigwavedave@gmail.com)
[32611] dbg: spf: query for
bigwavedave@gmail.com/209.85.132.247/an-out-0708.google.com: result:
pass, comment: Please see
http://www.openspf.org/why.html?sender=bigwavedave%40gmail.com&ip=209.85.132.247&receiver=thor.domainname.net:
209.85.128.0/17 contains 209.85.132.247
[32611] dbg: rules: ran eval rule SPF_PASS ======> got hit
[32611] dbg: rules: ran eval rule __ENV_AND_HDR_FROM_MATCH ======> got hit
[32611] dbg: spf: def_whitelist_from_spf: bigwavedave@gmail.com is not
in DEF_WHITELIST_FROM_SPF
[32611] dbg: dns: looking up A records for 'thor.domainname.net'
[32611] dbg: dns: A records for 'thor.domainname.net': 74.x.x.2
[32611] dbg: eval: date chosen from message: Wed Apr 25 22:25:24 2007
[32611] dbg: spf: whitelist_from_spf: bigwavedave@gmail.com is not in
user's WHITELIST_FROM_SPF
[32611] dbg: rules: running body-text per-line regexp tests; score so far=-0.001
[32611] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "t"
[32611] dbg: uri: running uri tests; score so far=-0.001
[32611] dbg: bayes: DB journal sync: last sync: 1179256474
[32611] dbg: bayes: corpus size: nspam = 8419, nham = 379
[32611] dbg: bayes: score = 1.11022302462516e-16
[32611] dbg: bayes: DB expiry: tokens in DB: 148715, Expiry max size:
150000, Oldest atime: 1155024241, Newest atime: 1179258126, Last
expire: 1178953609, Current time: 1179258586
[32611] dbg: bayes: DB journal sync: last sync: 1179256474
[32611] dbg: bayes: untie-ing
[32611] dbg: bayes: untie-ing db_toks
[32611] dbg: bayes: untie-ing db_seen
[32611] dbg: rules: ran eval rule BAYES_00 ======> got hit
[32611] dbg: rules: running raw-body-text per-line regexp tests; score
so far=-2.6
[32611] dbg: rules: running full-text regexp tests; score so far=-2.6
[32611] dbg: info: entering helper-app run mode
[32611] dbg: info: leaving helper-app run mode
[32611] dbg: razor2: part=0 engine=4 contested=0 confidence=0
[32611] dbg: razor2: results: spam? 0
[32611] dbg: razor2: results: engine 8, highest cf score: 0
[32611] dbg: razor2: results: engine 4, highest cf score: 0
[32611] dbg: util: current PATH is:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
[32611] dbg: util: executable for pyzor was found at /usr/bin/pyzor
[32611] dbg: pyzor: pyzor is available: /usr/bin/pyzor
[32611] dbg: info: entering helper-app run mode
[32611] dbg: pyzor: opening pipe: /usr/bin/pyzor check <
/tmp/.spamassassin32611e90WDytmp
[32612] dbg: util: setuid: ruid=0 euid=0
[32611] dbg: pyzor: [32612] finished: exit=0x0100
[32611] dbg: pyzor: got response: 66.250.40.33:24441 (200, 'OK') 0 0
[32611] dbg: info: leaving helper-app run mode
[32611] dbg: plugin:
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xbb77fc0) implements
'check_tick'
[32611] dbg: check: running tests for priority: 500
[32611] dbg: dns: success for 14 of 14 queries
[32611] dbg: plugin:
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xbb77fc0) implements
'check_post_dnsbl'
[32611] dbg: rules: running meta tests; score so far=-2.6
[32611] info: rules: meta test DIGEST_MULTIPLE has undefined
dependency 'DCC_CHECK'
[32611] dbg: rules: running header regexp tests; score so far=-2.6
[32611] dbg: rules: running body-text per-line regexp tests; score so far=-2.6
[32611] dbg: uri: running uri tests; score so far=-2.6
[32611] dbg: rules: running raw-body-text per-line regexp tests; score
so far=-2.6
[32611] dbg: rules: running full-text regexp tests; score so far=-2.6
[32611] dbg: check: running tests for priority: 600
[32611] dbg: rules: running meta tests; score so far=-2.6
[32611] dbg: rules: running header regexp tests; score so far=-2.6
[32611] dbg: rules: running body-text per-line regexp tests; score so far=-2.6
[32611] dbg: uri: running uri tests; score so far=-2.6
[32611] dbg: FuzzyOcr: Starting FuzzyOcr...
[32611] info: FuzzyOcr: Processing Message with ID
"<8e...@mail.gmail.com>" ("Big
Wave Dave" <bi...@gmail.com> -> username@domainname.com)
[32611] dbg: FuzzyOcr: Skipping OCR, no image files found...
[32611] dbg: FuzzyOcr: Processed in 0.000769 sec.
[32611] dbg: rules: running raw-body-text per-line regexp tests; score
so far=-2.6
[32611] dbg: rules: running full-text regexp tests; score so far=-2.6
[32611] dbg: check: running tests for priority: 1000
[32611] dbg: rules: running meta tests; score so far=-2.6
[32611] dbg: rules: running header regexp tests; score so far=-2.6
[32611] dbg: config: using "/root/.spamassassin" for user state dir
[32611] dbg: locker: safe_lock: created
/root/.spamassassin/auto-whitelist.lock.thor.domainname.net.32611
[32611] dbg: locker: safe_lock: trying to get lock on
/root/.spamassassin/auto-whitelist with 0 retries
[32611] dbg: locker: safe_lock: link to
/root/.spamassassin/auto-whitelist.lock: link ok
[32611] dbg: auto-whitelist: tie-ing to DB file of type DB_File R/W in
/root/.spamassassin/auto-whitelist
[32611] dbg: auto-whitelist: db-based bigwavedave@gmail.com|ip=209.85
scores 30/-27.984
[32611] dbg: auto-whitelist: AWL active, pre-score: -2.6, autolearn
score: -2.6, mean: -0.9328, IP: 209.85.132.247
[32611] dbg: auto-whitelist: add_score: new count: 31, new totscore: -30.584
[32611] dbg: auto-whitelist: DB addr list: untie-ing and unlocking
[32611] dbg: auto-whitelist: DB addr list: file locked, breaking lock
[32611] dbg: locker: safe_unlock: unlink /root/.spamassassin/auto-whitelist.lock
[32611] dbg: auto-whitelist: post auto-whitelist score: -1.7664
[32611] dbg: rules: running body-text per-line regexp tests; score so
far=-1.7664
[32611] dbg: uri: running uri tests; score so far=-1.7664
[32611] dbg: rules: running raw-body-text per-line regexp tests; score
so far=-1.7664
[32611] dbg: rules: running full-text regexp tests; score so far=-1.7664
[32611] dbg: plugin:
Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0xc180520)
implements 'autolearn_discriminator'
[32611] dbg: learn: auto-learn: currently using scoreset 3,
recomputing score based on scoreset 1
[32611] dbg: learn: auto-learn: message score: -1.7664, computed score
for autolearn: 0
[32611] dbg: learn: auto-learn? ham=0.1, spam=12, body-points=0,
head-points=0, learned-points=-2.599
[32611] dbg: learn: auto-learn? yes, ham (0 < 0.1)
[32611] dbg: learn: initializing learner
[32611] dbg: learn: learning ham
[32611] dbg: eval: all '*From' addrs: bigwavedave@gmail.com
[32611] dbg: eval: all '*To' addrs: username@domainname.com
[32611] dbg: locker: safe_lock: created
/root/.spamassassin/bayes.lock.thor.domainname.net.32611
[32611] dbg: locker: safe_lock: trying to get lock on
/root/.spamassassin/bayes with 0 retries
[32611] dbg: locker: safe_lock: link to /root/.spamassassin/bayes.lock: link ok
[32611] dbg: bayes: tie-ing to DB file R/W /root/.spamassassin/bayes_toks
[32611] dbg: bayes: tie-ing to DB file R/W /root/.spamassassin/bayes_seen
[32611] dbg: bayes: found bayes db version 3
[32611] dbg: bayes:
6816ff147dbe7772830f2ffab6171ca0196e7970@sa_generated already learnt
correctly, not learning twice
[32611] dbg: bayes: untie-ing
[32611] dbg: bayes: untie-ing db_toks
[32611] dbg: bayes: untie-ing db_seen
[32611] dbg: bayes: files locked, now unlocking lock
[32611] dbg: locker: safe_unlock: unlink /root/.spamassassin/bayes.lock
[32611] dbg: learn: initializing learner
[32611] dbg: check: is spam? score=-1.766 required=5
[32611] dbg: check: tests=AWL,BAYES_00,SPF_PASS
[32611] dbg: check:
subtests=__CD,__CT,__CTE,__CT_TEXT_PLAIN,__ENV_AND_HDR_FROM_MATCH,__HAS_MSGID,__HAS_RCVD,__HAS_SUBJECT,__MIME_VERSION,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NAKED_TO,__NONEMPTY_BODY,__SANE_MSGID,__TOCC_EXISTS
>From bigwavedave@gmail.com Wed Apr 25 22:25:54 2007
Return-Path: <bi...@gmail.com>
X-Spam-Relay-Countries: US
X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on
thor.domainname.net
X-Spam-Level:
X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS
autolearn=unavailable version=3.1.8
Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247])
by thor.domainname.net (8.13.8/8.13.8) with ESMTP id l3Q5PQZH021682
for <us...@domainname.com>; Wed, 25 Apr 2007 22:25:52 -0700
Received: by an-out-0708.google.com with SMTP id c36so111669ana
for <us...@domainname.com>; Wed, 25 Apr 2007 22:25:24 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
d=gmail.com; s=beta;
h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
b=QNDxZ+kkLxksf8l9o6bYek1roMnmUvNaips/qsj/Bev/VOt6FgHZJfMVSS5SLSj8vWnLxwTPjaSqNGEpV0dd7QQC+gy3sqp1wPr0KzLtPdErtYjKQBn87E858Y9JKIIteczYnG2GhUkj14A/DUukAtSLunGRH+eKKy+RIZOCb68=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=beta;
h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
b=q56LoB9/mgemXWkHGqvuugFRPLEBmeSZ7TLooP/bWt+9ogXfTYbHuA6fnypU86Cq+MHwgMjsjZ3u9zG1RM99uuoE1acSuRZQEav1+BIHdGJh2yWD1zxdKzTOrp0hGs8dbKD827k4PnbLAUo+CRVB+SrQxUH55gWm9qCWH0obUCE=
Received: by 10.101.68.18 with SMTP id v18mr818031ank.1177565124108;
Wed, 25 Apr 2007 22:25:24 -0700 (PDT)
Received: by 10.100.215.9 with HTTP; Wed, 25 Apr 2007 22:25:24 -0700 (PDT)
Message-ID: <8e...@mail.gmail.com>
Date: Wed, 25 Apr 2007 22:25:24 -0700
From: "Big Wave Dave" <bi...@gmail.com>
To: username@domainname.com
Subject: test at 10:25pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Virus-Scanned: ClamAV 0.90.2/3162/Wed Apr 25 11:43:55 2007 on
thor.domainname.net
X-Virus-Status: Clean
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by
milter-greylist-2.1.12 (thor.domainname.net [74.x.x.2]); Wed, 25 Apr
2007 22:25:52 -0700 (PDT)
testing inbound
Re: RelayCountry Issues
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Big Wave Dave wrote:
> Do you want to see the full debug with --lint or a real message?
> Should I send it to the list as well?
> Thanks for your assistance.
Either would probably do, might as well use a real message. Sending to
the list is fine.
Daryl
Re: RelayCountry Issues
Posted by Big Wave Dave <bi...@gmail.com>.
On 5/15/07, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
> Big Wave Dave wrote:
> > On 5/15/07, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
> >> Big Wave Dave wrote:
> >> > I am running SA 3.1.8, and I'm having issues implementing the
> >> > RelayCountry plugin. I followed the Wiki/PerlDoc page, but have not
> >> > had any success.
> >>
> >> > However, the header is never added.
> >> >
> >> > In init.pre, I have individually tried each:
> >> >
> >> > add_header all Relay _RELAYCOUNTRY_
> >> >
> >> > add_header all Relay_Country _RELAYCOUNTRY_
> >> >
> >> > add_header all Relay-Country _RELAYCOUNTRY_
> >> >
> >> > add_header all X-Relay-Countries _RELAYCOUNTRY_
> >> >
> >> > I tried each of the above, following posts I found online. I got the
> >> > impression it varried depending on the version you wer running. The
> >> > wiki references SA 3.1.0. Regardless, none of them added the header.
> >> > I'm sure I'm missing something simple.
> >> > Any input is appreciated.
> >>
> >> That doesn't pass a lint check, does it? The first thing to do when
> >> debugging a problem is to run 'spamassassin --lint'.
> >>
> >> Move the config to local.cf and you'll be all set.
> >>
> >>
> >> Daryl
> >
> > It passes 'spamassassin --lint' with the config in init.pre or
> > local.cf. The original email show snippets of the debugging when I
> > ran 'spamassassin -D' against a real message. I figured lint may not
> > work since it may not have a relay IP to check against. Even when I
> > run 'spamassassin -D --lint' I see:
> > [31258] dbg: plugin:
> > Mail::SpamAssassin::Plugin::RelayCountry=HASH(0xee86aa0) implements
> > 'extract_metadata'
> > [31258] dbg: metadata: X-Relay-Countries:
>
> This debug output has nothing to do with add_header. Even without the
> plugin loaded the header would still be added if add_header was
> working/configured correctly.
>
>
> > It seems like the plugin is loading properly... the piece requesting
> > it added to the headers it where my config is broken.
>
> Ah, yeah, add_header lines in a pre file wouldn't cause a lint error
> since they don't need a plugin to be loaded in order to be parsed.
>
> Of course you won't get the desired effect if you place the add_header
> lines in a pre file since the settings will be cleared by the
> clear_headers directive in 10_default_prefs.cf.
>
> I fail to see why it didn't work when you placed the add_header
> directive in your local.cf file (unless your local.cf is unreadable for
> whatever reason). You did check the output with add_header in local.cf,
> right?
>
> Perhaps full debug output would make things clear as to what is going on.
>
>
> Daryl
Do you want to see the full debug with --lint or a real message?
Should I send it to the list as well?
Thanks for your assistance.
Dave
Re: RelayCountry Issues
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Big Wave Dave wrote:
> On 5/15/07, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
>> Big Wave Dave wrote:
>> > I am running SA 3.1.8, and I'm having issues implementing the
>> > RelayCountry plugin. I followed the Wiki/PerlDoc page, but have not
>> > had any success.
>>
>> > However, the header is never added.
>> >
>> > In init.pre, I have individually tried each:
>> >
>> > add_header all Relay _RELAYCOUNTRY_
>> >
>> > add_header all Relay_Country _RELAYCOUNTRY_
>> >
>> > add_header all Relay-Country _RELAYCOUNTRY_
>> >
>> > add_header all X-Relay-Countries _RELAYCOUNTRY_
>> >
>> > I tried each of the above, following posts I found online. I got the
>> > impression it varried depending on the version you wer running. The
>> > wiki references SA 3.1.0. Regardless, none of them added the header.
>> > I'm sure I'm missing something simple.
>> > Any input is appreciated.
>>
>> That doesn't pass a lint check, does it? The first thing to do when
>> debugging a problem is to run 'spamassassin --lint'.
>>
>> Move the config to local.cf and you'll be all set.
>>
>>
>> Daryl
>
> It passes 'spamassassin --lint' with the config in init.pre or
> local.cf. The original email show snippets of the debugging when I
> ran 'spamassassin -D' against a real message. I figured lint may not
> work since it may not have a relay IP to check against. Even when I
> run 'spamassassin -D --lint' I see:
> [31258] dbg: plugin:
> Mail::SpamAssassin::Plugin::RelayCountry=HASH(0xee86aa0) implements
> 'extract_metadata'
> [31258] dbg: metadata: X-Relay-Countries:
This debug output has nothing to do with add_header. Even without the
plugin loaded the header would still be added if add_header was
working/configured correctly.
> It seems like the plugin is loading properly... the piece requesting
> it added to the headers it where my config is broken.
Ah, yeah, add_header lines in a pre file wouldn't cause a lint error
since they don't need a plugin to be loaded in order to be parsed.
Of course you won't get the desired effect if you place the add_header
lines in a pre file since the settings will be cleared by the
clear_headers directive in 10_default_prefs.cf.
I fail to see why it didn't work when you placed the add_header
directive in your local.cf file (unless your local.cf is unreadable for
whatever reason). You did check the output with add_header in local.cf,
right?
Perhaps full debug output would make things clear as to what is going on.
Daryl
Re: RelayCountry Issues
Posted by Big Wave Dave <bi...@gmail.com>.
On 5/15/07, Daryl C. W. O'Shea <sp...@dostech.ca> wrote:
> Big Wave Dave wrote:
> > I am running SA 3.1.8, and I'm having issues implementing the
> > RelayCountry plugin. I followed the Wiki/PerlDoc page, but have not
> > had any success.
>
> > However, the header is never added.
> >
> > In init.pre, I have individually tried each:
> >
> > add_header all Relay _RELAYCOUNTRY_
> >
> > add_header all Relay_Country _RELAYCOUNTRY_
> >
> > add_header all Relay-Country _RELAYCOUNTRY_
> >
> > add_header all X-Relay-Countries _RELAYCOUNTRY_
> >
> > I tried each of the above, following posts I found online. I got the
> > impression it varried depending on the version you wer running. The
> > wiki references SA 3.1.0. Regardless, none of them added the header.
> > I'm sure I'm missing something simple.
> > Any input is appreciated.
>
> That doesn't pass a lint check, does it? The first thing to do when
> debugging a problem is to run 'spamassassin --lint'.
>
> Move the config to local.cf and you'll be all set.
>
>
> Daryl
It passes 'spamassassin --lint' with the config in init.pre or
local.cf. The original email show snippets of the debugging when I
ran 'spamassassin -D' against a real message. I figured lint may not
work since it may not have a relay IP to check against. Even when I
run 'spamassassin -D --lint' I see:
[31258] dbg: plugin:
Mail::SpamAssassin::Plugin::RelayCountry=HASH(0xee86aa0) implements
'extract_metadata'
[31258] dbg: metadata: X-Relay-Countries:
It seems like the plugin is loading properly... the piece requesting
it added to the headers it where my config is broken.
Dave
Re: RelayCountry Issues
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Big Wave Dave wrote:
> I am running SA 3.1.8, and I'm having issues implementing the
> RelayCountry plugin. I followed the Wiki/PerlDoc page, but have not
> had any success.
> However, the header is never added.
>
> In init.pre, I have individually tried each:
>
> add_header all Relay _RELAYCOUNTRY_
>
> add_header all Relay_Country _RELAYCOUNTRY_
>
> add_header all Relay-Country _RELAYCOUNTRY_
>
> add_header all X-Relay-Countries _RELAYCOUNTRY_
>
> I tried each of the above, following posts I found online. I got the
> impression it varried depending on the version you wer running. The
> wiki references SA 3.1.0. Regardless, none of them added the header.
> I'm sure I'm missing something simple.
> Any input is appreciated.
That doesn't pass a lint check, does it? The first thing to do when
debugging a problem is to run 'spamassassin --lint'.
Move the config to local.cf and you'll be all set.
Daryl