Topic: Closed: Cannot send emails to other domains with FORGED sender
Hello,
I am running iRedMail server v1.7.1 on debian 10 Buster.
This is running on MariaDB SQL server using apache server for web interface.
I am using SOGo as webmail interface.
I have deployed on a different site a Synology NAS server on which I use Pingvin Share to be able to share files internally.
To send emails using Pingvin Share, I have created the user 'noreply@mydomain.com' with which I can send and receive emails internally and externally without problems using the SOGo webmail.
When I wanted to use this user with Pingvin Share, I was firtly unable to use this user to login to my SMTP server as it was not using smtp authentication.
I have followed tutorial 'Allow some user to send email without smtp authentication' in the iRedMail document index to be able to connect the user to the mail server via Pingvin Share.
This part works successfully, I can send a test email or share a file on my local domain.
But, when I try to send shares to users on other domains, I get the SMTP error 554 5.7.1 Relay access denied.
The trace in the mail.log file is:
postfix/smtpd[2657]: connect from m-y-i-p.subs.proxad.net[m.y.i.p]
postfix/smtpd[2657]: discarding EHLO keywords: CHUNKING
postfix/smtpd[2657]: Anonymous TLS connection established from m-y-i-p.subs.proxad.net[m.y.i.p]: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
postfix/smtpd[2657]: discarding EHLO keywords: CHUNKING
postfix/smtpd[2657]: NOQUEUE: reject: RCPT from m-y-i-p.subs.proxad.net[m.y.i.p]: 554 5.7.1 <myemail@example.com>: Relay access denied; from=<noreply@mydomain.com> to=<myemail@example.com> proto=ESMTP helo=<[127.0.0.1]>
postfix/smtpd[2657]: lost connection after RCPT from m-y-i-p.subs.proxad.net[m.y.i.p]
Does someone have a clue on what I can do in my SMTP configuration to have this FORGED sender to be able to send emails to other domains without SMTP authentication ?
Thanks for your help,
Laurent
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.