You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Andrew Lietzow <an...@theaclgroup.com> on 2004/05/03 18:41:19 UTC
Re: Trouble with Script to start sendmail with Spamassassin changes
Thank you, Peter, and Theo, for the advice.
I have done the following to get Spamassassin up and running:
1) Installed MailScanner (ps -elf | grep MailScanner) shows six child
processes.
2) Installed ClamAV (freshclam runs without errors).
3) Loaded Razor (don't know how to check for this but whatever I did to
install it looked good when I did it).
4) Downloaded and hopefully installed Spamassassin. Don't know how to check
for this just yet.
Essentially, I have followed most advice at this site
http://tldp.org/HOWTO/Postfix-Cyrus-Web-cyradm-HOWTO/installing-anti-spam.html
through Paragraph 11.3.
And I've scanned
http://www.stearns.org/doc/spamassassin-setup.current.html
but I don't want to run spamc unless I have to. (The client workstations at
the site where I'll be using SpamAssassin uses Outlook Express clients--sorry
but they are not ready for a Linux Desktop (which would be required to run
Spamc?)).
Sorry I sound corn-fused, but I am.
What I think remains is to correctly modify the /etc/init.d/sendmail script to
implement two startups of sendmail. I am getting 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.
Error is "unexpected ";" token on line 77.
I think it's got more to do with my coding of these two lines than line 77.
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.