Benutzer-Werkzeuge

Webseiten-Werkzeuge


mail:spamassassin:sa_learn_channel

spamassassin - sa-learn channel

Benötigt wird:

  • DNS-Record (A) : Unter diesem werden die Dateien zum Download angeboten ($DOMAIN$ = spamassassin.raiser-web.selfhost.bz)
  • DNS-Record (TXT): mirrors.$DOMAIN$
  • DNS-Record (TXT): version.$DOMAIN$
    • Es muss für jede Version von Spamassassine, für die dieser Channel gültig sein soll, ein TXT-Record angelegt werden
    • Version muss rückwärts eingegeben werden.
    • zBsp. *.2.3.$DOMAIN$, Gültig für Spamassassine-Version 3.2.*
    • Der TXT-Record enthält die Versionsnummer der aktuellen Datei, für den Download

Eine mögliche Konfiguration kann so aussehen.

DNS-A-Record  : spamassassin.raiser-web.selfhost.bz
DNS-TXT-Record: mirrors.spamassassin.raiser-web.selfhost.bz
                TXT=http://spamassassin.raiser-web.selfhost.bz/MIRRORED.BY
DNS-TXT-Record: *.2.3.spamassassin.raiser-web.selfhost.bz
                TXT=5
                    Bezug zur Datei: http://spamassassin.raiser-web.selfhost.bz/5.tar.gz
                    Bezug zur Datei: http://spamassassin.raiser-web.selfhost.bz/5.tar.gz.sha1



Inhalt der Datei MIRRORED.BY: http://spamassassin.raiser-web.selfhost.bz/ weight=1

Prüft auf Fehler in den Dateien spamassassin –lint -C /root/spamassassin_raiser-web_selfhost_bz/

sa-update manuell ausführen

#sa-update -D --nogpg --channel spamassassin.raiser-web.selfhost.bz

Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/local/share/perl/5.10.0/Exporter.pm line 66.
 at /usr/share/perl5/IO/Socket/INET6.pm line 21.
[11241] dbg: logger: adding facilities: all
[11241] dbg: logger: logging level is DBG
[11241] dbg: generic: SpamAssassin version 3.2.5
[11241] dbg: config: score set 0 chosen.
[11241] dbg: dns: is Net::DNS::Resolver available? yes
[11241] dbg: dns: Net::DNS version: 0.74
[11241] dbg: generic: sa-update version svn607589
[11241] dbg: generic: using update directory: /var/lib/spamassassin/3.002005
[11241] dbg: diag: perl platform: 5.010000 linux
[11241] dbg: diag: module installed: Digest::SHA1, version 2.13
[11241] dbg: diag: module installed: HTML::Parser, version 3.72
[11241] dbg: diag: module installed: Net::DNS, version 0.74
[11241] dbg: diag: module installed: MIME::Base64, version 3.15
[11241] dbg: diag: module installed: DB_File, version 1.84
[11241] dbg: diag: module installed: Net::SMTP, version 3.10
[11241] dbg: diag: module installed: Mail::SPF, version v2.005
[11241] dbg: diag: module not installed: Mail::SPF::Query ('require' failed)
[11241] dbg: diag: module installed: IP::Country::Fast, version 604.001
[11241] dbg: diag: module installed: Razor2::Client::Agent, version 2.84
[11241] dbg: diag: module installed: Net::Ident, version 1.24
[11241] dbg: diag: module installed: IO::Socket::INET6, version 2.54
[11241] dbg: diag: module installed: IO::Socket::SSL, version 1.16
[11241] dbg: diag: module installed: Compress::Zlib, version 2.012
[11241] dbg: diag: module installed: Time::HiRes, version 1.9746
[11241] dbg: diag: module not installed: Mail::DomainKeys ('require' failed)
[11241] dbg: diag: module not installed: Mail::DKIM ('require' failed)
[11241] dbg: diag: module installed: DBI, version 1.634
[11241] dbg: diag: module installed: Getopt::Long, version 2.5
[11241] dbg: diag: module installed: LWP::UserAgent, version 5.813
[11241] dbg: diag: module installed: HTTP::Date, version 5.810
[11241] dbg: diag: module installed: Archive::Tar, version 2.26
[11241] dbg: diag: module installed: IO::Zlib, version 1.10
[11241] dbg: diag: module installed: Encode::Detect, version 1.01
[11241] dbg: channel: attempting channel spamassassin.raiser-web.selfhost.bz
[11241] dbg: channel: update directory /var/lib/spamassassin/3.002005/spamassassin_raiser-web_selfhost_bz
[11241] dbg: channel: channel cf file /var/lib/spamassassin/3.002005/spamassassin_raiser-web_selfhost_bz.cf
[11241] dbg: channel: channel pre file /var/lib/spamassassin/3.002005/spamassassin_raiser-web_selfhost_bz.pre
[11241] dbg: channel: metadata version = 5
[11241] dbg: dns: 5.2.3.spamassassin.raiser-web.selfhost.bz => 5, parsed as 5
[11241] dbg: channel: current version is 5, new version is 5, skipping channel
[11241] dbg: diag: updates complete, exiting with code 1

oder… so…, nachdem die Version im TXT-Record erhöht wurde.




Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/local/share/perl/5.10.0/Exporter.pm line 66.
 at /usr/share/perl5/IO/Socket/INET6.pm line 21.
[11412] dbg: logger: adding facilities: all
[11412] dbg: logger: logging level is DBG
[11412] dbg: generic: SpamAssassin version 3.2.5
[11412] dbg: config: score set 0 chosen.
[11412] dbg: dns: is Net::DNS::Resolver available? yes
[11412] dbg: dns: Net::DNS version: 0.74
[11412] dbg: generic: sa-update version svn607589
[11412] dbg: generic: using update directory: /var/lib/spamassassin/3.002005
[11412] dbg: diag: perl platform: 5.010000 linux
[11412] dbg: diag: module installed: Digest::SHA1, version 2.13
[11412] dbg: diag: module installed: HTML::Parser, version 3.72
[11412] dbg: diag: module installed: Net::DNS, version 0.74
[11412] dbg: diag: module installed: MIME::Base64, version 3.15
[11412] dbg: diag: module installed: DB_File, version 1.84
[11412] dbg: diag: module installed: Net::SMTP, version 3.10
[11412] dbg: diag: module installed: Mail::SPF, version v2.005
[11412] dbg: diag: module not installed: Mail::SPF::Query ('require' failed)
[11412] dbg: diag: module installed: IP::Country::Fast, version 604.001
[11412] dbg: diag: module installed: Razor2::Client::Agent, version 2.84
[11412] dbg: diag: module installed: Net::Ident, version 1.24
[11412] dbg: diag: module installed: IO::Socket::INET6, version 2.54
[11412] dbg: diag: module installed: IO::Socket::SSL, version 1.16
[11412] dbg: diag: module installed: Compress::Zlib, version 2.012
[11412] dbg: diag: module installed: Time::HiRes, version 1.9746
[11412] dbg: diag: module not installed: Mail::DomainKeys ('require' failed)
[11412] dbg: diag: module not installed: Mail::DKIM ('require' failed)
[11412] dbg: diag: module installed: DBI, version 1.634
[11412] dbg: diag: module installed: Getopt::Long, version 2.5
[11412] dbg: diag: module installed: LWP::UserAgent, version 5.813
[11412] dbg: diag: module installed: HTTP::Date, version 5.810
[11412] dbg: diag: module installed: Archive::Tar, version 2.26
[11412] dbg: diag: module installed: IO::Zlib, version 1.10
[11412] dbg: diag: module installed: Encode::Detect, version 1.01
[11412] dbg: channel: attempting channel spamassassin.raiser-web.selfhost.bz
[11412] dbg: channel: update directory /var/lib/spamassassin/3.002005/spamassassin_raiser-web_selfhost_bz
[11412] dbg: channel: channel cf file /var/lib/spamassassin/3.002005/spamassassin_raiser-web_selfhost_bz.cf
[11412] dbg: channel: channel pre file /var/lib/spamassassin/3.002005/spamassassin_raiser-web_selfhost_bz.pre
[11412] dbg: channel: metadata version = 5
[11412] dbg: dns: 5.2.3.spamassassin.raiser-web.selfhost.bz => 6, parsed as 6
[11412] dbg: channel: preparing temp directory for new channel
[11412] dbg: generic: update tmp directory /tmp/.spamassassin11412LDpmEAtmp
[11412] dbg: generic: lint checking site pre files once before attempting channel updates
[11412] dbg: generic: SpamAssassin version 3.2.5
[11412] dbg: config: score set 0 chosen.
[11412] dbg: dns: is Net::DNS::Resolver available? yes
[11412] dbg: dns: Net::DNS version: 0.74
[11412] dbg: ignore: using a test message to lint rules
[11412] dbg: config: using "/etc/spamassassin" for site rules pre files
[11412] dbg: config: read file /etc/spamassassin/init.pre
[11412] dbg: config: read file /etc/spamassassin/v310.pre
[11412] dbg: config: read file /etc/spamassassin/v312.pre
[11412] dbg: config: read file /etc/spamassassin/v320.pre
[11412] dbg: config: using "/tmp/.spamassassin11412LDpmEAtmp/doesnotexist" for sys rules pre files
[11412] dbg: config: using "/tmp/.spamassassin11412LDpmEAtmp/doesnotexist" for default rules dir
[11412] dbg: config: using "/tmp/.spamassassin11412LDpmEAtmp/doesnotexist/doesnotexist" for user prefs file
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[11412] dbg: pyzor: local tests only, disabling Pyzor
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[11412] dbg: razor2: local tests only, skipping Razor
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[11412] dbg: reporter: local tests only, disabling SpamCop
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
[11412] dbg: conf: finish parsing
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xad7d798) implements 'finish_parsing_end', priority 0
[11412] dbg: replacetags: replacing tags
[11412] dbg: replacetags: done replacing tags
[11412] dbg: config: score set 0 chosen.
[11412] dbg: message: main message type: text/plain
[11412] dbg: message: ---- MIME PARSER START ----
[11412] dbg: message: parsing normal part
[11412] dbg: message: ---- MIME PARSER END ----
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0xae07290) implements 'check_start', priority 0
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0xadc5828) implements 'check_main', priority 0
[11412] dbg: conf: trusted_networks are not configured; it is recommended that you configure trusted_networks manually
[11412] dbg: metadata: X-Spam-Relays-Trusted:
[11412] dbg: metadata: X-Spam-Relays-Untrusted:
[11412] dbg: metadata: X-Spam-Relays-Internal:
[11412] dbg: metadata: X-Spam-Relays-External:
[11412] dbg: message: no encoding detected
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xacaea40) implements 'parsed_metadata', priority 0
[11412] dbg: dns: is_dns_available() last checked 1517946425.0 seconds ago; re-checking
[11412] dbg: dns: is DNS available? 0
[11412] dbg: rules: local tests only, ignoring RBL eval
[11412] dbg: dns: harvest_dnsbl_queries
[11412] dbg: check: is spam? score=0 required=5
[11412] dbg: check: tests=
[11412] dbg: check: subtests=
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0xad74f20) implements 'finish_tests', priority 0
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0xadc5828) implements 'finish_tests', priority 0
[11412] dbg: generic: lint check of site pre files succeeded, continuing with channel updates
[11412] dbg: channel: reading MIRRORED.BY file
[11412] dbg: channel: found mirror http://spamassassin.raiser-web.selfhost.bz/ weight=1
[11412] dbg: channel: selected mirror http://spamassassin.raiser-web.selfhost.bz
[11412] dbg: http: GET request, http://spamassassin.raiser-web.selfhost.bz/6.tar.gz
[11412] dbg: http: GET request, http://spamassassin.raiser-web.selfhost.bz/6.tar.gz.sha1
[11412] dbg: http: IMS GET request, http://spamassassin.raiser-web.selfhost.bz/MIRRORED.BY, Thu, 11 May 2017 19:28:25 GMT
[11412] dbg: sha1: verification wanted: ddf377e8a35947457b6c6c7f73f6e5d72781131e
[11412] dbg: sha1: verification result: ddf377e8a35947457b6c6c7f73f6e5d72781131e
[11412] dbg: channel: populating temp content file
[11412] dbg: channel: file verification passed, testing update
[11412] dbg: channel: extracting archive
[11412] dbg: extracting: /tmp/.spamassassin11412LDpmEAtmp/70_RIT_body.cf
[11412] dbg: generic: SpamAssassin version 3.2.5
[11412] dbg: config: score set 0 chosen.
[11412] dbg: dns: is Net::DNS::Resolver available? yes
[11412] dbg: dns: Net::DNS version: 0.74
[11412] dbg: ignore: using a test message to lint rules
[11412] dbg: config: using "/etc/spamassassin" for site rules pre files
[11412] dbg: config: read file /etc/spamassassin/init.pre
[11412] dbg: config: read file /etc/spamassassin/v310.pre
[11412] dbg: config: read file /etc/spamassassin/v312.pre
[11412] dbg: config: read file /etc/spamassassin/v320.pre
[11412] dbg: config: using "/tmp/.spamassassin11412LDpmEAtmp" for sys rules pre files
[11412] dbg: config: using "/tmp/.spamassassin11412LDpmEAtmp" for default rules dir
[11412] dbg: config: read file /tmp/.spamassassin11412LDpmEAtmp/70_RIT_body.cf
[11412] dbg: config: using "/tmp/.spamassassin11412LDpmEAtmp/doesnotexist" for user prefs file
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[11412] dbg: pyzor: local tests only, disabling Pyzor
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::Razor2 from @INC
[11412] dbg: razor2: local tests only, skipping Razor
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from @INC
[11412] dbg: reporter: local tests only, disabling SpamCop
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::Check from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTTPSMismatch from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIDetail from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::Bayes from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::BodyEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::DNSEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::HTMLEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::HeaderEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::RelayEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::URIEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::WLBLEval from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::VBounce from @INC
[11412] dbg: plugin: loading Mail::SpamAssassin::Plugin::ImageInfo from @INC
[11412] dbg: rules: RIT_BODY_59 merged duplicates: RIT_BODY_72
[11412] dbg: rules: RIT_BODY_41 merged duplicates: RIT_BODY_90
[11412] dbg: conf: finish parsing
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0xadef480) implements 'finish_parsing_end', priority 0
[11412] dbg: replacetags: replacing tags
[11412] dbg: replacetags: done replacing tags
[11412] dbg: config: score set 0 chosen.
[11412] dbg: message: main message type: text/plain
[11412] dbg: message: ---- MIME PARSER START ----
[11412] dbg: message: parsing normal part
[11412] dbg: message: ---- MIME PARSER END ----
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::DNSEval=HASH(0xaf47b60) implements 'check_start', priority 0
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0xae21b50) implements 'check_main', priority 0
[11412] dbg: conf: trusted_networks are not configured; it is recommended that you configure trusted_networks manually
[11412] dbg: metadata: X-Spam-Relays-Trusted:
[11412] dbg: metadata: X-Spam-Relays-Untrusted:
[11412] dbg: metadata: X-Spam-Relays-Internal:
[11412] dbg: metadata: X-Spam-Relays-External:
[11412] dbg: message: no encoding detected
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xaf1a7c8) implements 'parsed_metadata', priority 0
[11412] dbg: rules: local tests only, ignoring RBL eval
[11412] dbg: check: running tests for priority: 0
[11412] dbg: rules: running head tests; score so far=0
[11412] dbg: rules: compiled head tests
[11412] dbg: rules: running body tests; score so far=0
[11412] dbg: rules: compiled body tests
[11412] dbg: rules: running uri tests; score so far=0
[11412] dbg: rules: compiled uri tests
[11412] dbg: rules: running rawbody tests; score so far=0
[11412] dbg: rules: compiled rawbody tests
[11412] dbg: rules: running full tests; score so far=0
[11412] dbg: rules: compiled full tests
[11412] dbg: rules: running meta tests; score so far=0
[11412] dbg: rules: compiled meta tests
[11412] dbg: dns: harvest_dnsbl_queries
[11412] dbg: check: is spam? score=0 required=5
[11412] dbg: check: tests=
[11412] dbg: check: subtests=
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0xac71be0) implements 'finish_tests', priority 0
[11412] dbg: plugin: Mail::SpamAssassin::Plugin::Check=HASH(0xae21b50) implements 'finish_tests', priority 0
[11412] dbg: channel: lint check succeeded, extracting archive to /var/lib/spamassassin/3.002005/spamassassin_raiser-web_selfhost_bz...
[11412] dbg: channel: point of no return for existing /var/lib/spamassassin/3.002005/spamassassin_raiser-web_selfhost_bz
[11412] dbg: generic: unlinking MIRRORED.BY
[11412] dbg: generic: unlinking 70_RIT_body.cf
[11412] dbg: extracting: /var/lib/spamassassin/3.002005/spamassassin_raiser-web_selfhost_bz/70_RIT_body.cf
[11412] dbg: channel: creating MIRRORED.BY file
[11412] dbg: channel: creating update cf/pre files
[11412] dbg: channel: adding 70_RIT_body.cf
[11412] dbg: channel: update complete
[11412] dbg: generic: cleaning up temporary directory/files
[11412] dbg: generic: unlinking 70_RIT_body.cf
[11412] dbg: diag: updates complete, exiting with code 0
mail/spamassassin/sa_learn_channel.txt · Zuletzt geändert: 2018/02/06 19:48 von raiser