Not able to start mailman server
Hi,
I am trying to start the mailman server on a mac according to the instructions given on the website as shown -
$(py3) git clone git@gitlab.com:mailman/mailman.git $(py3) cd mailman $(py3) python setup.py develop
$(py3) mailman start $(py3) cd ..
But I run into the following problem -
Starting Mailman's master runner Generating MTA alias maps /usr/local/Cellar/python@3.9/3.9.5/bin/python3.9: can't open file '/usr/local/opt/python@3.9/bin/master': [Errno 2] No such file or directory
Can anyone help me out with this?
Thanks, Kartheek
On 8/4/21 2:24 PM, Kartheek Reddy Bondugula wrote:
Hi,
I am trying to start the mailman server on a mac according to the instructions given on the website as shown -
What web site? A URL to the instructions you followed would help.
$(py3) git clone git@gitlab.com:mailman/mailman.git $(py3) cd mailman $(py3) python setup.py develop
Rather than 'python setup.py develop', do 'pip install -e ./'
$(py3) mailman start $(py3) cd ..
But I run into the following problem -
Starting Mailman's master runner Generating MTA alias maps /usr/local/Cellar/python@3.9/3.9.5/bin/python3.9: can't open file '/usr/local/opt/python@3.9/bin/master': [Errno 2] No such file or directory
Can anyone help me out with this?
There should be a master
in the same bin/ directory as mailman
which
is probably not '/usr/local/opt/python@3.9/bin/'
What does mailman info
show?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi,
I am trying to setup postorius using this website -
https://docs.mailman3.org/projects/mailman/en/release-3.0/src/mailman/docs/W...
I
Hi,
I am trying to setup postorius using this website -
https://docs.mailman3.org/projects/mailman/en/release-3.0/src/mailman/docs/W...
I am trying to create a mailling list and it web interface for the users in my group
The command 'pip install -e ./'(python3) runs successfully but still i am not able to start the server
my mailman info shows -
GNU Mailman 3.3.5b1 (Tom Sawyer) Python 3.9.5 (default, May 4 2021, 03:36:27) [Clang 12.0.0 (clang-1200.0.32.29)] config file: /Users/.../Documents/mailman/var/etc/mailman.cfg db url: sqlite:////Users/.../Documents/mailman/var/data/mailman.db devmode: DISABLED REST root url: http://localhost:8001/3.1/ REST credentials: restadmin:restpass
On 8/5/21 12:53 AM, Kartheek Reddy Bondugula wrote:
Hi,
I am trying to setup postorius using this website -
https://docs.mailman3.org/projects/mailman/en/release-3.0/src/mailman/docs/W...
That documentation is out of date.
Start at https://docs.mailman3.org/en/latest/
I am trying to create a mailling list and it web interface for the users in my group
The command 'pip install -e ./'(python3) runs successfully but still i am not able to start the server
Is the result the same as in your post at https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/..., i.e.,
/usr/local/Cellar/python@3.9/3.9.5/bin/python3.9: can't open file '/usr/local/opt/python@3.9/bin/master': [Errno 2] No such file or directory
my mailman info shows -
GNU Mailman 3.3.5b1 (Tom Sawyer) Python 3.9.5 (default, May 4 2021, 03:36:27) [Clang 12.0.0 (clang-1200.0.32.29)] config file: /Users/.../Documents/mailman/var/etc/mailman.cfg db url: sqlite:////Users/.../Documents/mailman/var/data/mailman.db devmode: DISABLED REST root url: http://localhost:8001/3.1/ REST credentials: restadmin:restpass
We recommend following this guide https://docs.mailman3.org/en/latest/install/virtualenv.html
What is the content of the /Users/.../Documents/mailman/var/etc/mailman.cfg file?
The 'pip install -e ./' command should have created a bin/ directory
containing both mailman
and master
executable files and this
mailman
command is the one you should be running. It appears the
mailman
command you are running is
'/usr/local/opt/python@3.9/bin/mailman'. If that is in fact a symlink to
a different bin/mailman file, there should also be a symlink from
'/usr/local/opt/python@3.9/bin/master' to the existing bin/master or you
should adjust your path.
What do which -a mailman
and which -a master
show?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro writes:
Kartheek wrote: I am trying to setup postorius using this website -
I've used up all my bandwidth for now with the "can't send mail in Docker" thread, but FWIW Kartheek appears to be using Homebrew to manage third party packages on Mac, and in particular to install Python. I don't recall specifically with respect to Python, but I suspect that there's a "Homebrew system 'python'" (I know Homebrew does that with certain important programs that the Homebrew system depends on). That might very well confuse pip and other setup programs, since Homebrew likes to put stuff in places where you normally wouldn't find them to avoid conflicts (eg, multiple versions of Python). I can't be more specific about problems, and you'd hope that such stuff would "just work", but that might at least explain Mailman looking for stuff in "wrong places" (which might actually be right for Homebrew).
Steve
participants (3)
-
Kartheek Reddy Bondugula
-
Mark Sapiro
-
Stephen J. Turnbull