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
Please ignore my previous message! I understand, alias domains can be added through the web interface. (took me quite a while of searching...)
Johannes
Am 06.01.23 um 08:37 schrieb Johannes Rohr:
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
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to johannes@rohr.org
participants (1)
-
Johannes Rohr