View Full Version : Missing /etc/rc.d/init.d/spamd on my RH9
bwrob
08-28-2004, 07:37 PM
Hi
/etc/rc.d/init.d/spamd is not there.
I started it by /usr/bin/spamd -d -c -u mail
How to make it to start at boot time.
Thanks
bob
jmstacey
08-29-2004, 12:01 AM
Create a file in the /usr/local/etc/rc.d directory.
then add it to the boot script /usr/local/etc/rc.d/boot.sh
serverguy
09-20-2004, 06:25 AM
We ran that command and we are getting as follows, what is wrong herre?
root]# /usr/bin/spamd -d -c -u mail
Could not create INET socket: Address already in use IO::Socket::INET: Address a
lready in use
Rich
l0rdphi1
09-20-2004, 11:15 AM
Originally posted by serverguy
Could not create INET socket: Address already in use IO::Socket::INET: Address a
lready in use
That should mean that spamd is already running.
Stop: killall spamd
Start: /usr/bin/spamd -d -a -c -m 5
http://help.directadmin.com/item.php?id=36
serverguy
09-20-2004, 12:33 PM
Hello
Thanks that is what I thought it mean't.
Thanks
Richard
serverguy
09-20-2004, 12:55 PM
Ok I did what it said in that post. I made those changes to the exim.conf and when it restarted I get the following.
I copy and pasted the change in to emix.conf.
Starting exim: 2004-09-20 14:51:04 Exim configuration error in line 613 of /etc/
option setting expected: {$received_protocol}{local}} }$
Any ideas there?
Richard
serverguy
09-20-2004, 01:18 PM
Can some one tell me if this correct, it is in the exim.conf file.
Some thing is not correct it will not restart.
# Spam Assassin
#spamcheck_director:
# driver = accept
# condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}} {!eq
{$received_protocol}{local}} }$
# retry_use_local_part
# transport = spamcheck
# no_verify
----------
Richard
nobaloney
09-20-2004, 05:06 PM
Originally posted by serverguy
# Spam Assassin
#spamcheck_director:
# driver = accept
# condition = "${if and { {!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}} {!eq
{$received_protocol}{local}} }$
# retry_use_local_part
# transport = spamcheck
# no_verify
Those "#" marks are comments. Take out all of them except the one in front of the top line.
In other words, do not change the "# Spam Assassin" line, but uncomment all the others by taking out the # and the space after it.
When you've finished editing exim.conf, restart exim.
Jeff
serverguy
09-20-2004, 05:12 PM
Hello Jeff
I found the problem I had and it is corrected and all is ok now.
Thanks
Richard
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.