Hi I have user who have domain and subdomain like subdomain.domain.ltd For both domain's cliet set entries MX in DNS
for first domain (domain.ltd) client create e-mail accont - thats ok for second (subdomain.domain.ltd) clinet dont create anty accunts and any aliases - Hi set only rekord mx for test client sent to the subdomain.domain.ltd many many e-mail and my MX send: 454 Relay access denied - beacuse user not create any accond/aliases/catchall - but only set rekord mx in dns And every time thats "query" ask my ldap. Not to ask the ldap server for an account What is a fastest method to block that recipient domain (because I would like it not to ask the ldap server for that account/domain ) smtpd_recipient_restrictions = hash:/etc/postfix/bad_recipients works fine but only for existsing or: virtual_mailbox_domains = /etc/postfix/bad, proxy:mysql:/etc/postfix/map.sql but I don't know if it's a good idea --