Just trying new ideas.  Checked /tmp.  it's drwxrwxrwx.  I'm pretty sure
it's a permissions problem.  I have the proper holes poked in the firewall
for DCC, according to their FAQ.  The strange thing is that it almost wants
to work when spamd is run as root.  Spamd at least fires up, but then it
hangs at the first email.  In top, I can see spamd using 80% or better cpu
time, but nothing is happening.  I have a pretty similar system running on
another server, and DCC works just fine.  I'm stumped.

Thanks

Hans
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 15, 2003 12:23 PM
Subject: [SAtalk] Problem with 2.43 and DCC


> Hi All.
>
> I'm running SA 2.43 and I can't get DCC to run.  It hangs spamd in the
same
> spot everytime.  I have the dcc path set, and debug says it finds dccprc.
I
> think I've narrowed the trouble down to DNS.pm. cdcc 'info' works.  I've
> included a code snippet.....
>
>   # use a temp file here -- open2() is unreliable, buffering-wise,
>   # under spamd. :(
>   my $tmpf = $self->create_fulltext_tmpfile($fulltext);   <-------  It
fails
> here trying to make a temp file (I think).  I added a couple of debug
lines
> to see when it gets to.
>
> If I run spamd as root, then it load up completely, but fails at the first
> email.  If I run spamd as user spam, then spamd won't completely fire up.
> I'm running spamd as -d -a -D -x -u spam -H/home/spam.  I have Razor
> working, but I haven't tried Pyzor yet.  I see that Pyzor uses the same
tmpf
> line, so I'm guessing it will not work either.
>
> Here's the log.
>
> Jan 15 11:53:28 littlebird spamd[17640]: debug: daemonized.
> Jan 15 11:53:28 littlebird spamd[17640]: debug: ignore: test message to
> precompi
> le patterns and load modules
> Jan 15 11:53:28 littlebird spamd[17640]: debug: using
> "/usr/share/spamassassin"
> for default rules dir
> Jan 15 11:53:29 littlebird spamd[17640]: debug: using
> "/etc/mail/spamassassin" f
> or site rules dir
> Jan 15 11:53:30 littlebird spamd[17640]: debug: is Net::DNS::Resolver
> unavailabl
> e? 0
> Jan 15 11:53:30 littlebird spamd[17640]: debug: trying (3) yahoo.com...
> Jan 15 11:53:30 littlebird spamd[17640]: debug: looking up MX for
> 'yahoo.com'
> Jan 15 11:53:30 littlebird spamd[17640]: debug: MX for 'yahoo.com' exists?
1
> Jan 15 11:53:30 littlebird spamd[17640]: debug: MX lookup of yahoo.com
> succeeded
>  => Dns available (set dns_available to hardcode)
> Jan 15 11:53:30 littlebird spamd[17640]: debug: is DNS available? 1
> Jan 15 11:53:30 littlebird spamd[17640]: debug: running header regexp
tests;
> sco
> re so far=0
> Jan 15 11:53:31 littlebird spamd[17640]: debug: running body-text per-line
> regex
> p tests; score so far=2.4
> Jan 15 11:53:31 littlebird spamd[17640]: debug: check_for_very_long_text:
> found
> 1350 bytes
> Jan 15 11:53:31 littlebird spamd[17640]: debug: check_for_very_long_text:
> found
> 1350 bytes
> Jan 15 11:53:31 littlebird spamd[17640]: debug: spam-phrase score:
> 32.7734170591
> 313: hits: this message
> Jan 15 11:53:31 littlebird spamd[17640]: debug: running raw-body-text
> per-line r
> egexp tests; score so far=4.3
> Jan 15 11:53:32 littlebird spamd[17640]: debug: running uri tests; score
so
> far=
> 4.3
> Jan 15 11:53:32 littlebird spamd[17640]: debug: uri tests: Done uriRE
> Jan 15 11:53:32 littlebird spamd[17640]: debug: running full-text regexp
> tests;
> score so far=4.3
> Jan 15 11:53:32 littlebird spamd[17640]: debug: Razor2 is available
> Jan 15 11:53:32 littlebird spamd[17640]: debug: entering helper-app run
mode
> Jan 15 11:53:32 littlebird spamd[17640]: debug: leaving helper-app run
mode
> Jan 15 11:53:32 littlebird spamd[17640]: debug: DCC is available:
> /usr/local/bin
> /dccproc
> Jan 15 11:53:32 littlebird spamd[17640]: debug: entering helper-app run
> mode.....    <---- sspamd stops here.
>
>
> Any help greatly appreciated.
>
>
> Hans Rasmussen
> Drafting/GIS Coordinator
> SBS Forestry Inc.
> 250-561-1140
>
>
> _______________________________________________________
> All emails incoming and outgoing from SBS Forestry Inc.
> are scanned by Kaspersky Antivirus.
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: A Thawte Code Signing Certificate
> is essential in establishing user confidence by providing assurance of
> authenticity and code integrity. Download our Free Code Signing guide:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk


_______________________________________________________
All emails incoming and outgoing from SBS Forestry Inc.
are scanned by Kaspersky Antivirus.


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to