Hello Stephen,
I have to apologize for misspelling your name!
Sorry!
Regards Wolfgang
-----Ursprüngliche Nachricht----- Von: Wolfgang Bock via Mailman-users <mailman-users@mailman3.org> Gesendet: Montag, 6. April 2020 23:44 An: 'mailman-users' <mailman-users@mailman3.org> Betreff: [MM3-users] Re: Uncaught runner exception
Thank you Steven for your reply!
I Set smtp_server to port 25 and got a "Cannot connect ro SMTP Server on port 25", the former error message didn't show again.
As I see port 25 is reseved for postfix. So I have to fiddle out how mailman3 could also use this port for sending mails out. ....
Regards Wolfgang
-----Ursprüngliche Nachricht----- Von: Stephen J. Turnbull <turnbull.stephen.fw@u.tsukuba.ac.jp> Gesendet: Montag, 6. April 2020 14:56 An: Wolfgang Bock <mailinglisten@wbock.de> Cc: 'mailman-users' <mailman-users@mailman3.org> Betreff: [MM3-users] Uncaught runner exception
Wolfgang Bock via Mailman-users writes:
smtp_host: Tried with 127.0.0.1/localhost/server ip or FQDN=servername > smtp_port: (got a "cannot connect to SMTP Server on port 25") so I let this item empty ...
This is your problem. By default, it should be port 25. Apparently there is no fallback for this in case it's left empty. (I would guess if you commented it out, it *would* fall back to port 25.
Apr 06 00:03:26 2020 (31153) ACCEPT: <6a504834-123a-60f6-3a0e-494623b74523@mailbox.org> Apr 06 00:03:26 2020 (31156) Uncaught runner exception: invalid literal for > int() with base 10: ''
This is saying int() was called with the empty string as argument.
Apr 06 00:03:26 2020 (31156) Traceback (most recent call last):
[intermediate frames omitted]
File "/usr/lib/python3/dist-packages/mailman/mta/base.py", line 45, in __init__ config.mta.smtp_host, int(config.mta.smtp_port),
The call to int() in the line above is getting the empty value from the config file. Changing smtp_port to '25' (or the appropriate value) in the config file will prevent the "Uncaught runner exception".
If localhost's smptd is not listening on port 25, as the comment above seems to indicate, you either need to the server you use. There are some other, rarer and more complicated,
- find out the correct value if smptd is listening on a different port,
- enable that daemon if it's not running, or
- point smtp_host at a functioning outgoing mail server if localhost is not expected to be a mail server. In the latter two cases you also need to make sure smtp_port is correct for
possibilities, so if your answer is "none of the above", feel free to say so. But check those first, please.
Steve
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/
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/