Discussion:
[Mimedefang] Reload doesnt work
Thomas Kristensen
2017-10-02 08:03:09 UTC
Permalink
Hey

I got this problem that the reload function doesnt reload my rules.

Nothings happens when i use the reload, i have to stop mimedefang and start it again to use the changes made in mimedefang-filter.

Med venlig hilsen
Thomas Kristensen
[MM_mail_logo_3_AS]
Storhaven 12 - 7100 Vejle
Tlf: 75 72 54 99 - Fax: 75 72 65 33
E-mail: ***@multimed.dk
Bill Cole
2017-10-03 07:18:37 UTC
Permalink
Post by Thomas Kristensen
Hey
I got this problem that the reload function doesnt reload my rules.
Nothings happens when i use the reload, i have to stop mimedefang and
start it again to use the changes made in mimedefang-filter.
This is platform-specific. If your platform uses systemd, the command
"systemctl reload mimedefang" doesn't reload the mimedefang-filter, it
only reloads the systemd definition of the mimedefang service, which
effectively does nothing. To get your system to reload the
mimedefang-filter, use the md-mx-ctrl tool:

md-mx-ctrl reread

OR if you are not using the mimedefang-multiplexor (which I think
everyone should...) you can keep using the systemctl stop and start
functions while screaming curses at the abomination that is systemd and
its deeply ignorant design.
_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimede
Thomas Kristensen
2017-10-03 07:43:42 UTC
Permalink
How can i check for the use of that multiplexor?

Med venlig hilsen
Thomas Kristensen

Storhaven 12 - 7100 Vejle
Tlf: 75 72 54 99 - Fax: 75 72 65 33
E-mail: ***@multimed.dk

-----Oprindelig meddelelse-----
Fra: MIMEDefang [mailto:mimedefang-***@lists.roaringpenguin.com] På vegne af Bill Cole
Sendt: 3. oktober 2017 09:19
Til: ***@lists.roaringpenguin.com
Emne: Re: [Mimedefang] Reload doesnt work
Post by Thomas Kristensen
Hey
I got this problem that the reload function doesnt reload my rules.
Nothings happens when i use the reload, i have to stop mimedefang and
start it again to use the changes made in mimedefang-filter.
This is platform-specific. If your platform uses systemd, the command "systemctl reload mimedefang" doesn't reload the mimedefang-filter, it only reloads the systemd definition of the mimedefang service, which effectively does nothing. To get your system to reload the mimedefang-filter, use the md-mx-ctrl tool:

md-mx-ctrl reread

OR if you are not using the mimedefang-multiplexor (which I think everyone should...) you can keep using the systemctl stop and start functions while screaming curses at the abomination that is systemd and its deeply ignorant design.
_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mail
Thomas Kristensen
2017-10-03 08:19:13 UTC
Permalink
I guess this answers my question :)

25284 ? S 125:19 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.soc
25171 ? S 0:02 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.s
25362 ? S 0:00 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.s
25539 ? S 0:00 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.s
25719 ? S 0:00 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.s
25851 ? S 0:00 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.s
26055 ? S 0:00 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.s
26237 ? S 0:00 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.s
26424 ? S 0:00 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.s
26590 ? S 0:00 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.s
26797 ? S 0:00 /usr/bin/mimedefang-multiplexor -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid -E -z /var/spool/MIMEDefang -S mail -m 10 -x 50 -U defang -b 600 -l -y 0 -s /var/spool/MIMEDefang/mimedefang-multiplexor.s

Med venlig hilsen
Thomas Kristensen

Storhaven 12 - 7100 Vejle
Tlf: 75 72 54 99 - Fax: 75 72 65 33
E-mail: ***@multimed.dk


-----Oprindelig meddelelse-----
Fra: MIMEDefang [mailto:mimedefang-***@lists.roaringpenguin.com] På vegne af Thomas Kristensen
Sendt: 3. oktober 2017 09:44
Til: ***@lists.roaringpenguin.com
Emne: Re: [Mimedefang] Reload doesnt work

How can i check for the use of that multiplexor?

Med venlig hilsen
Thomas Kristensen

Storhaven 12 - 7100 Vejle
Tlf: 75 72 54 99 - Fax: 75 72 65 33
E-mail: ***@multimed.dk

-----Oprindelig meddelelse-----
Fra: MIMEDefang [mailto:mimedefang-***@lists.roaringpenguin.com] På vegne af Bill Cole
Sendt: 3. oktober 2017 09:19
Til: ***@lists.roaringpenguin.com
Emne: Re: [Mimedefang] Reload doesnt work
Post by Thomas Kristensen
Hey
I got this problem that the reload function doesnt reload my rules.
Nothings happens when i use the reload, i have to stop mimedefang and
start it again to use the changes made in mimedefang-filter.
This is platform-specific. If your platform uses systemd, the command "systemctl reload mimedefang" doesn't reload the mimedefang-filter, it only reloads the systemd definition of the mimedefang service, which effectively does nothing. To get your system to reload the mimedefang-filter, use the md-mx-ctrl tool:

md-mx-ctrl reread

OR if you are not using the mimedefang-multiplexor (which I think everyone should...) you can keep using the systemctl stop and start functions while screaming curses at the abomination that is systemd and its deeply ignorant design.
_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roar
Dianne Skoll
2017-10-03 13:02:41 UTC
Permalink
On Tue, 03 Oct 2017 03:18:37 -0400
Post by Bill Cole
OR if you are not using the mimedefang-multiplexor (which I think
everyone should...)
MIMEDefang hasn't supported *not* using the multiplexor for ages, since
at least version 2.51 released in February 2005.

Regards,

Dianne.
_______________________________________________
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 ***@lists.roaringpenguin.com
htt
Bill Cole
2017-10-04 14:08:27 UTC
Permalink
Post by Dianne Skoll
On Tue, 03 Oct 2017 03:18:37 -0400
There's the problem right there.

It's perilous to think I can do useful or even correct technical
explication in any hour that starts with a zero. I'm old enough to know
that about myself, and I apologize to the list for the noise.
Post by Dianne Skoll
Post by Bill Cole
OR if you are not using the mimedefang-multiplexor (which I think
everyone should...)
MIMEDefang hasn't supported *not* using the multiplexor for ages, since
at least version 2.51 released in February 2005.
At least I can plead that it did when I started using it. :)

But it gets worse...
Post by Dianne Skoll
Since "reload" *IS* something that can be defined in the ExecReload
variable in the system unit file, maybe this more of a packaging
problem than a systemd problem?
Absolutely correct. I was obviously thinking of something else. What
could it be?
Post by Dianne Skoll
This is definitely not true. To reload the service definitions, you
use
"systemctl daemon-reload".
That's it!

I'll do better going forward, I promise.
_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/l
Michael Fox
2017-10-04 20:53:48 UTC
Permalink
Post by Bill Cole
I'll do better going forward, I promise.
No worries, at least from this newbie. You're one of the few folks I've seen on these e-mail-related lists that takes the time to fully explain answers and provide sufficient detail for so that us newbies actually learn something. So you're still in the black in my book.

M


_______________________________________________
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 ***@lists.roaringpenguin.com
http://l
Kees Theunissen
2017-10-05 12:33:51 UTC
Permalink
Post by Bill Cole
Post by Dianne Skoll
On Tue, 03 Oct 2017 03:18:37 -0400
There's the problem right there.
It's perilous to think I can do useful or even correct technical explication in
any hour that starts with a zero.
Yeah. Good advice.
Never ever start working before 10 AM.


Regards,

Kees Theunissen.
--
Kees Theunissen, System and network manager, Tel: +31 (0)40-3334724
Dutch Institute For Fundamental Energy Research (DIFFER)
e-mail address: ***@differ.nl
postal address: PO Box 6336, 5600 HH, Eindhoven, the Netherlands
visitors address: De Zaale 20, 5612 AJ, Eindhoven, the Netherlands

_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/m
Michael Fox
2017-10-03 17:54:21 UTC
Permalink
To get your system to reload the
Post by Bill Cole
md-mx-ctrl reread
OR if you are not using the mimedefang-multiplexor (which I think
everyone should...) you can keep using the systemctl stop and start
functions while screaming curses at the abomination that is systemd and
its deeply ignorant design.
Bill:

Since "reload" *IS* something that can be defined in the ExecReload variable in the system unit file, maybe this more of a packaging problem than a systemd problem?

Michael



_______________________________________________
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 ***@lists.roaringpenguin.com
http://lists.roaringpen
Richard Laager
2017-10-03 18:45:25 UTC
Permalink
Post by Bill Cole
This is platform-specific. If your platform uses systemd, the command
"systemctl reload mimedefang"  doesn't reload the mimedefang-filter
"systemctl reload mimedefang" should reload the filter by way of
/etc/init.d/mimedefang, but maybe that's not setup on your system. My
version of systemd-sysv-gennerator (Ubuntu 16.04) sets:
ExecReload=/etc/init.d/mimedefang reload

Alternatively, if you use the native systemd unit files I posted a few
days ago (or the slightly updated versions attached here), reload
definitely works correctly.
Post by Bill Cole
it only reloads the systemd definition of the mimedefang service
This is definitely not true. To reload the service definitions, you use
"systemctl daemon-reload".
--
Richard
Loading...