On 2020-01-29 18:38 GMT, Wietse Venema wrote:
> Nick:
> >    local_transport = lmtp:unix:private/dovecot-lmtp
> >    local_recipient_maps = $real_recipients, $virtual_alias_maps

> >    550 5.1.1 <bogus-recipi...@acrasis.net>: Recipient address
> >      rejected: undeliverable address: host
> >      mail.acrasis.net[private/dovecot-lmtp] said: 550 5.1.1
> >      <bogus-recipi...@acrasis.net> User doesn't exist:
> >      bogus-recipi...@acrasis.net (in reply to RCPT TO command)
> 
> You have additional configuration beyond what you described above,
> namely, something that invokes reject_unverified_recipient.

Yes, in smtpd_recipient_restrictions.

> > This is dovecot, not postfix, giving the verdict on the validity of
> > 'bogus-recipient', yes?  If postfix has "a database that lists all the
> > known user names or addresses", why does postfix consult dovecot?
> 
> Because you configured Postfix to invoke reject_unverified_recipient.

On removing reject_unverified_recipient, the rejection changes to

  550 5.1.1 <bogus-recipi...@acrasis.net>: Recipient address
    rejected: User uknown

which I prefer, not that it's vital to me.  I confess I'm none too
clear now on the purpose of reject_unverified_recipient.  Is there any
reason I should keep it?

Thanks,
-- 
Nick

Reply via email to