• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved Mailman / can not send email

Erwan

Regular Pleskian
Server operating system version
AlmaLinux 8.7
Plesk version and microupdate number
Plesk Obsidian v18.0.52
Hi all,

We have a project that forces us to keep Mailman on a hosting.
Everything worked fine under Centos (Postfix).
We have migrated on AlmaLinux 8.7 and activate Mailman.
All is ok.
We only have the following problem: when a message must be sent to Mailman subscribers, they are all blocked in "Relay access denied"

May 24 21:59:34 wvp171 postfix/smtpd[1280025]: disconnect from smtp1-g21.free.fr[212.27.42.1] ehlo=2 starttls=1 mail=1 rcpt=1 data=1 quit=1 commands=7
May 24 21:59:34 wvp171 postfix/pipe[1280053]: 870DCAC03D6D: to=<[email protected]>, relay=mailman, delay=6.2, delays=6.1/0.01/0/0.09, dsn=2.0.0, status=sent (delivered via mailman service)
May 24 21:59:34 wvp171 postfix/qmgr[1268102]: 870DCAC03D6D: removed
May 24 21:59:35 wvp171 postfix/smtpd[1280020]: connect from localhost.localdomain[::1]
May 24 21:59:35 wvp171 postfix/smtpd[1280020]: NOQUEUE: reject: RCPT from localhost.localdomain[::1]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<localhost.localdomain>
May 24 21:59:35 wvp171 postfix/smtpd[1280025]: NOQUEUE: reject: RCPT from localhost.localdomain[::1]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<localhost.localdomain>
May 24 21:59:35 wvp171 postfix/smtpd[1280025]: NOQUEUE: reject: RCPT from localhost.localdomain[::1]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<localhost.localdomain>

Do you have an idea of the problem?
I've try # plesk repair mail but non effect.

Thank you for your help.
 
in the file /etc/postfix/main.cf:
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
Seems to be correct.

I've try to add:
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
but no effect.
 
One thing that comes to my mind is the Tools & Settings > Mail Server Settings > Whitelist. Entries for 127.0.0.1 and ::1/128 might be missing from there. Could that be the cause?
 
Back
Top