<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 31 March 2019 17:41 Jerry via dovecot <
<a href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a>> wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
On Thu, 28 Mar 2019 05:22:37 -0700, Patrick Mahan via dovecot stated:
</div>
<div>
<br>
</div>
<div>
>FreeBSD 11.2
</div>
<div>
>Postfix 3.3.2
</div>
<div>
>Dovecot 2.3.4
</div>
<div>
>
</div>
<div>
>I am trying to use dovecot lmtp with postfix to verify authentication
</div>
<div>
>of incoming email and to avoid being a spam relay (an issue I was
</div>
<div>
>having using sendmail as my MTA).
</div>
<div>
>
</div>
<div>
>I am getting the following log message in /var/log/maillog:
</div>
<div>
>
</div>
<div>
>Mar 30 20:31:38 ns postfix/smtpd[40373]: NOQUEUE: reject: RCPT from
</div>
<div>
>mail-eopbgr750091.outbound.protection.outlook.com[40.107.75.91]: 450
</div>
<div>
>4.1.1 <
<a href="mailto:mahan@mahan.org">mahan@mahan.org</a>>: Recipient address rejected: unverified
</div>
<div>
>address: host ns.mahan.org[private/dovecot-lmtp] said: 550 5.1.1
</div>
<div>
><
<a href="mailto:mahan@mahan.org">mahan@mahan.org</a>> User doesn't exist:
<a href="mailto:mahan@mahan.org">mahan@mahan.org</a> (in reply to
</div>
<div>
>RCPT TO command); from=<
<a href="mailto:pmahan@silver-peak.com">pmahan@silver-peak.com</a>> to=<
<a href="mailto:mahan@mahan.org">mahan@mahan.org</a>>
</div>
<div>
>proto=ESMTP helo=< NAM02-BL2-obe.outbound.protection.outlook.com>
</div>
<div>
>
</div>
<div>
>'mahan' does exist on ns.mahan.org. So I am confused to why lmtp is
</div>
<div>
>failing to find this username.
</div>
<div>
>
</div>
<div>
>Thanks,
</div>
<div>
>
</div>
<div>
>Patrick
</div>
<div>
>
</div>
<div>
<br>
</div>
<div>
You probably shuld be asking this on the Postfix forum. Have you read
</div>
<div>
<
<a href="http://www.postfix.org/ADDRESS_VERIFICATION_README.html>" rel="noopener" target="_blank" data-mce-href="http://www.postfix.org/ADDRESS_VERIFICATION_README.html">">http://www.postfix.org/ADDRESS_VERIFICATION_README.html></a>? You also
</div>
<div>
have "smtpd_reject_unlisted_recipient" options. You really need to post
</div>
<div>
the output of "postconf -nf" and perhaps "postconf -Mf".
</div>
<div>
<br>
</div>
<div>
--
</div>
<div>
Jerry
</div>
</blockquote>
<div>
<br>
</div>
<div>
I would try setting
</div>
<div>
<br>
</div>
<div>
auth_username_format=%Ln
</div>
<div>
<br>
</div>
<div>
as otherwise domain part is included in username lookup...
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>