On 2024/07/25 20:50, Mark Sapiro wrote:
On 7/24/24 06:35, Roland Giesler via Mailman-users wrote:
I have managed thus far to get things working on my new install, but I need to use a secure logon to send mail from an external MTA. I have set up:
/etc/mailman/mailman.cfg:
smtp_host: box2.gtahardware.co.za smtp_port: 465 smtp_user: roland@giesler.za.net smtp_pass: <hidden> smtp_secure_mode: smtps smtp_verify_cert: no smtp_verify_hostname: no
This looks OK, but
I'll get a cert installed later, for now just want to get it going.
The
no
values for smtp_verify_cert and smtp_verify_hostname may be part of your issue.
After re-reading the documentation I realised that and changed it to "yes" for both since box2.gtahardware.co.za has valid certs.
...
"/usr/lib/python3/dist-packages/django/core/mail/backends/smtp.py", line 125, in _send self.connection.sendmail(from_email, recipients, message.as_bytes(linesep='\r\n')) File "/usr/lib/python3.10/smtplib.py", line 901, in sendmail raise SMTPRecipientsRefused(senderrs) smtplib.SMTPRecipientsRefused: {'roland@giesler.za.net': (454, b'4.7.1 <roland@giesler.za.net>: Relay access denied')}
However, the mailserver is in daily use and accept logon all the time. I believe I'm missing something that should be installed to make SMTPS (SSL) work, but what?
It is the mail server at box2.gtahardware.co.za that is refusing to relay this message. I think this issue needs to be resolved in that MTA's configuration.
Indeed that is so, but that box is in daily use by a few different users and they authenticate and send email without any problems. I'm checking out the link you shared in my other thread now.