Problems with mailman3 installation via bundler

Hello,
I already posted details from my experiences with mailman3 to users-lists where Mark Sapiro suggested that I should post my questions to dev-list instead.
So, long story short, I installed mailman3 via bundler and can access both postorius and hyperkitty via web browser. Additionally I can both join and leave the list, access help via email etc, so installation seems to be in order.
However, I'm in a situation where posts I send don't end up on mailing list and replies end up shunted. On the log file I get this:
Oct 01 22:03:21 2015 (12225) SHUNTING: 1443726201.2465158+c8d546daa806696842da9fd07724ed6738b30854 Oct 01 22:03:21 2015 (12225) Uncaught runner exception: Oct 01 22:03:21 2015 (12225) Traceback (most recent call last): File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/runner.py", line 165, in _one_iteration self._process_one_file(msg, msgdata) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/runner.py", line 258, in _process_one_file keepqueued = self._dispose(mlist, msg, msgdata) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/runners/incoming.py", line 63, in _dispose process(mlist, msg, msgdata, start_chain) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/chains.py", line 86, in process link.function(mlist, msg, msgdata) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/chains/hold.py", line 182, in _process autorespond_to_sender(mlist, msg.sender, language)): File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/chains/hold.py", line 83, in autorespond_to_sender address = user_manager.create_address(sender) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/database/transaction.py", line 92, in wrapper return function(args[0], config.db.store, *args[1:], **kws) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/model/usermanager.py", line 110, in create_address address = Address(email, display_name) File "<string>", line 4, in __init__ File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/sqlalchemy/orm/state.py", line 306, in _initialize_instance manager.dispatch.init_failure(self, args, kwargs) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__ compat.reraise(exc_type, exc_value, exc_tb) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/sqlalchemy/util/compat.py", line 182, in reraise raise value File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/sqlalchemy/orm/state.py", line 303, in _initialize_instance return manager.original_init(*mixed[1:], **kwargs) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/model/address.py", line 59, in __init__ getUtility(IEmailValidator).validate(email) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/email/validate.py", line 65, in validate raise InvalidEmailAddressError(email) mailman.interfaces.address.InvalidEmailAddressError
On validate.py I added logging to see what seems to be the problem with address, to validate-function:
from distutils import log log.error("Validating address -> " + email) if not self.is_valid(email): ...
It appears that variable email is empty at that point, for some reason. I tried to search the problem via google but came up empty. At this point I'd be willing to say that I have encountered a bug, but I'm not competent enough with python to actually verify the situation.
-- Take

On 10/01/2015 10:20 PM, Take wrote:
On validate.py I added logging to see what seems to be the problem with address, to validate-function:
from distutils import log log.error("Validating address -> " + email) if not self.is_valid(email): ...
It appears that variable email is empty at that point, for some reason.
This is somewhat strange. I tried to dig deeper and learn from the system, so I just assigned valid address to email variable just to see what would happen.
Shunted messages were bounced messages from postfix, caused by misconfiguration and loop in mail transport, but that's not the strange part. What's strange that I still have one shunted message and log suggests encoding issues:
Oct 02 00:42:38 2015 (16593) Traceback (most recent call last): File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/runner.py", line 165, in _one_iteration self._process_one_file(msg, msgdata) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/core/runner.py", line 258, in _process_one_file keepqueued = self._dispose(mlist, msg, msgdata) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/runners/outgoing.py", line 97, in _dispose self._func(mlist, msg, msgdata) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/mta/deliver.py", line 90, in deliver refused = agent.deliver(mlist, msg, msgdata) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/mta/bulk.py", line 105, in deliver mlist, msg, msgdata, recipients) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/mta/base.py", line 73, in _deliver_to_recipients sender, recipients, msg.as_string()) File "/home/mailman/mailman-bundler/venv-3.4/lib/python3.4/site-packages/mailman/mta/connection.py", line 87, in sendmail results = self._connection.sendmail(envsender, recipients, msgtext) File "/usr/lib/python3.4/smtplib.py", line 765, in sendmail msg = _fix_eols(msg).encode('ascii') UnicodeEncodeError: 'ascii' codec can't encode character '\xe4' in position 1460: ordinal not in range(128) Oct 02 00:42:38 2015 (16593) SHUNTING: 1443735758.2455976+005fdccae22be4461400beae5aa37465af396554
Somehow I'd expect that those were thing of the past, but apparently they aren't. There's some mentions about similar problems on smtp-libraries with python on the internet, but, as mentioned, I'm not that good with python that I could say anything certain.
-- Take
participants (1)
-
Take