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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-27-2005, 03:36 PM
|
#1
|
Member
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68
Rep:
|
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?
|
|
|
02-27-2005, 09:52 PM
|
#2
|
Member
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68
Original Poster
Rep:
|
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.
|
|
|
04-28-2006, 07:35 AM
|
#3
|
LQ Newbie
Registered: Apr 2006
Posts: 4
Rep:
|
hello
i have same problem
do u solve this
please help me
|
|
|
11-09-2006, 10:40 PM
|
#4
|
Member
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68
Original Poster
Rep:
|
It works sort of....
I have noticed that lately I get negative (-) scores. Any ideas?
|
|
|
11-09-2006, 10:42 PM
|
#5
|
Member
Registered: Jul 2003
Location: MI
Distribution: redhat,mandrake,debian
Posts: 68
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|