public inbox for mlmmj@mlmmj.org
 help / color / mirror / Atom feed
* [mlmmj] hardcoded delimiter in mlmmj-process.c?
@ 2011-03-12  0:04 Moritz Wilhelmy
  2011-03-12  3:43 ` Ben Schmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Moritz Wilhelmy @ 2011-03-12  0:04 UTC (permalink / raw)
  To: mlmmj

Dear list,

Today, I found some references to listname-moderators@listdomain by
accident, but the delimiter is +.
From mlmmj-1.2.17.1/src/mlmmj-process.c:127 (139 in tip), it seems this
is hardcoded to -:

> to = concatstr(3, listname, "-moderators@", listfqdn); /* FIXME JFA: Should this be converted? Why, why not? */

This baffled me a bit. It says FIXME, but not what is subject to be
fixed. Assuming that the FIXME is about the minus, I don't see why it
should *not* be changed to use the same delimiter that's used everywhere
else...

Best regards,

Moritz


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [mlmmj] hardcoded delimiter in mlmmj-process.c?
  2011-03-12  0:04 [mlmmj] hardcoded delimiter in mlmmj-process.c? Moritz Wilhelmy
@ 2011-03-12  3:43 ` Ben Schmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Schmidt @ 2011-03-12  3:43 UTC (permalink / raw)
  To: mlmmj

On 12/03/11 11:04 AM, Moritz Wilhelmy wrote:
> Dear list,
>
> Today, I found some references to listname-moderators@listdomain by
> accident, but the delimiter is +.
>> From mlmmj-1.2.17.1/src/mlmmj-process.c:127 (139 in tip), it seems this
> is hardcoded to -:
>
>> to = concatstr(3, listname, "-moderators@", listfqdn); /* FIXME JFA: Should this be converted? Why, why not? */
>
> This baffled me a bit. It says FIXME, but not what is subject to be
> fixed. Assuming that the FIXME is about the minus, I don't see why it
> should *not* be changed to use the same delimiter that's used everywhere
> else...

I haven't checked the sources, but I think this is one of those "doesn't
matter" situations, because +moderators (or -moderators for that matter)
doesn't actually do anything. I.e. there is no functionality in Mlmmj
that forwards a mail to list+moderators to the moderators of the list.
It's just used as a placeholder in the To: header of moderation messages
for the sake of having *something* there. It probably should be
something more like

listname moderators :;

i.e. use some text describing the group it's being sent to, but not list
any of the addresses, or anything that looks like an address but isn't,
explicitly.

Ben.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-12  3:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-12  0:04 [mlmmj] hardcoded delimiter in mlmmj-process.c? Moritz Wilhelmy
2011-03-12  3:43 ` Ben Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox