Topic: Iredmail relaying issue
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
We are using "0.9.7 MYSQL edition" and it is installed on Ubuntu OS. We are facing relay issue.
Setup Brief.
Firewall : Fortigate (LAN IP 192.168.0.100)
Server IP : 192.168.0.222
Here is the mail queue details :
*** ENVELOPE RECORDS active/9C9112307E82 ***
message_size: 2099 1881 20 0 2099 0
message_arrival_time: Sat Feb 12 21:28:00 2022
create_time: Sat Feb 12 21:28:00 2022
content_filter: smtp-amavis:[127.0.0.1]:10024
named_attribute: log_ident=9C9112307E82
named_attribute: rewrite_context=remote
sender: support@2talk.co.nz
named_attribute: log_client_name=unknown
named_attribute: log_client_address=192.168.0.100
named_attribute: log_client_port=29960
named_attribute: log_message_origin=unknown[192.168.0.100]
named_attribute: log_helo_name=[2.56.56.76]
named_attribute: log_protocol_name=ESMTP
named_attribute: client_name=unknown
named_attribute: reverse_client_name=unknown
named_attribute: client_address=192.168.0.100
named_attribute: client_port=29960
named_attribute: helo_name=[2.56.56.76]
named_attribute: protocol_name=ESMTP
named_attribute: client_address_type=2
named_attribute: dsn_orig_rcpt=rfc822;b737ng2@yahoo.com
original_recipient:
recipient: b737ng2@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;anh8516@yahoo.com
original_recipient:
recipient: anh8516@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;ajqk@yahoo.com
original_recipient:
recipient: ajqk@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;ami_tomake_bahlobashi@yahoo.com
original_recipient:
recipient: ami_tomake_bahlobashi@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;basse3a@yahoo.com
original_recipient:
recipient: basse3a@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;anh202001@yahoo.com
original_recipient:
recipient: anh202001@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;babymove@yahoo.com
original_recipient:
recipient: babymove@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;anhnguyenvnn@yahoo.com
original_recipient:
recipient: anhnguyenvnn@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;awake2nte@yahoo.com
original_recipient:
recipient: awake2nte@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;babym18@yahoo.com
original_recipient:
recipient: babym18@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;asurgers@yahoo.com
original_recipient:
recipient: asurgers@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;anhchuacobo84@yahoo.com
original_recipient:
recipient: anhchuacobo84@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;adato2985@yahoo.com
original_recipient:
recipient: adato2985@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;alboni@yahoo.com
original_recipient:
recipient: alboni@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;anvuongk9t2@yahoo.com
original_recipient:
recipient: anvuongk9t2@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;asad@yahoo.com
original_recipient:
recipient: asad@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;afontts@yahoo.com
original_recipient:
recipient: afontts@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;aircrow2@yahoo.com
original_recipient:
recipient: aircrow2@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;baldpate7@yahoo.com
original_recipient:
recipient: baldpate7@yahoo.com
named_attribute: dsn_orig_rcpt=rfc822;annguyen105@yahoo.com
original_recipient:
recipient: annguyen105@yahoo.com
*** MESSAGE CONTENTS active/9C9112307E82 ***
regular_text: Received: from [2.56.56.76] (unknown [192.168.0.100])
regular_text: by "Removed purposely" (Postfix) with ESMTP id 9C9112307E82;
regular_text: Sat, 12 Feb 2022 21:28:00 +0530 (IST)
regular_text: Content-Type: text/plain; charset="iso-8859-1"
regular_text: MIME-Version: 1.0
regular_text: Content-Transfer-Encoding: quoted-printable
regular_text: Content-Description: Mail message body
regular_text: Subject: Your Payment Reference Number (PRN): STBI/2022/-3433-9001
regular_text: To: Recipients <support@2talk.co.nz>
regular_text: From: "Mr. Elliott C. Harris" <support@2talk.co.nz>
regular_text: Date: Sat, 12 Feb 2022 07:58:34 -0800
regular_text: Reply-To: agnesbundy.financialadvisor@outlook.com
Since 192.168.0.100 is in mypermit network it is allowing mail to be relayed. How can we ensure only domain users can send mails with respective to submission. i.e. 587 and 25 is used for MTA to MTA transfer.
I have deleted 58k mails of such from queue and worried.
Best,
Jayen
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.