LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-27-2005, 03:36 PM   #1
rajbaxi
Member
 
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68

Rep: Reputation: 15
Fetchmail SpamAssassin & Q-mail


Hello. I just finished setting up QMail with SpamAssassin and ClamAV. I am using the qmail-scanner-queue.pl to invoke the Spam and Virus scanning . It works great. However, I don't think it works when I use Fetchmail unless I do a mda "/usr/bin/spamassassin -t". Unfortunately it only tests the file and it doesn't deliver. My question is, how do I tell fetchmail to use the qmail-scanner-queue.pl to scan for Spam and Viruses and then deliver it to the appropriate mailboxes?
 
Old 02-27-2005, 09:52 PM   #2
rajbaxi
Member
 
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68

Original Poster
Rep: Reputation: 15
Actually I figured it out.

In /etc/tcp.smtp, usually has the following

127.:allow,RELAYCLIENT=""
10.:allow, RELAYCLIENT=""

I added some things so now, it looks like:

127.:allow,RELAYCLIENT="",QS_SPAMASSASSIN="on",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
10.:allow, RELAYCLIENT=""
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"

I'm pretty sure the last line is not needed but I threw it in there for redundancy.

Just an FYI.
 
Old 04-28-2006, 07:35 AM   #3
mrucan
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Rep: Reputation: 0
hello

i have same problem
do u solve this
please help me
 
Old 11-09-2006, 10:40 PM   #4
rajbaxi
Member
 
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68

Original Poster
Rep: Reputation: 15
It works sort of....

I have noticed that lately I get negative (-) scores. Any ideas?
 
Old 11-09-2006, 10:42 PM   #5
rajbaxi
Member
 
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68

Original Poster
Rep: Reputation: 15
Example

Thu, 09 Nov 2006 05:19:25 EST:21115: return-path='estuntdes@unt.edu', recips='me@localhost'
Thu, 09 Nov 2006 05:19:25 EST:21115: from='"Lorna Helms" <estuntdes@unt.edu>', subj='Get rid of the pounds you hate', via SMTP from
127.0.0.1
Thu, 09 Nov 2006 05:19:26 EST:21115: clamdscan: finished scan in 1.303817 secs
Thu, 09 Nov 2006 05:19:38 EST:21115: SA: finished scan in 11.687528 secs - hits=-2.2
Thu, 09 Nov 2006 05:19:38 EST:21115: p_s: finished scan in 0.158608 secs
Thu, 09 Nov 2006 05:19:38 EST:21115: ini_sc: finished scan of "/var/spool/qmailscan/tmp/mailsrvr.local11630675657752111
5"...
Thu, 09 Nov 2006 05:19:38 EST:21115: ------ Process 21115 finished. Total of 13.552788 secs
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fetchmail/spamassassin woes dizzutch Linux - Software 0 12-30-2004 01:22 PM
Sendmail spamassassin & mail gateway mdavis Linux - Software 2 11-08-2004 01:46 PM
fetchmail procmail spamassassin VincentB Linux - Software 4 08-24-2004 01:35 PM
fetchmail + KMail. oh and spamassassin graffitici Linux - Networking 0 01-23-2004 11:01 AM
fetchmail / spamassassin help? kiteless Linux - Newbie 2 09-15-2003 02:31 PM

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

All times are GMT -5. The time now is 02:44 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