LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2004, 12:04 PM   #1
PlorkZ
Member
 
Registered: Aug 2004
Posts: 32

Rep: Reputation: 15
SpamAssassin Error "spamd: no response to STREAM cmd, Success" and other errors


I am having problems with smtp-vilter and SpamAssassin on Fedora Core 2. Basically, what's happening is the mail is scoring high enough to be called spam as you can see below "identified spam (6.8/5.0)" but smtp-vilter says the spam is unchecked and the mail gets sent along as normal. Here is a section of my maillog file:

Aug 31 09:16:10 spamd[3316]: connection from localhost.localdomain [127.0.0.1] at port 57060
Aug 31 09:16:10 spamd[3669]: checking message <20040831083002.frylmpinzv@feelingmutuals.com> for (unknown):507.
Aug 31 09:16:10 spamd[3669]: Use of uninitialized value in length at /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 1339, <GEN45> line 76.
Aug 31 09:16:10 spamd[3669]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 1342, <GEN45> line 76.
Aug 31 09:16:10 spamd[3669]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/PerMsgStatus.pm line 1343, <GEN45> line 76.
Aug 31 09:16:11 pop3-login: Login: [user]
Aug 31 09:16:14 spamd[3669]: identified spam (6.8/5.0) for (unknown):507 in 4.1 seconds, 2457 bytes.
Aug 31 09:16:14 smtp-vilter[3762]: spamd: no response to STREAM cmd, Success
Aug 31 09:16:14 smtp-vilter[3762]: error during spam scan of file /tmp/vilter.XXXXukbcRG
Aug 31 09:16:14 smtp-vilter[3762]: marking message (but deliver anyway)
Aug 31 09:16:14 sendmail[3667]: i7VEG7NB003667: Milter add: header: X-Spam-Checker: smtp-vilter
Aug 31 09:16:14 sendmail[3667]: i7VEG7NB003667: Milter add: header: X-SMTP-Vilter-Version: 1.1.4
Aug 31 09:16:14 sendmail[3667]: i7VEG7NB003667: Milter add: header: X-SMTP-Vilter-Backend: vilter-spamd
Aug 31 09:16:14 sendmail[3667]: i7VEG7NB003667: Milter add: header: X-Spam-Score: 0.0
Aug 31 09:16:14 sendmail[3667]: i7VEG7NB003667: Milter add: header: X-Spam-Status: unchecked
Aug 31 09:16:14 smtp-vilter[3762]: message contains no virus
Aug 31 09:16:14 sendmail[3667]: i7VEG7NB003667: Milter add: header: X-Virus-Scan: smtp-vilter
Aug 31 09:16:14 sendmail[3667]: i7VEG7NB003667: Milter add: header: X-SMTP-Vilter-Version: 1.1.4
Aug 31 09:16:14 sendmail[3667]: i7VEG7NB003667: Milter add: header: X-SMTP-Vilter-Backend: vilter-spamd
Aug 31 09:16:14 sendmail[3667]: i7VEG7NB003667: Milter add: header: X-SMTP-Vilter-Status: clean

Why might I be getting the spamd "use on uninitialized value" errors? Also, the error "error during spam scan of file /tmp/vilter.XXXXukbcRG" is giving me grief, I have tried changing permissions on /var/smtp-vilter/tmp and also changing what user spamd is run as, but no luck. Where would the above errors be coming from and why does SpamAssassin sometimes come back with status: unchecked? (actually that happens with a lot of messages)

Thanks.


^^^^ If anyone cares, it seems I have solved this problem. For further debugging, I ran smtp-vilter in the foreground and tried sending a message, spamassassin timed out, while clamav worked fine, based on the following output:
smtp-vilter: using configuration from file /etc/smtp-vilter/smtp-vilter.conf
smtp-vilter: spamd: using configuration from file /etc/smtp-vilter/vilter-spamd.
conf
smtp-vilter: spamd: setting spamd host to localhost
smtp-vilter: spamd: setting spamd port to 783
smtp-vilter: spamd: setting nr of tries to 8
smtp-vilter: spamd: setting timeout to 600
smtp-vilter: clamd: using configuration from file /etc/smtp-vilter/vilter-clamd.
conf
smtp-vilter: clamd: setting clamd host to localhost
smtp-vilter: clamd: setting clamd port to 3310
smtp-vilter: clamd: setting nr of tries to 8
smtp-vilter: clamd: setting timeout to 600
smtp-vilter: clamd: set scantpye to filesystem
smtp-vilter: clamd: scanning realpath when chrooted
smtp-vilter: running in foreground, watch the system log for error messages
smtp-vilter: timeout
smtp-vilter: message contains no virus


I had already set the timeout for spamd to 600 in the /etc/smtp-vilter/vilter-spamd.conf file, and the same timeout was set for smtp-vilter in the sendmail.mc file, so you could imagine the confusion. Then it occured to me that I installed razor, pyzor, and dcc, but never saw anything from these in the log file, so I was wondering if they weren't working. Sure enough, in the /etc/mail/spamassassin/local.cf I had specified spamassassin to use those three programs. I disabled them and everything worked like a charm. Note that dcc, pyzor, and razor may also be turned on by default, or in one of the files in /usr/share/spamassassin.
Hope this helps anyone else out there who is having this problem, and if anyone knows how to properly setup pyzor, razor, and dcc, I'd be happy to hear from you in this post.

Last edited by PlorkZ; 09-02-2004 at 09:41 AM.
 
Old 11-18-2004, 04:16 PM   #2
PlorkZ
Member
 
Registered: Aug 2004
Posts: 32

Original Poster
Rep: Reputation: 15
UPDATE:

I'm not sure how to fix the error described above, but I guess being patient has paid off, smtp-vilter version 1.1.8 with spamassassin 3.01 and clamav 0.80 seem to fix all the problems.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SUCCESS STORY: "Error loading Operating System" at end of BIOS bootup ToBe LinuxQuestions.org Member Success Stories 14 08-14-2016 10:31 AM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
Evolution 1.4.5 and "RSET response error" J.W. Linux - Software 10 02-08-2004 07:53 PM
no response (status = 0xfe) boot "error" nro Linux - Newbie 7 11-04-2003 05:30 PM
CSH: "cmd >& file" or "cmd </dev/null >& file" stefanlasiewski Programming 1 09-08-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration