Jennifer, I was just looking at that qmailrocks site. It looks like it's geared toward running the anti-virus AND the spamassassin. I am not interested in running the anti virus at this point (which means that I don't need qmail-scanner). I just want to run spam assassin. I've got an updated description of my problem below. I just want my e-mail to go through spamc/spamd before it gets to qmail-queue. Someone should be able to help me with that hopefully. :)
I'm trying to get Qmail to work with SpamAssassin. I'm reading your README.qmail-spamc file and have done the following. Added the following to /etc/profile env QMAILQUEUE='/usr/bin/qmail-spamc' ( I am using env because I am on a FreeBSD 5.1 machine). My Qmail startup script is /var/qmail/rc and it looks like this: #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" \ exec env - QMAILQUEUE='/usr/bin/qmail-spamc' qmail-start ./Maildir/ splogger qmail So from what I can see in your readme everything is setup the way it's supposed to be. So now I've tried to send the string from sample-spam.txt that looks like this: XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X And apparently it's supposed to block this e-mail or do something but it just goes right to my inbox. Is there something else I'm missing? I am also running /usr/local/bin/spamd in my processes. Thanks for any time you can spend with me. -Casey -----Original Message----- From: Jennifer Fountain [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 9:04 AM To: RALLS,CASEY (HP-Boise,ex1) Cc: [EMAIL PROTECTED] Subject: RE: SpamAssassin on Qmail In order for me to use SA with Qmail. I had to install qmail-scanner and then have it invoke spamc. Here is a really good site (that I used) to get this working http://www.qmailrocks.org/ If you need help with the qmailscanner script, etc please email. HTH Jennifer -----Original Message----- From: RALLS,CASEY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 11:00 AM To: Jennifer Fountain Cc: [EMAIL PROTECTED] Subject: RE: SpamAssassin on Qmail I did not use life with qmail. I installed this qmail server on my own using the following programs. AutoResponder Courier-IMAP QMail QmailAdmin SQwebmail SpamAssassin Vpopmail The only thing that is not functional is the SpamAssassin. I have a /service directory however there is nothing in it. I did not install qmailscanner. I did not see anything about that in the qmail/README.qmail file. I would just like to have spamassassin audit all the e-mails that come into the server and check them against the normal database (wherever that is) and I would also like to be able to make manual entries somehow. I don't care how it's setup... that what I am looking for as an end result. Any help is much appreciated. Thanks Jennifer, -Casey -----Original Message----- From: Jennifer Fountain [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 8:50 AM To: RALLS,CASEY (HP-Boise,ex1); [EMAIL PROTECTED] Subject: RE: SpamAssassin on Qmail Did you use life with qmail to install qmail? And did you install qmailscanner? -----Original Message----- From: RALLS,CASEY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED] Sent: Friday, February 20, 2004 10:48 AM To: [EMAIL PROTECTED] Subject: SpamAssassin on Qmail Hi All, I've added the following to my /etc/profile export QMAILQUEUE='/usr/bin/qmail-spamc' Now I am supposed to "add a similar line to the run script for the smtpd service". I believe this script is /var/qmail/rc which looks like the following. #!/bin/sh # Using splogger to send the log through syslog. # Using qmail-local to deliver messages to ~/Mailbox by default. exec env - PATH="/var/qmail/bin:$PATH" \ export QMAILQUEUE='/usr/bin/qmail-spamc' qmail-start ./Maildir/ splogger qmail Now when I run my startup script by doing /var/qmail/rc I get the following: env: export: No such file or directory However the /usr/bin/qmail-spamc is there. I did a "make qmail/qmail-spamc.c" from the spamassassin directory and then "cp qmail/qmail-spamc.c /usr/bin/qmail-spamc" Does anyone see anything wrong with my process here? Maybe I need some more detailed instructions on how to get spamassassin working with qmail? -Axiom
