[Mailman-Users] bin/genaliases not generating aliases?

Caesar Samsi cmsamsi at hotmail.com
Thu Dec 15 21:52:52 EST 2016


The earlier attempt was to use a ubuntu package style —prefix with ./configure. I’ve abandoned that and am now just using the mailman 2.1.23 tgz plain and simple:
./configure
make
sudo make install

The previously attached mm_cfg.py has MTA=Postfix …

MTA='Postfix'
SMTPHOST = 'localhost'
SMTPPORT = 25

I’ve also searched (whereis and locate) the disk for virtual-mailman and virtual-mailman.db and did not find any.

Ah but if bin/genaliases is not reading my /etc/mailman/mm_cfg.py then what could it be reading?

Is there a debug output switch?

> On Dec 15, 2016, at 5:04 PM, Mark Sapiro <mark at msapiro.net> wrote:
> 
> On 12/15/2016 04:36 PM, Caesar Samsi wrote:
>> I ran genalias with sudo:
>> *caesar at mail* */usr/local/mailman $* sudo bin/genaliases
>> To finish creating your mailing list, you must edit your /etc/aliases (or
>> equivalent) file by adding the following lines, and possibly running the
>> `newaliases' program:
>> 
>> ## mailman mailing list
>> mailman:              "|/usr/local/mailman/mail/mailman post mailman"
>> mailman-admin:        "|/usr/local/mailman/mail/mailman admin mailman"
>> mailman-bounces:      "|/usr/local/mailman/mail/mailman bounces mailman"
>> mailman-confirm:      "|/usr/local/mailman/mail/mailman confirm mailman"
>> mailman-join:         "|/usr/local/mailman/mail/mailman join mailman"
>> mailman-leave:        "|/usr/local/mailman/mail/mailman leave mailman"
>> mailman-owner:        "|/usr/local/mailman/mail/mailman owner mailman"
>> mailman-request:      "|/usr/local/mailman/mail/mailman request mailman"
>> mailman-subscribe:    "|/usr/local/mailman/mail/mailman subscribe mailman"
>> mailman-unsubscribe:  "|/usr/local/mailman/mail/mailman unsubscribe mailman”
> 
> 
> And this output says there is no
> 
> MTA='Postfix'
> 
> in the mm_cfg.py that bin/genaliases is reading.
> 
> You probably have two different Mailman installations. One from the
> Ubuntu package you initially installed and one from the 'scratch'
> install you're trying to do now.
> 
> You are editing the mm_cfg.py from the Ubuntu package, not the one from
> the source install.
> 
> It is unclear to me what you have done. In another thread, you say you
> configured with --prefix=/var/lib/mailman, but you are now looking at
> stuff in /usr/local/mailman.
> 
> You need to figure out what you are installing where and remove all
> other residual Mailman stuff. In particular, nothing in /var/lib/mailman
> or /usr/lib/mailman is relevant to this install which looks like it was
> done with a straight './configure', not with
> 
> ./configure --prefix=/var/lib/mailman --with-username=list
> --with-groupname=list ...
> 
> -- 
> Mark Sapiro <mark at msapiro.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