Hi,

I'm sending an email with a valid address to an invalid one (i.e. the destination domain doesn't exist). The bounce message is rejected by the valid sender's mail server because the sender address is empty.

The question is why the sender is empty and how can be this solved?


Example:
Sender: address@valid.domain
Recipient: address@invalid.domain

Log:
postfix/bounce[18367]: 4FvShX4dlszNkGd: sender non-delivery notification: 4FvShn5kHhzNkbj

Log for 4FvShn5kHhzNkbj:
[...] 4FvShn5kHhzNkbj: to=<address@valid.domain>, relay=VALID.DEOMAIN, delay=88, delays=0/88/0.08/0.01, dsn=4.7.1, status=deferred (host VALID.DEOMAIN said: 453 4.7.1 <>: Sender address rejected: You are not authorized to send as <> (in reply to RCPT TO command))

Top rows of the queue file:
*** ENVELOPE RECORDS /var/spool/postfix/deferred/C/4FvShn5kHhzNkbj ***
message_size: 2450 287 1 0 2450 0
message_arrival_time: Tue Jun  1 10:15:21 2021
create_time: Tue Jun  1 10:15:21 2021
named_attribute: log_message_origin=local
named_attribute: trace_flags=0
sender:
named_attribute: dsn_orig_rcpt=rfc822;address@valid.domain
original_recipient: address@valid.domain
recipient: address@valid.domain
*** MESSAGE CONTENTS /var/spool/postfix/deferred/C/4FvShn5kHhzNkbj ***
Received: by mymailserver (Postfix)
        id 4FvShn5kHhzNkbj; Tue,  1 Jun 2021 10:15:21 +0000 (UTC)
Date: Tue,  1 Jun 2021 10:15:21 +0000 (UTC)
From: MAILER-DAEMON@mymailserver (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: address@valid.domain
Auto-Submitted: auto-replied




Thank you in advance,
Zsombor

Reply via email to