[BlueOnyx:27007] Re: AV-SPAM?
Michael Stauber
mstauber at blueonyx.it
Thu May 30 13:10:14 -05 2024
Hi Barry,
> Some time ago, it was recommended to issue
> ~/> /usr/sausalito/sbin/avspam_init.pl -restart
>
> ... during which, the message pops up:
> "AV-SPAM Email service are in failed state."
Yes, that is a normal message you get for this command. The "-restart"
parameter will issue a "stop" to all AV-SPAM services first.
Then it checks the state of all services. As they are now all stopped
while normally at least some of the should be on it will report "AV-SPAM
Email service are in failed state."
Then it performs a start of all services that should be enabled. Once
that is done, it will run another check and will report back the new
state, which should be that all services are running.
> Is there a place in the BX GUI to accomplish the same as the CLI line?
> Or, is there something that needs to be done to AV-SPAM to reduce it
> being in a "failed state?"
Yes. Enabling/Disabling/Re-enabling SMTP and/or turning off all active
AV-SPAM services and turning them back on accomplishes the same as the
CLI command.
Or you could run "/sbin/swatch" from the shell. Which will check if all
enabled services are running and if not, it will restart the services
selectively. The server does this automatically every 15 minutes.
It would be best to find out what causes your outages, though. So when
the problem happens again? Run ...
/usr/sausalito/sbin/avspam_init.pl -status
... to check if all services that should be up are actually running. And
see what errors you get in /var/log/maillog at the time the problem is
present. That should help to identify the issue and find a proper remedy.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list