Adam Pribyl: > Hello, > > we were using postfix as mail server directly delivering email from and to > company without issues. Now we had to change the ISP and the new one > forces us to use his relay as "The next-hop destination of non-local > mail" - this means I only added a directive "relayhost" to our setup. > > With relayhost setup, when local user sends email to non-existant > domain, it just passes the email to relayhost even thou there is > smtpd_recipient_restrictions = reject_unknown_recipient_domain > > When I disable the relayhost, then postfix rejects the emails to > non-existant domain correctly. From a postfix doc it seems the relayhost
Then, you have made some configation error. What error? To report a problem see http://www.postfix.org/DEBUG_README.html#mail Thank you for using Postfix. Wietse