NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: postfix overrides status code from 5.1.1 to 5.1.7?



On Sun, Jun 02, 2019 at 01:30:24AM +0530, Mayuresh wrote:
> the senders are outside allowable set with a code of 550 5.1.1
> 
> But the sender receives the code as 5.1.7.
> 
> I see the postfix log showing the following line:
> 
>   mapping DSN status 5.1.1 into Sender address status 5.1.7

There are some comments in the following source file, where the DSN
mapping logic is:
/usr/src/external/ibm-public/postfix/dist/src/smtpd/smtpd_dsn_fix.c

From the comments it's not clear to me why 5.1.1 is mapped to 5.1.7.
Request help in understanding this.

So why do I care about 5.1.1 vs 5.1.7:

I just want to give some sane error when rejecting a mail, that would not
irk the sending server.  (5.1.1 is sane as it says such user doesn't
exist, 5.1.7 is just a `reject' that makes sending server remark that the
receiving server isn't properly configured.)

Mayuresh


Home | Main Index | Thread Index | Old Index