Sam Varshavchik wrote on 07/10/2008 02:31 AM:
> Chuck Williams writes:
>
>> For mail sent to sanghas-subscribe all headers are included in the 
>> message to the list owner including from and subject, but for a 
>> request made through webmlm the only header included in the message 
>> to the list owner is a single Received:.  This provides no useful 
>> information, and thus makes it impossible for the moderator to decide 
>> whether or not to accept the new member, rendering webmlm not usable 
>> as it stands for this list.
>
> I see what you mean. This should take care of it:
>
> Index: courier/webmlmd.C
> ===================================================================
> RCS file: /cvsroot/courier/courier/courier/courier/webmlmd.C,v
> retrieving revision 1.16
> diff -U3 -r1.16 webmlmd.C
> --- courier/webmlmd.C    4 Jul 2007 12:44:01 -0000    1.16
> +++ courier/webmlmd.C    10 Jul 2008 12:30:33 -0000
> @@ -963,6 +963,7 @@
>         FILE *stdinptr=ctlmsg.stdinptr();
>
>         ctlmsg.mk_received_header();
> +        fprintf(stdinptr, "Subject: %s\n", address.c_str());
>         fprintf(stdinptr, "\nSubscription request received.\n");
>
>         if (ctlmsg.wait())
>
>   
Sam, thanks for this patch!  I've applied it, with one minor mod of 
using the From: header instead of the Subject: header for the address 
for consistency with mail sent to -subscribe, and all is working well.  
I'll look at the other extensions to fill in subject and ideally body 
with real content later.

If anybody is interested and sends me a request, I'll be happy to send 
you back a patched courier-mlm_0.59.0-3_amd64.deb package that has this 
applied for debian (replaces current package in lenny).

Sam, when you add the list membership view paging controls if you have a 
chance to drop a note to the list that would be great.

Thanks again,

Chuck


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to