Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] Moderating non-html message

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] Moderating non-html message
  • Date: Mon, 10 Jan 2005 13:18:07 +0100

Hi Rudolf,

Since Sympa 3.4.4 HTML view of messages awaiting moderation are no more generated by WWSympa (problems of setuid with mhonarc) but generated by Sympa.pl when the message is received. So you should not have anything to change in Sympa for this feature to work.

You did not mention what version of Sympa you are running ?
What problem do you exactly encounter ? What does sympa log say ?
Is wwsympa running as the right UID, ie the same as sympa.pl ?


Rudolf Weeber wrote:

currently itis not possible to view moderation messages, notin html format.

I was thinking about patching function do_showmod()
in wwslib.pm, so that non-html messages are converted to html using mhonarc
-single


It would either be possible to generate the .$msg_id/msg000.html under the moderation spool on the fly, (Or would that cause trouble when cleaning up the spool (expiration of messages to moderate))

or generate a temporary directory under /tmp, put the msg0000.html there,
include the path in tt2, show the page, and remove the tempfile afterward
(where would that have to be done?)


Do you think, one of those ways would work?
If yes, which one is better?

Another question:
Is the wws_conf hash in the do_showmod function available?

--
Olivier Salaün
Comité Réseau des Universités
-------------------------------------------
Validation signature / Trusting signature: --> http://igc.cru.fr/trust.html
-------------------------------------------

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page