[pfx] Re: smtp code 450 and delivery to secondary MX

2023-04-18 Thread tom--- via Postfix-users
On 2023-04-18 12:49, Viktor Dukhovni via Postfix-users wrote: On Tue, Apr 18, 2023 at 10:35:22AM +0800, tom--- via Postfix-users wrote: So my question is, smtp code 450 will cause the sender to retry delivery to secondary MX? Yes, if the client is a legitimate MTA, less common with a

[pfx] Re: smtp code 450 and delivery to secondary MX

2023-04-18 Thread tom--- via Postfix-users
Note that reject_unknown_client_hostname is a very strict test that is likely to reject legit mail. Consider using reject_unknown_reverse_client_hostname instead. Do you know where I can set the action code 550 for this directive? Thanks.

[pfx] Re: smtp code 450 and delivery to secondary MX

2023-04-17 Thread Viktor Dukhovni via Postfix-users
On Tue, Apr 18, 2023 at 10:35:22AM +0800, tom--- via Postfix-users wrote: > So my question is, smtp code 450 will cause the sender to retry delivery > to secondary MX? Yes, if the client is a legitimate MTA, less common with a junk-sending botnet. Once you're confident your restriction

[pfx] Re: smtp code 450 and delivery to secondary MX

2023-04-17 Thread Noel Jones via Postfix-users
On 4/17/2023 9:35 PM, tom--- via Postfix-users wrote: When my main postfix rejected a message due to reject_unknown_client_hostname: Apr 18 10:27:12 mail postfix/smtpd[129429]: NOQUEUE: reject: RCPT from unknown[194.33.39.17]: 450 4.7.25 Client host rejected: cannot find your hostname,