On 12/31/21 5:37 PM, David Newman wrote:
After stripping this down to the defaults:
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost' EMAIL_PORT = 25
and restarting mailman3 (necessary?)
No
and mailmanweb, the system emails me (as alias for root) an error like the one pasted below after I try creating a new user account.
After changing EMAIL_HOST to the system's canonical FQDN and again restarting mailman3 and mailmanweb, the error is the same, and still from postorius@localhost.
localhost is better. If you set it to the system's canonical FQDN you need to ensure that that name or IP is in Postfix mynetworks.
...
Internal Server Error: /accounts/signup/
SMTPRecipientsRefused at /accounts/signup/ {'newuser@dom1.tld': (504, b'5.5.2 <postorius@localhost>: Sender address rejected: need fully-qualified address')} ... Settings: Using settings module settings ... DEFAULT_FROM_EMAIL = 'postorius@localhost'
Try setting this to a fully qualified address, e.g., something@networktest.com, not @localhost.
More info at https://docs.mailman3.org/en/latest/config-web.html#setting-up-email
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan