Magnus Hagander wrote:
> 2009/8/27 Alvaro Herrera <alvhe...@commandprompt.com>:
> > Magnus Hagander wrote:
> >
> >> It'd be kind of neat of majordomo could insert a "held for moderation
> >> at <time>" and "released from moderation at <time>" headers or
> >> something. Anybody know if that's possible to do?
> >
> > You'd need to get Marc to patch the Majordomo2 source code ...
> > I proposed a patch months ago to have message-ids expanded in the
> > message footer, but no luck.
> 
> Did you cook up an actual patch? The majordomo server actually is
> something that the community has access to... (it's not properly
> documented, of course, but it's there)

Of course; attached.

I have not tried a patch for the feature you propose.  It'd be good to
have those (and also an indication of which moderator approved the
message).

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
diff -cr majordomo/lib/Mj/Resend.pm majordomo.orig/lib/Mj/Resend.pm
*** majordomo/lib/Mj/Resend.pm	2007-10-31 16:27:46.000000000 -0300
--- majordomo.orig/lib/Mj/Resend.pm	2009-03-17 12:06:32.000000000 -0400
***************
*** 707,712 ****
--- 707,713 ----
           'SUBJECT'    => $subject || '(no subject)',
           'SUBSCRIBED' => ($avars{'days_since_subscribe'} < 0) ? "not" : "",
           'USER'       => "$user",
+          'MESSAGE_ID' => $msgid,
    };
  
    if ($mode !~ /archive/) {
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to