• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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=<test2@mydomain.fr>, 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 <user@domainuser.com>: Relay access denied; from=<test2-bounces@mydomain.fr> to=<user@domainuser.com> 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 <user@free.fr>: Relay access denied; from=<test2-bounces@mydomain.fr> to=<user@free.fr> 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 <user@orange.fr>: Relay access denied; from=<test2-bounces@mydomain.fr> to=<user@orange.fr> 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