my last question please...
I enabled network test in spamassassin (in local.cf) e try to add via cpan Net::DNS
but it hangs while installing via cpan on something related to FTP:
this is my output
root# cpan -i Net::DNS
CPAN: Storable loaded ok
Going to read /private/var/root/.cpan/Metadata
Database was generated on Wed, 08 Oct 2008 19:28:23 GMT
LWP not available
CPAN: Net::FTP loaded ok
Fetching with Net::FTP:
ftp://**.********.**/****/*******/********.**.gz
<Edited by Moderator>
---------
then hangs here....
If i try to make spamassassin test an email saved on my destop with
spamassassin -tD < path to message
it reports sa debug version infos/.cf rules (1 error on DNS ) and at the end it doesn't show
its default email spam statistic about what catched by .cf rules....
Any idea to fix this?
i report sa debug output (what do you think?is it ok?):
---------
89-96-213-240:/Users/admin root# spamassassin -D --lint
debug: SpamAssassin version 3.0.1
debug: Score set 0 chosen.
debug: running in taint mode? yes
debug: Running in taint mode, removing unsafe env vars, and resetting PATH
debug: PATH included '/bin', keeping.
debug: PATH included '/sbin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: Final PATH set to: /bin:/sbin:/usr/bin:/usr/sbin
debug: diag: module not installed: DBI ('require' failed)
debug: diag: module installed: DB_File, version 1.810
debug: diag: module installed: Digest::SHA1, version 2.10
debug: diag: module installed: IO::Socket::UNIX, version 1.21
debug: diag: module installed: MIME::Base64, version 3.05
debug: diag: module not installed: Net::DNS ('require' failed)
debug: diag: module not installed: Net::LDAP ('require' failed)
debug: diag: module not installed: Razor2::Client::Agent ('require' failed)
debug: diag: module installed: Storable, version 2.13
debug: diag: module installed: URI, version 1.35
debug: ignore: using a test message to lint rules
debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre
debug: config: read file /etc/mail/spamassassin/init.pre
debug: using "//usr/share/spamassassin" for default rules dir
debug: config: read file //usr/share/spamassassin/60_whitelist.cf
debug: using "//etc/mail/spamassassin" for site rules dir
debug: config: read file //etc/mail/spamassassin/00
FVGTFile001.cf
debug: config: read file //etc/mail/spamassassin/70
sareadult.cf
debug: config: read file //etc/mail/spamassassin/70
saregenlsubj0.cf
debug: config: read file //etc/mail/spamassassin/70
sareheader0.cf
debug: config: read file //etc/mail/spamassassin/70
sarehtml0.cf
debug: config: read file //etc/mail/spamassassin/70
sareobfu0.cf
debug: config: read file //etc/mail/spamassassin/70
sareoem.cf
debug: config: read file //etc/mail/spamassassin/70
sarespoof.cf
debug: config: read file //etc/mail/spamassassin/70
sarestocks.cf
debug: config: read file //etc/mail/spamassassin/70
sareunsub.cf
debug: config: read file //etc/mail/spamassassin/70
sarewhitelist.cf
debug: config: read file //etc/mail/spamassassin/71
sare_redirectpre3.0.0.cf
debug: config: read file //etc/mail/spamassassin/72
sare_redirectpost3.0.0.cf
debug: config: read file //etc/mail/spamassassin/backhair.cf
debug: config: read file //etc/mail/spamassassin/bogus-virus-warnings.cf
debug: config: read file //etc/mail/spamassassin/edizioniambiente.cf
debug: config: read file //etc/mail/spamassassin/local.cf
debug: config: read file //etc/mail/spamassassin/omar.cf
debug: config: read file //etc/mail/spamassassin/weeds.cf
debug: using "/private/var/root/.spamassassin" for user state dir
debug: using "/private/var/root/.spamassassin/user_prefs" for user prefs file
debug: config: read file /private/var/root/.spamassassin/user_prefs
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: failed to load Net::DNS::Resolver: Can't locate Net/DNS.pm in @INC (@INC contains: //lib/perl5/site_perl /System/Library/Perl/5.8.6/darwin-thread-multi-2level /System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6 /Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level /Network/Library/Perl/5.8.6 /Network/Library/Perl /System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1) at /System/Library/Perl/Extras/5.8.6/Mail/SpamAssassin/Plugin/URIDNSBL.pm line 113.
debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1b75150)
debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0x1afd3e0)
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x1afe40c)
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1b75150) implements 'parse_config'
debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x1afd3e0) implements 'parse_config'
config: SpamAssassin failed to parse line, skipping: auto_learn 1
config: SpamAssassin failed to parse line, skipping: safe_reporting 0
config: SpamAssassin failed to parse line, skipping: use
tersereport 0
config: SpamAssassin failed to parse line, skipping: subject_tag
* Warning: Junk Mail
*
config: SpamAssassin failed to parse line, skipping: rewrite_subject 0
warning: description for FS
STARTDOYOU2 is over 50 chars
debug: using "/private/var/root/.spamassassin" for user state dir
debug: bayes: 12392 tie-ing to DB file R/O /private/var/root/.spamassassin/bayes_toks
debug: bayes: 12392 tie-ing to DB file R/O /private/var/root/.spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: using "/private/var/root/.spamassassin" for user state dir
debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB < 200
debug: bayes: 12392 untie-ing
debug: bayes: 12392 untie-ing db_toks
debug: bayes: 12392 untie-ing db_seen
debug: Score set 1 chosen.
debug: ---- MIME PARSER START ----
debug: main message type: text/plain
debug: parsing normal part
debug: added part, type: text/plain
debug: ---- MIME PARSER END ----
debug: bayes: 12392 tie-ing to DB file R/O /private/var/root/.spamassassin/bayes_toks
debug: bayes: 12392 tie-ing to DB file R/O /private/var/root/.spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB < 200
debug: bayes: 12392 untie-ing
debug: bayes: 12392 untie-ing db_toks
debug: bayes: 12392 untie-ing db_seen
debug: metadata: X-Spam-Relays-Trusted:
debug: metadata: X-Spam-Relays-Untrusted:
debug: decoding: no encoding detected
debug: Loading languages file...
debug: Language possibly: en,sco
debug: metadata: X-Languages: en sco
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1b75150) implements 'parsed_metadata'
debug: Running tests for priority: 0
debug: running header regexp tests; score so far=0
debug: all '*From' addrs: ignore@compiling.spamassassin.taint.org
debug: all '*To' addrs:
debug: running body-text per-line regexp tests; score so far=0
debug: running uri tests; score so far=0
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1b75150) implements 'check_tick'
debug: running raw-body-text per-line regexp tests; score so far=0
debug: running full-text regexp tests; score so far=0
debug: Running tests for priority: 500
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1b75150) implements 'check
postdnsbl'
debug: running meta tests; score so far=0
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=0
debug: running uri tests; score so far=0
debug: running raw-body-text per-line regexp tests; score so far=0
debug: running full-text regexp tests; score so far=0
debug: Running tests for priority: 1000
debug: running meta tests; score so far=0
debug: running header regexp tests; score so far=0
debug: using "/private/var/root/.spamassassin" for user state dir
debug: lock: 12392 created /private/var/root/.spamassassin/auto-whitelist.lock.89-96-213-240.ip14.fastwebn et.it.12392
debug: lock: 12392 trying to get lock on /private/var/root/.spamassassin/auto-whitelist with 0 retries
debug: lock: 12392 link to /private/var/root/.spamassassin/auto-whitelist.lock: link ok
debug: Tie-ing to DB file R/W in /private/var/root/.spamassassin/auto-whitelist
debug: auto-whitelist (db-based): ignore@compiling.spamassassin.taint.org|ip=none scores 0/0
debug: AWL active, pre-score: 0, autolearn score: 0, mean: undef, IP: undef
debug: DB addr list: untie-ing and unlocking.
debug: DB addr list: file locked, breaking lock.
debug: unlock: 12392 unlink /private/var/root/.spamassassin/auto-whitelist.lock
debug: Post AWL score: 0
debug: running body-text per-line regexp tests; score so far=0
debug: running uri tests; score so far=0
debug: running raw-body-text per-line regexp tests; score so far=0
debug: running full-text regexp tests; score so far=0
debug: is spam? score=0 required=4
debug: tests=
debug: subtests=
_SARE_WHITELISTFLAG
lint: 6 issues detected. please rerun with debug enabled for more information.
-------------------