[Mailman-Users] Issue with postfix-to-mailman.py (Command died with status 127)

Mark Sapiro mark at msapiro.net
Sun Apr 19 17:27:42 CEST 2015


On 04/19/2015 02:30 AM, Matthieu Berjon wrote:
> Hello to all,
> 
> I met an issue in trying to set up Mailman. Here is the error message I
> get from postfix:
> 
>     Command died with status 127:
>             "/usr/local/mailman/postfix-to-mailman.py". Command
>         output: env: python: No such file or directory
...
> /usr/local/mailman/postfix-to-mailman.py
> 
> # Configuration variables - Change these for your site if necessary.
> MailmanHome = "/usr/local/mailman"; # Mailman home directory.
> MailmanOwner = "postmaster at earswideopen.net"; # Postmaster and abuse
> mail recipient.


Is the above missing something? I suspect the above is actually preceded
by something like

#! /usr/bin/env python

and env is complaining that it can't find 'python' because there is no
'python' in $PATH (i.e. Postfix's search path).

Also, please read <http://wiki.list.org/x/15564817> and the things
linked from the last paragraph thereof.

-- 
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