Thank you, Peter, for the advice.  
On Wednesday 28 April 2004 03:09 pm, you wrote:

>> Do yourself a favor and get a copy of MailScanner 
Done.  It appears to be ready.  

>>and clamav, 
Done.  (freshclam now executes, without warnings).  

And, I installed Razor and think I have installed Spam Assassin (the tests I 
executed appear to work).  

What remains is to correctly modify the /etc/init.d/sendmail script to 
implement two startups of sendmail.   I have a syntax error in the script and 
I believe it is coming from this section:  
-------------------------------------------
daemon /usr/sbin/sendmail $([ "$DAEMON" = yes ] && echo -bd \ 
-OPrivacyOptions=noetrn -ODeliveryMode=queueonly 
-OQueueDirectory=/var/spool/mqueue.in  \
            $([ -n "$QUEUE" ]
daemon /usr/sbin/sendmail echo -q $QUEUE
-------------------------------------------
which is part of the "# Start daemons" section of code.   

I get a syntax error, grumbling something about an unexpected ";" token on 
line 77, but I think it's got more to do with my coding of these two lines.  
I'm not all that familiar with C.  

Care to have a go at helping me debug this script?   

Thanks in advance!  
-- 
Andrew Lietzow
Member of the GNU generation.  


On Wednesday 28 April 2004 03:09 pm, Peter H. Lemieux wrote:
> Do yourself a favor and get a copy of MailScanner and a copy of ClamAV,
> then let MailScanner invoke SpamAssassin for you as it scans for viruses. 
> There are downloadable RPMs for RedHat 7.3 at the MailScanner site.  See:
> http://www.mailscanner.info/
> and
>       http://www.clamav.net/
> ClamAV is an open-source virus scanner.  I don't think there are RPMs for
> it, but it's a simple "./configure; make; make install" to compile.
>
> MailScanner replaces sendmail at startup.  It uses one copy of sendmail to
> accept deliveries then mails the scanned files with another copy.  If
> you're scanning as root, perhaps for an entire domain, MailScanner is a lot
> easier to implement and does a lot more for you.
>
> You could use spamd/spamc with spamc running either in /etc/procmailrc
> (system-wide) or in users' .procmailrc files.  But if you don't have a lot
> of experience with procmail, or if you want to scan for viruses as well as
> spam, or if you want a lot of control over scanning, use MailScanner.
>
> Peter
>
> Andrew Lietzow wrote:
> > Dear Spamassasin gurus,
> >
> > My configuration.
> > Linux 2.4.18 (RHL 7.3?)  sendmail 8.12.5  perl 5.6.1
> >
> > I have downloaded SA 2.63 and installed, via the tarball.   Ran perl
> > Makefile.PL, make, and make install.  This all worked smoothly.
> >
> > Had some trouble getting the spamd daemon script to work but appears to
> > be working now, to wit:
> >
> > <ps -elf | grep spamd> returns:
> > 040 S root     19774     1  0  85   0    -  4623 schedu 02:40 ?  
> > 00:00:02 /usr/bin/spamd -d -c -a /usr/bin/spamd -d -c -a
> >
> > My question is, what is my next step?   I sent a spamable message from
> > another client and it is not captured, rerouted, or flagged as spam.
> >
> > Do I have to implement "procmail"?   Do I need a file called .procmailrc
> > for each user, system wide, or at all?   If someone can point me to the
> > FAQ or docs that address how to implement through USAGE (on RedHat Linux)
> > I'd be gratefully appreciative.
> >
> > I'm trying to implement system wide, as root.  For the present, I am just
> > wanting server level controls (i.e. don't want users to have to control
> > their own .spamassassin files).


Reply via email to