[BlueOnyx:19567] Re: SMTP Service down

Colin Jack colin at mainline.co.uk
Sat May 14 11:51:19 -05 2016


We sometimes have to use it once a day. Any updates can stop it (e.g. Clam).
Create the script on the server and save as av-spam-restart.sh
Set to executable (chmod +x av-spam-restart.sh) and whenever you have a problem just run the script:
./av-spam-restart.sh

Michael is on a fix.

Regards

Colin




On 14/05/2016, 16:07, "Blueonyx on behalf of Gianluca" <blueonyx-bounces at mail.blueonyx.it on behalf of gianluca.bianchini at tiscali.it> wrote:

>Colin Jack <colin at ...> writes:
>
>> 
>> We have issues with this … try using this script (from Michael):
>> 
>> #!/bin/bash
>> 
>> /sbin/service sendmail stop
>> killall -9 sendmail
>> /sbin/service clamd restart
>> /sbin/service clamav-milter restart
>> /sbin/service spamassassin restart
>> /sbin/service spamass-milter restart
>> /sbin/service milter-geoip restart
>> /sbin/service milter-greylist restart
>> /sbin/service sendmail start
>> 
>> This stops all mail/avspam services and restarts in the correct order.
>> 
>> Regards
>> 
>> Colin
>> 
>
>IT WORKS! :-)
>Thank you very much Colin!
>It was a week that we was in trouble...
>
>Do you think this will fix the issue or we have to write again the script
>when the BlueOnyx stop to work?
>
>We have only this warning on the command /sbin/service clamd restart:
>---------------------------------------------------------------------------
>LibClamAV Warning: ***  The virus database is older than 7 days!  ***
>LibClamAV Warning: ***   Please update it as soon as possible.    ***
>LibClamAV Warning: **************************************************
>LibClamAV Warning: Detected duplicate databases /var/clamav/main.cld and
>/var/clamav/main.cvd. The /var/clamav/main.cld database is older and will
>not be loaded, you should manually remove it from the database directory.
>---------------------------------------------------------------------------
>How to force the virus database update?
>
>Regards, Gianluca.
>
>_______________________________________________
>Blueonyx mailing list
>Blueonyx at mail.blueonyx.it
>http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list