Topic: Allow or Accept RCPT with empty FROM=<> from specific host
======== Required information ====
- iRedMail version (check /etc/iredmail-release): v0.4.2
- Linux/BSD distribution name and version: CentOS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? N
- Related log if you're reporting an issue: Recipient address rejected: Policy rejection;
====
Hi,
Its been a 2 years I'm using iRedMail until somebody reported to me that they are not receiving a bounced email when they are using the other smtp server.
Our setup:
main mail server: mail.xxxx.co.nz
smtp server: smtp.sitexxxx.co.nz (for sending email only)
most of our outgoing emails are sent via smtp.sitexxxx.co.nz but we also send email via mail.xxxx.co.nz
however, when my users send an email via smtp.sitexxxx.co.nz, the bounce email are rejected by mail.xxxx.co.nz
how can allow all and any email from smtp.site.xxxx.co.nz and ensure it arrive in our inbox?
Sample logs:
Oct 20 08:24:33 mail postfix/smtpd[28471]: NOQUEUE: reject: RCPT from smtp.sitexxxx.co.nz[120.xxx.18.xx]: 554 5.7.1 <camilord@xxxx.co.nz>: Recipient address rejected: Policy rejection; from=<> to=<camilord@xxxx.co.nz> proto=ESMTP helo=<smtp.sitexxxx.co.nz>
according to:
5.2.9 Command Syntax: RFC-821 Section 4.1.2
The syntax shown in RFC-821 for the MAIL FROM: command omits the case of an empty path: "MAIL
FROM: <>" (see RFC-821 Page 15). An empty reverse path MUST be supported.
5.3.3 Reliable Mail Receipt
.......
If there is a delivery failure after acceptance of a message, the receiver-SMTP MUST formulate
and mail a notification message. This notification MUST be sent using a null ("<>") reverse
path in the envelope; see Section 3.6 of RFC-821. The recipient of this notification SHOULD be
the address from the envelope return path (or the Return-Path: line). However, if this address
is null ("<>"), the receiver-SMTP MUST NOT send a notification. If the address is an explicit
source route, it SHOULD be stripped down to its final hop.
PS: I did some search in the forum, but i am not sure what is the exact terms. Even my subject in this post doesn't make sense. Hehehe..
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.