Re: reread mimedefang after sa-update

Marcus Schopen <[email protected]>
Newsgroups gmane.mail.mimedefang
Message-ID <[email protected]>
Am Mittwoch, den 14.09.2016, 09:35 -0400 schrieb Dianne Skoll:
> On Wed, 14 Sep 2016 07:54:50 +0200
> Marcus Schopen <[email protected]> wrote:
> 
> > do I need to reread or reload mimedefang after sa-update e.g. 
> > /etc/cron.daily/spamassassin to get the changes in spamassassin rules
> > recognized by mimedefang?
> 
> Yep.  "md-mx-ctrl reread" is a pretty non-invasive operation, so it's
> quite safe.

Dianne! Thanks.

Then one should add something like "/etc/init.d/mimedefang reread
> /dev/null" to /etc/cron.daily/spamassassin in the section where when
updates are found, right?

/etc/cron.daily/spamassassin:
        [...]
        # got updates!
        su - debian-spamd -c "spamassassin --lint" || die_with_lint
        do_compile
	reload
	# Mimedefang neu laden
	/etc/init.d/mimedefang reread > /dev/null
        ;;
        [...]


Btw I get an error on reread, Is this to worried about?

-----
Sep 14 17:39:55 scansrv mimedefang-multiplexor[24029]: Cannot destroy
and recreate a Perl interpreter safely on this platform.  Filter rules
will NOT be reread.
Sep 14 17:39:55 scansrv mimedefang-multiplexor[24029]: Re-initialized
embedded Perl interpreter
Sep 14 17:39:55 scansrv mimedefang-multiplexor[24029]: Killing idle
slave 1 (pid 26628): Forcing reread of filter rules
Sep 14 17:39:55 scansrv mimedefang-multiplexor[24029]: Killing idle
slave 0 (pid 26627): Forcing reread of filter rules
Sep 14 17:39:55 scansrv mimedefang-multiplexor[24029]: Reap: slave 0
(pid 26627) exited normally with status 0
Sep 14 17:39:55 scansrv mimedefang-multiplexor[24029]: Slave 0 resource
usage: req=0, scans=0, user=0.004, sys=0.004, nswap=0, majflt=0,
minflt=199, maxrss=36992, bi=0, bo=0
Sep 14 17:39:55 scansrv mimedefang-multiplexor[24029]: Reap: slave 1
(pid 26628) exited normally with status 0
Sep 14 17:39:55 scansrv mimedefang-multiplexor[24029]: Slave 1 resource
usage: req=0, scans=0, user=0.007, sys=0.001, nswap=0, majflt=0,
minflt=199, maxrss=36992, bi=0, bo=0
Sep 14 17:39:58 scansrv mimedefang-multiplexor[24029]: Starting slave 1
(pid 26690) (1 running): Bringing slaves up to minSlaves (2)
Sep 14 17:40:01 scansrv mimedefang-multiplexor[24029]: Starting slave 0
(pid 26715) (2 running): Bringing slaves up to minSlaves (2)
-----

System is Ubuntu 14.04 LTS, mimedefang 2.73

Ciao
Marcus


_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list [email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.