[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to block a LOT of spam (Was: RE: [cobalt-users] excessive spam)



>On Wednesday 16 July 2003 10:36, Dan Kriwitsky wrote:
>> FYI: Something I've noticed in doing sendmail restart on my RaQ4 that
>> often Sendmail doesn't restart that way. It stops, says it's restarting,
>> but running:
>> ps waux | grep sendmail
>> I do not get the normal
>> root     12503  0.1  0.3  2644 1384 ?        S    10:23   0:00 sendmail:
>> accepting connections
>>
>> I have noticed that if instead I run:
>> /etc/rc.d/init.d/sendmail stop
>> /etc/rc.d/init.d/sendmail start
>> Then the RaQ seems to start up properly.
>>
>> -
>
>If you are running mailscanner this will "break" your mailscanner since it is
>then no longer two parts (a receiving sendmail  and a sending sendmail) which
>is required for mailscanner to work.  Believe the correct way with
>mailscanner is to stop and restart mailscanner (which does sendmail also)


Then restart mailscanner directly afterwards - I run this script about once a week, and mailscanner never stops:

#!bin/sh
cd /etc/rc.d/init.d/
./httpd restart
./mailscanner stop ; ./mailscanner start
./named restart

It flushes out any crap in the machine and means the servers run longer between reboots.

regards

Greg Hewitt-Long
-- 
http://www.webyourbusiness.com/
Providers of E-Commerce Software &
Web Design Consultancy and Services.
PH: (970) 266-0195   FAX: (970) 266-0158