[Mailman-Users] changing mailman homedir

Richard Barrett r.barrett at openinfo.co.uk
Fri May 9 14:44:41 CEST 2003

At 11:47 09/05/2003, Flavien wrote:
>I had to change mailman homedir from /home/mailman to /usr/local/home/mailman.
>I basically grepped around /home/mailman/* to find all paths, moved
>to /usr/local/home, and changed the homedir of mailman user.

Not the right way!

>Now, I'm getting error messages :
> > A message that you sent could not be delivered to one or more of its
> > recipients. This is a permanent error. The following address(es) failed:
> >
> >   the-list at blahblah.domain:
> >     Child process of list_transport transport returned 2 from command:
> >     /usr/local/home/mailman/mail/wrapper
>I realize that all *.pyc files contain references to the old dir
>/home/mailman, so they might well be the cause of the problem.

The .pyc files are not the problem as python will regenerate these if they 
have later modification date than the associate .py file

I think you problem is with the compiled C wrappers for the mail delivery 
and cgi scripts which have the Mailman install path embedded in the object 

Instead of hacking at this, do a proper configure and install of MM into 
your new $prefix, then transfer over the list databases and archives, run 
check_perms and then restart everything. I would stop your MTA and web 
server while you are moving MM and restart them after the move.

>How can I correct this ?
>Any help appreciated.

Richard Barrett                                      http://www.openinfo.co.uk

More information about the Mailman-Users mailing list