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

Matthieu Berjon matthieu at berjon.net
Sun Apr 19 18:01:17 CEST 2015

On 04/19/2015 05:27 PM, Mark Sapiro wrote:
> 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.

Thanks a lot to all of you. You let me to understand that 
postfix-to-mailman.py was unecessary and not part of inital project. I 
removed it from the equation, updated the postfix configuration and it 
worked like a charm.

Many thanks to all of you :)

Have a good evening,
Matthieu Berjon

More information about the Mailman-Users mailing list