升級 gentoo 的 spamd

After upgrading the spamassassin of my gentoo box to 3.3.1-r3 I encounter two problems while starting it.

First, Uninitialized value $opt{“syslog-socket”} in lc at spamd

The solution is:

– my $log_socket = lc($opt{‘syslog-socket’});
+my $log_socket = $opt{‘syslog-socket’};

if (!defined $log_socket || $log_socket eq ”) {
$log_socket = am_running_on_windows() ? ‘none’ : ‘unix’;
+} else {
+  $log_socket = lc $log_socket;
}

From Gentoo Forum where it is filed as a bug and may be fix recently.

Second, child process exited or timed out without signaling production of a PID file: exit 255

Solution is by running:

# sa-update -D

From Virtualmin. And everything is fine while restarting.

Leave a Reply

Your email address will not be published. Required fields are marked *