On 28 Jun 2018, at 15:35, dur...@mgtsciences.com wrote:

I have a LAN behind a firewall with port 25 forwarded to machine running
postfix.  That machine sends email on to
a Domino server. However, I am using a VM for testing and I cannot change
the forwarded port.  So I am doing it
all from the postfix machine. I use the command below to send an email to
an unknown user (from command line).
But it delivers it to Domino anyway.  I have only one user defined in
/etc/postfix/aliases file.  Do I have the right
configuration to reject unknown users?

No.

If not, what am I missing?

smtpd_recipient_restrictions and/or smtpd_relay_restrictions.

See the postconf(5) man page, the SMTPD_ACCESS_README file, and the ADDRESS_VERIFICATION_README file for the mechanisms available for determining whether a specific recipient address in a relay domain is valid. For your circumstance you probably need to use recipient verification but if Domino provides an LDAP interface that could also be an option.



Reply via email to