On Mon, March 4, 2019 5:29 am, James Brown wrote: > Postfix 3.4.0, using Dovecot for SASL authentication and MySQL. > > I have set: > > unknown_local_recipient_reject_code = 550 > > But when an email comes through to an unknown user, a 451 Temporary Lookup > Failure code is given, not a 550: > > 2019-03-04 15:52:00.949864+1100 localhost smtpd[25337]: connect from > localhost[127.0.0.1] > 2019-03-04 15:52:01.246686+1100 localhost smtpd[12280]: warning: connect > to mysql server 127.0.0.1: Access denied for user 'postfix'@'localhost' > (using password: YES)
I think Postfix is temp-rejecting in this case to give you a chance to fix this before the next sender retry attempt.
