Gocr gives an error while it is trying to read a pic sometimes

2007-08-08 Thread Halid Faith
I use spamassassin3.1.7, fuzzyocr, gocr0.44 ( Before I used gocr 0.41 and
0.43 )

Gocr gives an error while it is trying to read a picture sometimes as below;

1 - gocr -l 180 -d 2 -i italic.gif
giftopnm: Reading Image Sequence 0
giftopnm: EOF or error reading data portion of 59 byte DataBlock from file
(null): Error reading magic number from Netpbm image stream.  Most often,
this means your input file is empty.


2 - On another picture,
giftopnm: Reading Image Sequence 0
# Warning: non-positive median line gap of 0


How can I fix above errors ?

Thanks



Bad file descriptor

2007-04-10 Thread Halid Faith
I use spamassassin3.1.7_1
I rarely get a warning from the SA like below;
warn: prefork: select returned -1! recovering: Bad file descriptor
What should I do not to give such as above an error?
 

  


Spf plugin doesn't work properly for some mails.

2006-12-27 Thread Halid Faith
I use SA3.1.7 and I installed SPF plugin. But it seem to doesn't work properly. 
I get below errors. That is, as far as I can see SPF works for some headers and 
it doesn't work for some headers.   

Wed Dec 27 13:01:17 2006 [12173] info: spamd: processing message [EMAIL 
PROTECTED] for [EMAIL PROTECTED]:1001
Wed Dec 27 13:01:17 2006 [12173] dbg: spf: checking HELO 
(helo=ug-out-1314.mail.com, ip=66.249.92.168)
Wed Dec 27 13:01:18 2006 [12173] dbg: spf: query for 
/66.249.92.168/ug-out-1314.mail.com: result: none, comment: SPF: domain of 
sender ug-out-1314.mail.com does not designate mailers
Wed Dec 27 13:01:18 2006 [12173] dbg: spf: cannot get Envelope-From, cannot use 
SPF
Wed Dec 27 13:01:18 2006 [12173] dbg: spf: def_spf_whitelist_from: could not 
find useable envelope sender
Wed Dec 27 13:01:18 2006 [12173] dbg: spf: spf_whitelist_from: could not find 
useable envelope sender

What shall I do ?



Re: Spf plugin doesn't work properly for some mails.

2006-12-27 Thread Halid Faith
MessageI can give an example hotmail.com instead of mail.com.

I have an email account in a mail server which is open relay to try that
case. I changed my email address with [EMAIL PROTECTED] and I sent to my
another mail address which is located in my mail server which have SA and
spf plugin.I see the log as below in my SPF server ;
Wed Dec 27 18:54:29 2006 [21116] info: spamd: processing message
[EMAIL PROTECTED] for [EMAIL PROTECTED]:1001
Wed Dec 27 18:54:29 2006 [21116] dbg: spf: checking HELO
(helo=mail2.YYY.net, ip=84.51.37.2)
Wed Dec 27 18:54:29 2006 [21116] dbg: spf: query for
/84.51.37.2/mail2.YYY.net: result: none, comment: SPF: domain of sender
mail2.YYY.net does not designate mailers
Wed Dec 27 18:54:29 2006 [21116] dbg: spf: cannot get Envelope-From, cannot
use SPF
Wed Dec 27 18:54:29 2006 [21116] dbg: spf: def_spf_whitelist_from: could not
find useable envelope sender
Wed Dec 27 18:54:29 2006 [21116] dbg: spf: spf_whitelist_from: could not
find useable envelope sender
Wed Dec 27 18:54:33 2006 [21116] info: spamd: clean message (4.1/15.0) for
[EMAIL PROTECTED]:1001 in 4.0 seconds, 1418 bytes.
Wed Dec 27 18:54:33 2006 [21116] info: spamd: result: . 4 -
FORGED_HOTMAIL_RCVD2,HTML_MESSAGE,MIME_HTML_MOSTLY,PYZOR_CHECK
scantime=4.0,size=1418,[EMAIL PROTECTED],uid=1001,required_score=15.0,r
host=localhost,raddr=127.0.0.1,rport=56423,mid=00ae01c729d7$c2fee2a0$dc96ee
[EMAIL PROTECTED],autolearn=no

That is my spf doesn't sometimes work.   But it sometimes works as below,
Wed Dec 27 14:32:59 2006 [30666] info: spamd: result: . 7 -
AWL,FORGED_MUA_OUTLOOK,INVALID_MSGID,MIME_BASE64_TEXT,NO_REAL_NAME,SPF_FAIL
scantime=11.0,size=1938,[EMAIL PROTECTED],uid=1001,required_score=15.0,r
host=localhost,raddr=127.0.0.1,rport=50507,mid=4592684C.2FE8A5.29398,autol
earn=no

How do I have to configure my SA or SPF?
- Original Message - 
From: Michael Scheidell
To: Halid Faith ; users@spamassassin.apache.org
Sent: Wednesday, December 27, 2006 1:40 PM
Subject: RE: Spf plugin doesn't work properly for some mails.


pick an example of a company that uses SPF correctly?  seems mail.com
doesn't publish spf records for their mail servers?



How to give a different required score for a several domains apart from general required score in local.cf ?

2006-12-23 Thread Halid Faith
I have a MX mail server. Our mailboxes is not located in it.  SA3.1.7 is 
installed on the mx server. The mailboxes are another mail server which has not 
spamassassin.
I have some domains. I assigned a required score in local.cf on the mx server. 
That score covers all my domains. Yet I want to give a different required score 
for a few domains. 
How can I do that?

Also I want spamassassin not to check some outside domains ( for instance, like 
googlegroups )  in stead of add  a  whitelist_from them. 

How can I do that ?






How to change tmpdir of spamassassin?

2006-12-20 Thread Halid Faith
I use spamassassin3.1.7. It uses tmp directory of root. Fuzzyocr uses it too. 

I want them to use different a place from /tmp dir.
How can I do that ?

  

How to check spf works ?

2006-12-19 Thread Halid Faith
I use qmail-1.03.

I installed p5-Mail-SPF-Query-1.999.1
I added SPF plugin in init.pre as below on spamassassin3.1.7 

loadplugin Mail::SpamAssassin::Plugin::SPF
I restarted sa-spamd.

Yet I can't see whether SPF works in spamd.log

How can I check SPF works ?

Thanks


Re: How to check spf works ?

2006-12-19 Thread Halid Faith
Starting spamd.
[92020] dbg: logger: adding facilities: all
[92020] dbg: logger: logging level is DBG
[92020] dbg: logger: successfully opened file /var/log/spamd.log
[92020] dbg: logger: successfully added file method
[92020] dbg: spamd: creating INET socket:
[92020] dbg: spamd: Listen: 128
[92020] dbg: spamd: LocalAddr: 127.0.0.1
[92020] dbg: spamd: LocalPort: 783
[92020] dbg: spamd: Proto: 6
[92020] dbg: spamd: ReuseAddr: 1
[92020] dbg: spamd: Type: 1
[92020] dbg: logger: adding facilities: all
[92020] dbg: logger: logging level is DBG
[92020] dbg: generic: SpamAssassin version 3.1.7
[92020] dbg: config: score set 0 chosen.
[92020] dbg: message:  MIME PARSER START 
[92020] dbg: message: main message type: text/plain
[92020] dbg: message: parsing normal part
[92020] dbg: message: added part, type: text/plain
[92020] dbg: message:  MIME PARSER END 
[92020] dbg: dns: is Net::DNS::Resolver available? yes
[92020] dbg: dns: Net::DNS version: 0.59

in the spam.log;
Wed Dec 20 01:23:07 2006 [92022] dbg: plugin: loading
Mail::SpamAssassin::Plugin::SPF from @INC
Wed Dec 20 01:23:07 2006 [92022] dbg: plugin: registered
Mail::SpamAssassin::Plugin::SPF=HASH(0x8c365d8)


- Original Message - 
From: Theo Van Dinter [EMAIL PROTECTED]
To: users@spamassassin.apache.org
Sent: Wednesday, December 20, 2006 1:12 AM
Subject: Re: How to check spf works ?




Re: How to check spf works ?

2006-12-19 Thread Halid Faith
Starting spamd.
[92020] dbg: logger: adding facilities: all
[92020] dbg: logger: logging level is DBG
[92020] dbg: logger: successfully opened file /var/log/spamd.log
[92020] dbg: logger: successfully added file method
[92020] dbg: spamd: creating INET socket:
[92020] dbg: spamd: Listen: 128
[92020] dbg: spamd: LocalAddr: 127.0.0.1
[92020] dbg: spamd: LocalPort: 783
[92020] dbg: spamd: Proto: 6
[92020] dbg: spamd: ReuseAddr: 1
[92020] dbg: spamd: Type: 1
[92020] dbg: logger: adding facilities: all
[92020] dbg: logger: logging level is DBG
[92020] dbg: generic: SpamAssassin version 3.1.7
[92020] dbg: config: score set 0 chosen.
[92020] dbg: message:  MIME PARSER START 
[92020] dbg: message: main message type: text/plain
[92020] dbg: message: parsing normal part
[92020] dbg: message: added part, type: text/plain
[92020] dbg: message:  MIME PARSER END 
[92020] dbg: dns: is Net::DNS::Resolver available? yes
[92020] dbg: dns: Net::DNS version: 0.59

in the spam.log;
Wed Dec 20 01:23:07 2006 [92022] dbg: plugin: loading
Mail::SpamAssassin::Plugin::SPF from @INC
Wed Dec 20 01:23:07 2006 [92022] dbg: plugin: registered
Mail::SpamAssassin::Plugin::SPF=HASH(0x8c365d8)
Wed Dec 20 01:23:07 2006 [92022] dbg: config: using
/var/lib/spamassassin/3.001007/updates_spamassassin_org/25_spf.cf for
included file
Wed Dec 20 01:23:07 2006 [92022] dbg: config: read file
/var/lib/spamassassin/3.001007/updates_spamassassin_org/25_spf.cf
Wed Dec 20 01:23:08 2006 [92022] dbg: plugin: fixed relative path:
/var/lib/spamassassin/3.001007/updates_spamassassin_org/60_whitelist_spf.cf
Wed Dec 20 01:23:08 2006 [92022] dbg: config: using
/var/lib/spamassassin/3.001007/updates_spamassassin_org/60_whitelist_spf.cf
 for included file
Wed Dec 20 01:23:08 2006 [92022] dbg: config: read file
/var/lib/spamassassin/3.001007/updates_spamassassin_org/60_whitelist_spf.cf
- Original Message - 
From: Theo Van Dinter [EMAIL PROTECTED]
To: users@spamassassin.apache.org
Sent: Wednesday, December 20, 2006 1:12 AM
Subject: Re: How to check spf works ?




what does Image is single non-interlaced mean ?

2006-12-18 Thread Halid Faith
I see a messages as below in Fuzzyocr.log.
Image is single non-interlaced

What does it mean?

What should I do ?

Thanks


How can I change my tmp directory for Fuzzyocr ?

2006-12-17 Thread Halid Faith
I use spamassassin3.1.7 and Fuzzyocr3.4.2
My tmp directory very small Therefore I get an error as below;
Scan canceled, cannot create Image TMPDIR   in Fuzzy.log
I have to change tmp directory for fuzzyocr. 
How can I do that?



Why don't my Fuzzyocr see some mails which has spam text in a jpeg file ?

2006-12-16 Thread Halid Faith
I use spamassassin3.1.7 and fuzzyocr3.4.2

Fuzzyocr usually work well. Yet some mails which contains jpeg can't see. 
Therefore fuzzyocr don't give any score them as FUZZY_OCR.

Here's my Fuzzyocr.cf 

body FUZZY_OCR eval:fuzzyocr_check()
describe FUZZY_OCR Mail contains an image with common spam text inside
body FUZZY_OCR_WRONG_CTYPE eval:dummy_check()
describe FUZZY_OCR_WRONG_CTYPE Mail contains an image with wrong content-type 
set
body FUZZY_OCR_CORRUPT_IMG eval:dummy_check()
describe FUZZY_OCR_CORRUPT_IMG Mail contains a corrupted image
body FUZZY_OCR_KNOWN_HASH eval:dummy_check()
describe FUZZY_OCR_KNOWN_HASH Mail contains an image with known hash

priority FUZZY_OCR 900

### Plugin Configuration #

 Logging options #
# Verbosity level (see manual) Attention: Don't set to 0, but to 0.0 for quiet 
operation, or comment out the focr_logfile line. (Def
focr_verbose 2.0
#
# Logfile (make sure it is writable by the plugin) (Default value: NONE)
focr_logfile /usr/local/etc/mail/spamassassin/FuzzyOcr.log
##

# Wordlists #
# Here we defined the words to scan for (Default value: 
/etc/mail/spamassassin/FuzzyOcr.words)
focr_global_wordlist /usr/local/etc/mail/spamassassin/FuzzyOcr.words
#
# This is the path RELATIVE to the respektive home directory for the 
personalized list
# This list is merged with the global word list on execution (Default value: 
.spamassassin/fuzzyocr.words)
# If focr_personal_wordlist begins with '/', treats option as fixed path and 
does not search HOME
#focr_personal_wordlist .spamassassin/fuzzyocr.words
#

# These parameters can be used to change other detection settings
# If you leave these commented out, the defaults will be used.
# Do not use   around any parameters!
#
# Location of helper applications (path + binary) (Default values: 
/usr/bin/app) #
focr_bin_gifsicle /usr/local/bin/gifsicle
focr_bin_giffix /usr/local/bin/giffix
focr_bin_giftext /usr/local/bin/giftext
focr_bin_gifinter /usr/local/bin/gifinter
focr_bin_giftopnm /usr/local/bin/giftopnm
focr_bin_jpegtopnm /usr/local/bin/jpegtopnm
focr_bin_pngtopnm /usr/local/bin/pngtopnm
focr_bin_bmptopnm /usr/local/bin/bmptopnm
focr_bin_tifftopnm /usr/local/bin/tifftopnm
focr_bin_ppmhist /usr/local/bin/ppmhist
focr_bin_gocr /usr/local/bin/gocr
focr_bin_ocrad /usr/local/bin/ocrad
#
focr_path_bin /usr/local/netpbm/bin:/usr/local/bin:/usr/bin
#


# Scansets, comma seperated (Default value: $gocr -i -, $gocr -l 180 -d 2 
-i -) #
# Each scanset consists of one or more commands which make text out of pnm 
input.
# Each scanset is run seperately on the PNM data, results are combined in 
scoring.
#focr_scansets $gocr -i $pfile, $gocr -l 180 -d 2 -i $pfile
#
# An example that involves ocrad as well
focr_scansets $gocr -i $pfile, $gocr -l 180 -d 2 -i $pfile, $ocrad -s 0.5 -T 
0.5 $pfile
#
# Another one for ocrad only
#focr_scansets $ocrad -s 0.5 -T 0.5 $pfile
#
# To use only one scan with default values, uncomment the next line instead
#focr_scansets $gocr -i $pfile


  

Re: Why don't my Fuzzyocr see some mails which has spam text in a jpeg file ?

2006-12-16 Thread Halid Faith
Yes, My FuzzyOCR recognize spam text in the jpeg sample file.
Debug is already enable.
Still it can't see some mails which spam text in jpeg/gif file like as below
http://212.64.213.55:5000
Can your fuzzyocr see spam text of above gif file?

Also thank you
I changed my scanset line as you said
focr_scansets $gocr -i $pfile, $gocr -l 180 -d 2 -i $pfile, $ocrad -s 5 -T
0.4 $pfile

I restarted sa-spamd





 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 Halid Faith wrote:
  I use spamassassin3.1.7 and fuzzyocr3.4.2
 
  Fuzzyocr usually work well. Yet some mails which contains jpeg
  can't see. Therefore fuzzyocr don't give any score them as
  FUZZY_OCR.
 Does the jpeg sample file provided within the tarball work? If that's
 the case, isolate a mail that didn't work with FuzzyOcr, and run it
 from the command line with debugging enabled. This isn't necessarily a
 bug, there are some small spam jpegs that aren't recognized well with
 the standard word list (namely 2 that I know of that need custom words).


 Best regards,


 Chris
 
  Here's my Fuzzyocr.cf
 Your scanset line contains a small error:

 $ocrad -s 0.5 -T 0.5 $pfile should be $ocrad -s 5 -T 0.4 $pfile

 That will provide better results, just as a tweak.

 Best regards,

 Chris

 
  body FUZZY_OCR eval:fuzzyocr_check() describe FUZZY_OCR Mail
  contains an image with common spam text inside body
  FUZZY_OCR_WRONG_CTYPE eval:dummy_check() describe
  FUZZY_OCR_WRONG_CTYPE Mail contains an image with wrong
  content-type set body FUZZY_OCR_CORRUPT_IMG eval:dummy_check()
  describe FUZZY_OCR_CORRUPT_IMG Mail contains a corrupted image body
  FUZZY_OCR_KNOWN_HASH eval:dummy_check() describe
  FUZZY_OCR_KNOWN_HASH Mail contains an image with known hash
 
  priority FUZZY_OCR 900
 
  ### Plugin Configuration #
 
   Logging options # # Verbosity level (see manual)
  Attention: Don't set to 0, but to 0.0 for quiet operation, or
  comment out the focr_logfile line. (Def focr_verbose 2.0 # #
  Logfile (make sure it is writable by the plugin) (Default value:
  NONE) focr_logfile /usr/local/etc/mail/spamassassin/FuzzyOcr.log
  ##
 
  # Wordlists # # Here we defined the words to scan for
  (Default value: /etc/mail/spamassassin/FuzzyOcr.words)
  focr_global_wordlist
  /usr/local/etc/mail/spamassassin/FuzzyOcr.words # # This is the
  path RELATIVE to the respektive home directory for the personalized
  list # This list is merged with the global word list on execution
  (Default value: .spamassassin/fuzzyocr.words) # If
  focr_personal_wordlist begins with '/', treats option as fixed path
  and does not search HOME #focr_personal_wordlist
  .spamassassin/fuzzyocr.words #
 
  # These parameters can be used to change other detection settings #
  If you leave these commented out, the defaults will be used. # Do
  not use   around any parameters! # # Location of helper
  applications (path + binary) (Default values: /usr/bin/app) #
   focr_bin_gifsicle /usr/local/bin/gifsicle focr_bin_giffix
  /usr/local/bin/giffix focr_bin_giftext /usr/local/bin/giftext
  focr_bin_gifinter /usr/local/bin/gifinter focr_bin_giftopnm
  /usr/local/bin/giftopnm focr_bin_jpegtopnm /usr/local/bin/jpegtopnm
   focr_bin_pngtopnm /usr/local/bin/pngtopnm focr_bin_bmptopnm
  /usr/local/bin/bmptopnm focr_bin_tifftopnm /usr/local/bin/tifftopnm
   focr_bin_ppmhist /usr/local/bin/ppmhist focr_bin_gocr
  /usr/local/bin/gocr focr_bin_ocrad /usr/local/bin/ocrad #
  focr_path_bin /usr/local/netpbm/bin:/usr/local/bin:/usr/bin #
 


 
 
  # Scansets, comma seperated (Default value: $gocr -i -, $gocr
  -l 180 -d 2 -i -) # # Each scanset consists of one or more
  commands which make text out of pnm input. # Each scanset is run
  seperately on the PNM data, results are combined in scoring.
  #focr_scansets $gocr -i $pfile, $gocr -l 180 -d 2 -i $pfile # # An
  example that involves ocrad as well focr_scansets $gocr -i $pfile,
  $gocr -l 180 -d 2 -i $pfile, $ocrad -s 0.5 -T 0.5 $pfile # #
  Another one for ocrad only #focr_scansets $ocrad -s 0.5 -T 0.5
  $pfile # # To use only one scan with default values, uncomment the
  next line instead #focr_scansets $gocr -i $pfile
 
 
 

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFFg+L/JQIKXnJyDxURAqsMAJkBuj2GAZiYOwuktV/rI9yqUN30YACfV5n9
 V7Gr+wPYEGkIb0u8EPCg6MA=
 =Y/t1
 -END PGP SIGNATURE-





How can I add to FuzzyOcr.hashdb manually a mail which contains spam text in gif/jpeg.

2006-12-15 Thread Halid Faith
I use spamassassin3.1.7 and fuzzyocr-2.3b.
it usually works well.

Although Some mails which contain spam in gif/jpeg, fuzzyocr can't see them. So 
it doesn't give them any score as FUZZY_OCR.
I want to add these mails to FuzzyOcr.hashdb manually.
How can I do that?
Thanks.


  

How can I learn a mail which how many score it got from each my rules?

2006-12-07 Thread Halid Faith
I use spamassassin3.1.7

I go through some mails.
I see a mail in /var/log/spamd.log as below
Wed Dec  6 13:33:49 2006 [4484] info: spamd: result: Y 15 -
EXTRA_MPART_TYPE,FRONTPAGE,HTML_MESSAGE,INVALID_DATE,MIME_BOUND_NEXTPART
,MIME_QP_LONG_LINE,MSGID_MULTIPLE_AT,SARE_GIF_ATTACH,SARE_OBFUGIRLS,SUBJ_ALL
_CAPS,SUBJ_ILLEGAL_CHARS,TW_IY,UNPARSEABLE_RELAY,UPPERCA
SE_25_50
scantime=0.6,size=36790,[EMAIL PROTECTED],uid=1001,required_score=15.0,rhost=
localhost,raddr=127.0.0.1,rport=50832,mi
d=[EMAIL PROTECTED]@domain.com,autolearn=no


Yet, I can't understand which my rule, how many score gave that mail.
How can I learn a mail which how many score it got from each my rules?
is there a command for it ?



Why did I get an error while I were installing spamassassin

2006-12-05 Thread Halid Faith
I want to use spamassassin3.1.7 on freebsd6.1
I get an error as below,

# cd /usr/ports/dns/p5-Net-DNS
# make
===  Building for p5-Net-DNS-0.59
Makefile out-of-date with respect to
/usr/local/lib/perl5/5.8.8/mach/Config.pm
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean  /dev/null 21
/usr/local/bin/perl5.8.8 Makefile.PL INSTALLDIRS=site CC=cc
CCFLAGS=-O2 -fno-strict-aliasing -pipe  PREFIX=/usr/local
INSTALLPRIVLIB=/usr/local/lib INSTALLARCHLIB=/usr/local/lib


The libraries needed to support IPv6 transport have not been found.
You will need recent versions of the IO::Socket::INET6 and Socket6
libraries (from CPAN).

Testing if you have a C compiler and the needed header files
You have a working compiler.

You appear to be directly connected to the Internet.  I have some tests
that try to query live nameservers.

Do you want to enable these tests? [y] NO
Checking if your kit is complete...
Looks good
Warning: prerequisite Digest::HMAC_MD5 1 not found.
Warning: prerequisite Net::IP 1.2 not found.
Writing Makefile for Net::DNS
== Your Makefile has been rebuilt. ==
== Please rerun the make command.  ==
false
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS/work/Net-DNS-0.59.
*** Error code 1

Stop in /usr/ports/dns/p5-Net-DNS.

What Should  I do ?
Thanks



Why does my SA give high score when I add a picture in an email ?

2006-08-17 Thread Halid Faith



Hello

I use spamassassin3.1 as nearly default 
configuration.

Despite the mail is not a spam, When I add a 
picture ( not attach ) in a mail, Spamassassin gives high score.

However, SA gives very little score to some mails 
whichhas gif and contents chinaadvertisement

How can I correct this ?

Thanks


I could not download tetex-texmf-3.0.tar.gz while installing gocr

2006-08-16 Thread Halid Faith
Hello

I tried to install gocr so that I could go through some spam mails which
have image files ( .gif , .jpg ) on FreeBSD6.

But my server could not install it and gave an error as below;
How can I download it ?
Thanks

# make
===   gocr-0.40_1 depends on executable: latex - not found
===Verifying install for latex in /usr/ports/print/teTeX
===  Installing for teTeX-3.0
===   teTeX-3.0 depends on file: /usr/local/share/texmf-local/ls-R - found
===   teTeX-3.0 depends on file:
/usr/local/share/texmf-dist/LICENSE.texmf - not found
===Verifying install for /usr/local/share/texmf-dist/LICENSE.texmf in
/usr/ports/print/teTeX-texmf
===  Vulnerability check disabled, database not found
===  Extracting for teTeX-texmf-3.0_3
= MD5 Checksum mismatch for teTeX/tetex-texmf-3.0.tar.gz.
= SHA256 Checksum mismatch for teTeX/tetex-texmf-3.0.tar.gz.
= MD5 Checksum OK for teTeX/dvipsk-jpatch-p1.6a1.tar.gz.
= SHA256 Checksum OK for teTeX/dvipsk-jpatch-p1.6a1.tar.gz.
===  Refetch for 1 more times files: teTeX/tetex-texmf-3.0.tar.gz
teTeX/tetex-texmf-3.0.tar.gz
===  Vulnerability check disabled, database not found
= tetex-texmf-3.0.tar.gz doesn't seem to exist in
/usr/ports/distfiles/teTeX.
= Attempting to fetch from
ftp://ftp.funet.fi/pub/TeX/CTAN/systems/unix/teTeX/3.0/distrib/.
fetch:
ftp://ftp.funet.fi/pub/TeX/CTAN/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Attempting to fetch from
ftp://ctan.unsw.edu.au/tex-archive/systems/unix/teTeX/3.0/distrib/.
fetch:
ftp://ctan.unsw.edu.au/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Attempting to fetch from
ftp://ftp.tex.ac.uk/tex-archive/systems/unix/teTeX/3.0/distrib/.
fetch:
ftp://ftp.tex.ac.uk/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Attempting to fetch from
ftp://ftp.kddlabs.co.jp/CTAN/systems/unix/teTeX/3.0/distrib/.
fetch:
ftp://ftp.kddlabs.co.jp/CTAN/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Attempting to fetch from
ftp://ctan.tug.org/tex-archive/systems/unix/teTeX/3.0/distrib/.
fetch:
ftp://ctan.tug.org/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Attempting to fetch from
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX/3.0/distrib/.
fetch:
ftp://ftp.dante.de/tex-archive/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Attempting to fetch from
http://ring.sakura.ad.jp/archives/text/CTAN/systems/unix/teTeX/3.0/distrib/.
fetch:
http://ring.sakura.ad.jp/archives/text/CTAN/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Attempting to fetch from
http://ring.riken.jp/archives/text/CTAN/systems/unix/teTeX/3.0/distrib/.
fetch:
http://ring.riken.jp/archives/text/CTAN/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Attempting to fetch from
http://ring.ip-kyoto.ad.jp/archives/text/CTAN/systems/unix/teTeX/3.0/distrib/.
fetch:
http://ring.ip-kyoto.ad.jp/archives/text/CTAN/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Attempting to fetch from
ftp://ftp.chg.ru/pub/TeX/CTAN/systems/unix/teTeX/3.0/distrib/.
fetch:
ftp://ftp.chg.ru/pub/TeX/CTAN/systems/unix/teTeX/3.0/distrib/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/teTeX/.
fetch:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/teTeX/tetex-texmf-3.0.tar.gz:
size mismatch: expected 91762123, actual 91402377
= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/teTeX and try again.
*** Error code 1

Stop in /usr/ports/print/teTeX-texmf.
*** Error code 1

Stop in /usr/ports/print/teTeX-texmf.
*** Error code 1

Stop in /usr/ports/print/teTeX.
*** Error code 1

Stop in /usr/ports/graphics/gocr.



about value of max-children

2006-08-15 Thread Halid Faith
Hello 

I use spamassassin as test.

My mail server handles mails about 200 K  in a day.

What should I set value of  the --max-children num   in spamd ?

I think the -m value is 5 as default.
When I  type perl -MSocket -e'print SOMAXCONN'  I see 128 on display.

Thanks




How to give score a message which was learnt with sa-learn --spam ?

2006-08-15 Thread Halid Faith



Hi

I use spamassassin3.1.1

How can I give a high score some messages I have 
teached to my server with sa-learn --spam /directory ?

Thanks








Sa-learn doesn't seem to work

2006-08-11 Thread Halid Faith



Hello

I use spamassassin3.1 with simscan1.2 on 
qmail.
I want my mailserver to deny some messages which 
are spamusing sa-learn. So I typed as below;
sa-learn --spam /path/badmails/

Learned tokens from 6 message(s) (6 message(s) 
examined)

Despite I learnt to my server as spam with the 
above way (sa-learn), when I sent a spam message to theserver, I 
gotthat email which I put in /path/badmails/.
Here is a part of the header in that 
email;
Return-Path: [EMAIL PROTECTED]Delivered-To: [EMAIL PROTECTED]X-Spam-DCC: sonic.net: 
snort.domain.net 1156; Body=1 Fuz1=1 Fuz2=1X-Spam-Checker-Version: 
SpamAssassin 3.1.1 (2006-03-10) on snort.domain.net
X-Spam-Level: ***X-Spam-Status: No, score=3.7 
required=10.0 
tests=AWL,EXTRA_MPART_TYPE,HTML_MESSAGE,INFO_TLD,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK 
autolearn=no version=3.1.1X-Spam-Pyzor: Reported 0 times.

The server gave a score but it didn't reject that 
message.
I think my sa-learn doesn't seem to 
work.

my local.cf 
rewrite_header Subject SPAMMSG
required_score 9.0
add_header all DCC _DCCB_: _DCCR_use_razor2 
1
pyzor_path /usr/local/bin/pyzorpyzor_max 
2use_pyzor 1add_header all Pyzor _PYZOR_
use bayes 1
bayes_auto_learn 1use_dcc 1dcc_path 
/usr/local/bin/dccprocuse_auto_whitelist 0

init.pre is below
loadplugin 
Mail::SpamAssassin::Plugin::DCCloadplugin 
Mail::SpamAssassin::Plugin::Pyzorloadplugin 
Mail::SpamAssassin::Plugin::Razor2loadplugin 
Mail::SpamAssassin::Plugin::Hashcash

How can I reject a mail with sa-learn 
?
Thanks