Dear all,
I have to set up mailman3 in an environment where postfix uses virtual alias domains. This is described in https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.ht...
I don't understand, though, what I need to do to have mailman generate
$PREFIX/var/data/postfix_vmap
I have tried to follow the instructions at https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/model/docs/... with the purpose of setting an alias domain. However, things go sideways quickly:
from mailman.interfaces.domain import IDomainManager from zope.component import getUtility manager = getUtility(IDomainManager) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/mailman/venv/lib/python3.8/site-packages/zope/component/_api.py", line 165, in getUtility raise ComponentLookupError(interface, name) zope.interface.interfaces.ComponentLookupError: (<InterfaceClass mailman.interfaces.domain.IDomainManager>, '')
So, something is missing. But, being a complete python layman, I do not know what and how I fix it.
Can someone give me a headsup? That would be greatly appreciated!
Johannes