[Mailman-Users] non_members script install issue

Lucio Crusca lucio at sulweb.org
Thu Nov 15 18:20:15 EST 2018


On 15/11/18 18:24, Mark Sapiro wrote:
> As it says in the script, "This script must run from Mailman's bin/
> directory."

Sure, but it doesn't say "This script must be INSTALLED in the Mailman's bin/ directory."

# cd /var/lib/mailman/bin
# which non_members
/usr/local/sbin/non_members
# ls | grep paths.py
paths.py
paths.pyc
# non_members
Traceback (most recent call last):
   File "/usr/local/sbin/non_members", line 63, in <module>
     import paths
ImportError: No module named paths


# mv /usr/local/sbin/non_members .
# ./non_members
Add or remove addresses to/from *_these_nonmembers
[...]


Thanks anyway, it now works.



More information about the Mailman-Users mailing list