Success! Below:

On Wed, Oct 16, 2024 at 10:52 AM Mark Sapiro <m...@msapiro.net> wrote:

> On 10/14/24 12:42, Greg Newby via Mailman-users wrote:
> >
> > Here are the corresponding logfile entries from mailmanweb.log:
> > smtplib.SMTPRecipientsRefused: {'redac...@gmail.com': (504, b'5.5.2
> <mail>:
> > Helo command rejected: need fully-qualified hostname')}
> >
> > and from mail.log:
> > Oct 14 12:06:26 domain postfix/smtpd[722764]: NOQUEUE: reject: RCPT from
> > localhost[127.0.0.1]: 504 5.5.2 <mail>: Helo command rejected: need
> > fully-qualified hostname; from=<r...@lists.domain.tld>
> to=<root@localhost>
> > proto=ESMTP helo=<mail>
> >
> > lists.domain.tld is the domain for Mailman3. I don't know why it's trying
> > to send email from root@.
>
>
> I think the mail.log entry is for the DSN for the failure. The issue is
> the HELO/EHLO command. Try the following in your venv
> ```
> (venv) ...:~$ python
> Python 3...
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import socket
>  >>> socket.getfqdn()
> ```
> If that returns `localhost`, that's the issue. I think you can fix it by
> putting a fully qualified domain name in /etc/hostname.
>
>
That was the answer. I had the short hostname, not the fully qualified
domain name.

Thank you! The logfile messages were pretty confusing since they did not
mention the hostname at all.

Postfix was not the problem, as you wrote separately.
  ~ Greg
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@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/RORH6U6QQIJ44WSCX22K4IRVHEERMCWG/

This message sent to arch...@mail-archive.com

Reply via email to