Bluequartz

Configuring Majordomo For Sendmail 8.12

1) Patch listmod_virtusertable

Based on Patrick's Post /usr/sausalito/handlers/base/maillist/listmod_virtusertable needs to be modified...

26a27,28
> 
> 
28c30,32
< my @alii = ('LIST-approval', 'LIST-request', 
---
> # Start - Changed by Patrick 20040707 to cater to Sendmail 8.12 
> # DONT CHANGE THE POSITION as LIST-list (only) is HARD-CODED
> my @alii = ('LIST-list', 'LIST-approval', 'LIST-request', 
29a34
> # End - Changed by Patrick 20040707 to cater to Sendmail 8.12
93a99
> 
97a104
> 
99c106,116
<               $instance =~ s/LIST/$name/;
---
> 
>       #START - ADDed by Patrick to cater to Sendmail 8.12
>               if ($i > 0){ $instance =~ s/LIST/$name/; }else
>               {
>                my $maillistindex = substr($internal_name, 0, index($internal_name, "-") );
>                my $fullname = join "", $maillistindex, "-", $name, "-list";
>                $instance =~ s/LIST-list/$fullname/g;
>               }
>       #END - ADDed by Patrick to cater to Sendmail 8.12
>               
>               #$instance =~ s/LIST/$name/;

2) Run fix_majordomo.pl

Run this script every 5 minutes as a cron job. Download fix_majordomo.pl and you may view the source

fix_majordomo.pl usage:
                                                                                 
   fix_majordomo.pl [-hmtvV]
 
   Fixes mailing lists for Bluequartz majordomo to work with Sendmail 8.12
   This script does 3 things:
   1) Appends lines to virtusertable for all mailing lists but uses real hostname
   2) Removes group write permissions on majordomo list files to make sendmail happy
   3) patches all majordomo.cf files to avoid an error email to admin upon every post to list
    
   Recommendation: Run this as a cronjob on a regular basis.
 
 where:
 
    -h         Display this help
    -m         Minimal Verbose mode
    -t         Test mode, just report what will be done
    -v         Verbose mode
    -V         Show fix_majordomo.pl version.

3) Fix GUI for subscriber selection

There is a bug in the BQ GUI for selecting subscribers if you have more than 25 mailboxes under a single domain. The users are selected on different web pages. 25 per page. The bug is that you can never select users from different pages.

in file /usr/sausalito/ui/web/base/maillist/maillistMod.php
change $pagelength = 25; to $pagelength = 350;
or some other large value to get all the subscribers on a single web page.