You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jaskula Thomas <th...@bci-info.com> on 2005/05/03 09:47:50 UTC

ERROR: SA TIMED OUT, backtrace ...Message.pm line 116

Hello everybody,

First of all, sorry for my bad English. I'm newbie to the newsgroup and to
SpamAssassin. I searched through the archives but unfortunately didn't find
any solution for my problem.
I noticed that my installation of SpamAssassin (3.0.2) has some problems
that make my system slow down. Here is my /var/log/mail/info content :

May  3 08:57:38 infalinux amavis[14582]: (14582-07) SA TIMED OUT, backtrace:
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message.pm line
116\n\teval {...} called at
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message.pm line
116\n\tMail::SpamAssassin::Message::new('Mail::SpamAssassin::NoMailAudit')
called at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/NoMailAudit.pm
line
34\n\tMail::SpamAssassin::NoMailAudit::new('Mail::SpamAssassin::NoMailAudit'
,'data','ARRAY(0x998e418)','add_From_line',0) called at (eval 51) line
161\n\teval {...} called at (eval 51) line
149\n\tAmavis::SpamControl::spam_scan('Amavis::In::Connection=HASH(0x99934d0
)','Amavis::In::Message=HASH(0x8f32914)') called at
/usr/local/amavis/amavisd line 5354\n\teval {...} called at
/usr/local/amavis/amavisd line
5144\n\tAmavis::check_mail('Amavis::In::Connection=HASH(0x99934d0)','Amavis:
:In::Message=HASH(0x8f32914)',0,'/usr/local/amavis/amavis-20050503T065656-14
582') call...
May  3 08:57:40 infalinux amavis[14588]: (14588-07) SA TIMED OUT, backtrace:
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message.pm line
116\n\teval {...} called at
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Message.pm line
116\n\tMail::SpamAssassin::Message::new('Mail::SpamAssassin::NoMailAudit')
called at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/NoMailAudit.pm
line
34\n\tMail::SpamAssassin::NoMailAudit::new('Mail::SpamAssassin::NoMailAudit'
,'data','ARRAY(0x99a9a40)','add_From_line',0) called at (eval 51) line
161\n\teval {...} called at (eval 51) line
149\n\tAmavis::SpamControl::spam_scan('Amavis::In::Connection=HASH(0x9967a58
)','Amavis::In::Message=HASH(0x983ee80)') called at
/usr/local/amavis/amavisd line 5354\n\teval {...} called at
/usr/local/amavis/amavisd line
5144\n\tAmavis::check_mail('Amavis::In::Connection=HASH(0x9967a58)','Amavis:
:In::Message=HASH(0x983ee80)',0,'/usr/local/amavis/amavis-20050503T065657-14
588') call...

The error occurs not all the time but I can't find out what is the reason of
it. I tried to install another version of SpamAssassin (3.0.3 and 2.64) but
I have still the same problem.

Thanks for you help in advance.

Cheers,

Thomas Jaskula

Here is my config :

Uname -a

Linux Mandrak 9.1 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686
unknown unknown GNU/Linux



Postconf -n

alias_database =
hash:/etc/aliases,hash:/var/www/http/InfaPortail/aliasessympa/aliases-sympa
alias_maps =
hash:/etc/aliases,hash:/var/www/http/InfaPortail/aliasessympa/aliases-sympa
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[localhost]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
delay_warning_time = 4
disable_vrfy_command = yes
fallback_transport = virtual
header_checks = regexp:/etc/postfix/header_checks
inet_interfaces = all
local_recipient_maps = $alias_maps, $virtual_mailbox_maps
local_transport = local
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maps_rbl_domains = sbl.spamhaus.org, relays.ordb.org,
opm.blitzed.org,dun.dnsrbl.net, spam.dnsrbl.net
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = mydomain.com
myhostname = infalinux.mydomain.com
mynetworks = 192.168.207.0/24, 127.0.0.0/8, 192.168.200.0/24
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
queue_minfree = 8000000
readme_directory = /usr/share/doc/postfix-2.0.6/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.0.6/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandrake Linux)
smtpd_client_restrictions = permit_mynetworks, reject_unauth_pipelining,
reject_unknown_client, reject_maps_rbl
smtpd_delay_reject = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname,
reject_unknown_hostname, reject_non_fqdn_hostname, reject_maps_rbl
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination,
check_recipient_access $virtual_mailbox_maps, reject_non_fqdn_recipient,
check_relay_domains
smtpd_sender_restrictions = permit_mynetworks, reject_unauth_pipelining,
reject_unknown_sender_domain, reject_non_fqdn_sender
strict_rfc821_envelopes = yes
unknown_local_recipient_reject_code = 450
virtual_gid_maps = mysql:/etc/postfix/mysql.gid_users
virtual_mailbox_base = /var/spool/webmail
virtual_mailbox_maps = mysql:/etc/postfix/mysql.users
virtual_transport = virtual
virtual_uid_maps = mysql:/etc/postfix/mysql.uid_users


master.cf

smtp    inet    n       -       n       -       -       smtpd
    -o content_filter=smtp-amavis:[127.0.0.1]:10024
#smtps    inet  n       -       n       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission     inet    n       -       n       -       -       smtpd
#  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628      inet  n       -       n       -       -       qmqpd
pickup  fifo    n       -       n       60      1       pickup
cleanup unix    n       -       n       -       0       cleanup
#qmgr      fifo  n       -       n       300     1       qmgr
qmgr    fifo    n       -       n       300     1       nqmgr
#tlsmgr   fifo  -       -       n       300     1       tlsmgr
rewrite unix    -       -       n       -       -       trivial-rewrite
bounce  unix    -       -       n       -       0       bounce
defer   unix    -       -       n       -       0       bounce
flush   unix    n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp    unix    -       -       n       -       -       smtp
relay   unix    -       -       n       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq   unix    n       -       n       -       -       showq
error   unix    -       -       n       -       -       error
local     unix  -       n       n       -       -       local
virtual unix    -       n       n       -       -       virtual
lmtp    unix    -       -       n       -       -       lmtp
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient

#amavis
smtp-amavis unix        -       -       n       -       2       smtp
        -o smtp_data_done_timeout=1200
        -o disable_dns_lookups=yes
127.0.0.1:10025 inet    n       -       n       -       -       smtpd
        -o local_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_client_restrictions=
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o strict_rfc821_envelopes=yes
        -o content_filter=


/etc/mail/spamassassin/local.cf

rewrite_subject 1

# report briefly, recommended for report_header==1 (default=0)
use_terse_report 1

# How many hits before a message is considered spam.
required_hits 5.0

# Text to prepend to subject if rewrite_subject is used
subject_tag *****SPAM*****

# Encapsulate spam in an attachment
report_safe 1

# Enable the Bayes system
use_bayes 1
bayes_path /usr/local/amavis/.spamassassin/bayes_seen

# Enable Bayes auto-learning
auto_learn 1

# Enable or disable network checks
skip_rbl_checks         0
use_razor2              1
use_dcc                 0
use_pyzor               0

# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_languages            all

# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
ok_locales              all




RE: ERROR: SA TIMED OUT, backtrace ...Message.pm line 116

Posted by Jaskula Thomas <th...@bci-info.com>.
On Tue, May 03, 2005 at 11:55:44AM +0200, Jaskula Thomas wrote:
>> I deleted /usr/lib/perl5/site_perl/5.8.0/Mail/ but when I try to
reinstall
>> SpamAssassin I have following errors. How can I reinstall it ?

>I'd also get rid of /usr/share/spamassassin fwiw.

ok

>> Failed Test      Stat Wstat Total Fail  Failed  List of Failed
>>
----------------------------------------------------------------------------
>> ---
>> t/basic_lint.t                  1    1 100.00%  1
>> t/html_obfu.t                   6    2  33.33%  2 5
>> t/reportheader.t               11    8  72.73%  1-7 9
>> 7 tests skipped.

>If you run these manually, what is reported?

Make test fails all the time

-- 
Randomly Generated Tagline:
Time to fertilize the lawn.  A couple of 500-pound bags should do it!
 
 		-- Homer Simpson
 		   Homer vs. Patty and Selma


Re: ERROR: SA TIMED OUT, backtrace ...Message.pm line 116

Posted by Theo Van Dinter <fe...@kluge.net>.
On Tue, May 03, 2005 at 11:55:44AM +0200, Jaskula Thomas wrote:
> I deleted /usr/lib/perl5/site_perl/5.8.0/Mail/ but when I try to reinstall
> SpamAssassin I have following errors. How can I reinstall it ?

I'd also get rid of /usr/share/spamassassin fwiw.

> Failed Test      Stat Wstat Total Fail  Failed  List of Failed
> ----------------------------------------------------------------------------
> ---
> t/basic_lint.t                  1    1 100.00%  1
> t/html_obfu.t                   6    2  33.33%  2 5
> t/reportheader.t               11    8  72.73%  1-7 9
> 7 tests skipped.

If you run these manually, what is reported?

-- 
Randomly Generated Tagline:
Time to fertilize the lawn.  A couple of 500-pound bags should do it!
 
 		-- Homer Simpson
 		   Homer vs. Patty and Selma

RE: ERROR: SA TIMED OUT, backtrace ...Message.pm line 116

Posted by Jaskula Thomas <th...@bci-info.com>.
I deleted /usr/lib/perl5/site_perl/5.8.0/Mail/ but when I try to reinstall
SpamAssassin I have following errors. How can I reinstall it ?

Failed Test      Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/basic_lint.t                  1    1 100.00%  1
t/html_obfu.t                   6    2  33.33%  2 5
t/reportheader.t               11    8  72.73%  1-7 9
7 tests skipped.
Failed 3/68 test scripts, 95.59% okay. 11/1481 subtests failed, 99.26% okay.
make: *** [test_dynamic] Erreur 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

Thanks

-----Message d'origine-----
De : Jaskula Thomas [mailto:thomas.jaskula@bci-info.com] 
Envoyé : mardi 3 mai 2005 10:24
À : 'Theo Van Dinter'; users@spamassassin.apache.org
Objet : RE: ERROR: SA TIMED OUT, backtrace ...Message.pm line 116

Thanks for your quick answer. You mean I should delete all files in
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin? Are there another
SA-related files/paths I should delete as well?

Thomas


-----Message d'origine-----
De : Theo Van Dinter [mailto:felicity@kluge.net] 
Envoyé : mardi 3 mai 2005 10:08
À : users@spamassassin.apache.org
Objet : Re: ERROR: SA TIMED OUT, backtrace ...Message.pm line 116

On Tue, May 03, 2005 at 09:47:50AM +0200, Jaskula Thomas wrote:
> I noticed that my installation of SpamAssassin (3.0.2) has some problems
> that make my system slow down. Here is my /var/log/mail/info content :
> 
> 116\n\tMail::SpamAssassin::Message::new('Mail::SpamAssassin::NoMailAudit')
> called at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/NoMailAudit.pm
> line
> 
> The error occurs not all the time but I can't find out what is the reason
of
> it. I tried to install another version of SpamAssassin (3.0.3 and 2.64)
but
> I have still the same problem.

SA 3.x doesn't have a NoMailAudit.  My guess is that you have something
trying
to use the 2.x API which won't work in 3.x.  My advise is to blow away all
SA-related files, install 3.x, and try again.

-- 
Randomly Generated Tagline:
When the fog came in on little cat feet last night, it left these little
 muddy paw prints on the hood of my car.



RE: ERROR: SA TIMED OUT, backtrace ...Message.pm line 116

Posted by Jaskula Thomas <th...@bci-info.com>.
Thanks for your quick answer. You mean I should delete all files in
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin? Are there another
SA-related files/paths I should delete as well?

Thomas


-----Message d'origine-----
De : Theo Van Dinter [mailto:felicity@kluge.net] 
Envoyé : mardi 3 mai 2005 10:08
À : users@spamassassin.apache.org
Objet : Re: ERROR: SA TIMED OUT, backtrace ...Message.pm line 116

On Tue, May 03, 2005 at 09:47:50AM +0200, Jaskula Thomas wrote:
> I noticed that my installation of SpamAssassin (3.0.2) has some problems
> that make my system slow down. Here is my /var/log/mail/info content :
> 
> 116\n\tMail::SpamAssassin::Message::new('Mail::SpamAssassin::NoMailAudit')
> called at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/NoMailAudit.pm
> line
> 
> The error occurs not all the time but I can't find out what is the reason
of
> it. I tried to install another version of SpamAssassin (3.0.3 and 2.64)
but
> I have still the same problem.

SA 3.x doesn't have a NoMailAudit.  My guess is that you have something
trying
to use the 2.x API which won't work in 3.x.  My advise is to blow away all
SA-related files, install 3.x, and try again.

-- 
Randomly Generated Tagline:
When the fog came in on little cat feet last night, it left these little
 muddy paw prints on the hood of my car.


Re: ERROR: SA TIMED OUT, backtrace ...Message.pm line 116

Posted by Theo Van Dinter <fe...@kluge.net>.
On Tue, May 03, 2005 at 09:47:50AM +0200, Jaskula Thomas wrote:
> I noticed that my installation of SpamAssassin (3.0.2) has some problems
> that make my system slow down. Here is my /var/log/mail/info content :
> 
> 116\n\tMail::SpamAssassin::Message::new('Mail::SpamAssassin::NoMailAudit')
> called at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/NoMailAudit.pm
> line
> 
> The error occurs not all the time but I can't find out what is the reason of
> it. I tried to install another version of SpamAssassin (3.0.3 and 2.64) but
> I have still the same problem.

SA 3.x doesn't have a NoMailAudit.  My guess is that you have something trying
to use the 2.x API which won't work in 3.x.  My advise is to blow away all
SA-related files, install 3.x, and try again.

-- 
Randomly Generated Tagline:
When the fog came in on little cat feet last night, it left these little
 muddy paw prints on the hood of my car.