[Mailman-Users] Case sensitive problem w/ list serve

Mark Sapiro msapiro at value.net
Sat Sep 3 00:28:05 CEST 2005


Brad Knowles wrote:

>At 4:30 PM -0400 2005-09-02, Darren G Pifer wrote:
>
>>  Also, the sendmail mailer flag "u" which is being used and according to
>>  the Bat book causes the case of the user part of the address to remain.
>>  I also don't see anywhere in the mm-handler script that will do the
>>  case conversion for us. So, it looks we could either remove the "u"
>>  mailer flag or do the case conversion in the mm-handler script. Is there
>>  is preference which one we should modify?
>
>	It would probably be easier to change the sendmail mailer 
>definition, but if you modified the mm-handler script and contributed 
>that back to the project (i.e., upload it to the page for Mailman 
>SourceForge patches), then other Mailman administrators could make 
>use of that modified script.

It looks to me like the problem is really a bug in mm-handler.
Normally, there is not an issue when aliases are used to invoke the
wrapper.

The problem appears to be that mm-handler just assumes the recipient
address of the incoming mail is lower case. I.e. the 'validfields'
which are used to validate the command portion of the
listname-command at ... address are all lower case and the listname
portion is used in a test to see if the $prefix/listname/config.pck
file exists.

I'm not fluent in perl, but it seems that

        $list = $addr;

in the following piece of mm-handler
 

ADDR:   for $addr (@to) {
        $prev = undef;
        $list = $addr;

should be

        $list = lc $addr;

--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list