I am having a problem with bad email address listings so I am trying to implement the recipient address verification. Below are the relevant settings in my main.cf file. I notice though that although there are no errors in my log file, I can't find a verify_cache.db file anywhere. How do I know if recipient verification is working?
THanks so much for that tip. It works now. I moved it to above
permit_mynetworks and I can now see the db file. Thanks again.
On Fri, Nov 27, 2020 at 11:29 AM Wietse Venema <[hidden email]> wrote:
> Software Info:
> > Oh my apologies, I didn't realize. I ran that and got the same data
> > directory which is /var/db/postfix. Stumped as to why I am not seeing
> > the verify_cache.db file. Shouldn't I be?
> ONLY if you send mail in a waty thath triggers the
> reject_unverfified_recipient feature.
> 1) Send mail over SMTP instead of using /usr/sbin/sendmail.
> 2) Send mail from an IP address that does not trigger any of the
> features before reject_unverified_recipient. For example
> smtpd_recipient_restrictions =
> This will trigger reject_unverified_recipient ONLY if the client
> is outside "mynetworks".
> So you may want to move that reject_unverified_recipient thing,
> or test with a different SMTP client IP address, or use the
> Postfix XCLIENT feature to simulate a remote client.
> http://www.postfix.org/postconf.5.html#smtpd_authorized_xclient_hosts >