Bug in mlmmj-maintd: notice on non-existing digests
Hej,
after some time-eating server updating I stumbled over the fact, that mlmmj-maintd doesn't honour the nodigestsub tunable. It tries to resend digests even if there aren't any at all, omitting a notice for every existing non-digestive list.
Mlmmj-maintd skips run_digests() only if noarchive is present. Can this check extended to include nodigestsub as well?
Ciao
Chris
ps. Is it possible that nodigestsub is set and there is a static list of digesters? If yes, then my easy solution described above will break this case.
Hi Chris,
Quoted 1 line · Christoph Wilke
mlmmj-maintd doesn't honour the nodigestsub tunable.
The nodigestsub tunable only disables subscriptions to the digest version of the list. It does not stop mlmmj from sending digests.
Quoted 2 lines
It tries to resend digests even if there aren't any at all, omitting a notice for every existing non-digestive list.
It should not log any notices, just because a given list has no digest subscribers. Which notice does it show?
Best regards,
Morten
Signature · 3 lines
Morten K. Poulsen <[email protected]> CTO, FableTech http://fabletech.com/
Hej,
Quoted 5 lines · Morten K. Poulsen
Hi Chris,
Quoted 1 line · Christoph Wilke
mlmmj-maintd doesn't honour the nodigestsub tunable.
Quoted 8 lines
The nodigestsub tunable only disables subscriptions to the digest version of the list. It does not stop mlmmj from sending digests.
Quoted 2 lines
It tries to resend digests even if there aren't any at all, omitting a notice for every existing non-digestive list.
It should not log any notices, just because a given list has no digest subscribers. Which notice does it show?
this one:
May 17 18:00:01 strange /usr/bin/mlmmj-maintd[17651]: send_digest.c:229:
Notice: Could not open std mail digest: No such file or directory
Regards
Chris
Hi Chris,
Quoted 8 lines · Christoph Wilke
Quoted 2 lines · Morten K. Poulsen
It should not log any notices, just because a given list has no digest subscribers. Which notice does it show?
this one:
May 17 18:00:01 strange /usr/bin/mlmmj-maintd[17651]: send_digest.c:229:Notice: Could not open std mail digest: No such file or directory
That indicates that your listtexts are out of sync with your mlmmj binaries.
Sure, mlmmj does not need to prepare a digest mail in case a list has zero digest subscribers, but checking for that would complicate things a bit (preparation is done in mlmmj-maintd, sending is done in mlmmj-send).
There are a few ways you can make this notice disappear:
1) touch LISTDIR/control/nodigesttext
This will make mlmmj stop looking for a text to prepend to each digest mail.
2) touch LISTDIR/text/digest
This will install an empty digest text.
3) cp /usr/local/share/mlmmj/text.skel/de/digest LISTDIR/text/
Like #2, but will install the real digest text, just in case you will ever want to enable digest mails.
Morten
Signature · 3 lines
Morten K. Poulsen <[email protected]> CTO, FableTech http://fabletech.com/
Hej,
Quoted 7 lines · Morten K. Poulsen
Hi Chris,
Quoted 4 lines · Christoph Wilke
Quoted 2 lines · Morten K. Poulsen
It should not log any notices, just because a given list has no digest subscribers. Which notice does it show?
Quoted 7 lines
Quoted 4 lines
this one:
May 17 18:00:01 strange /usr/bin/mlmmj-maintd[17651]: send_digest.c:229:Notice: Could not open std mail digest: No such file or directory
That indicates that your listtexts are out of sync with your mlmmj binaries.
The ability to read helps... You are perfectly right.
[...]
Quoted 12 lines
There are a few ways you can make this notice disappear:
1) touch LISTDIR/control/nodigesttext
This will make mlmmj stop looking for a text to prepend to each digest mail.
2) touch LISTDIR/text/digest
Quoted 7 lines
This will install an empty digest text.
3) cp
/usr/local/share/mlmmj/text.skel/de/digestLISTDIR/text/Like #2, but will install the real digest text, just in case you will ever want to enable digest mails.
I did 1 and 3 and everything works fine now.
Thank you very much for your quick help!
And forgive me my hasty bug yelling...
Regards
Chris
Hi Chris,
Quoted 5 lines · Christoph Wilke
Quoted 2 lines · Morten K. Poulsen
That indicates that your listtexts are out of sync with your mlmmj binaries.
The ability to read helps... You are perfectly right.
:-)
Quoted 3 lines
I did 1 and 3 and everything works fine now.
Thank you very much for your quick help!
And forgive me my hasty bug yelling...
Kein Problem.
Morten
Signature · 3 lines
Morten K. Poulsen <[email protected]> CTO, FableTech http://fabletech.com/