On Mon, Feb 06, 2017 at 05:37:27PM +0300, Süleyman Düzdaban wrote: > > Be specific, what type of domain is "mydomain": > > > > Please be very clear whether you're trying to reject mail *to* > > non-existent recipients, or *from* non-existent senders. I am > > assuming "recipients" for now based on the above. > > I mean virtual mailbox domain listed in $virtual_mailbox_domains. > > >> virtual_mailbox_domains = > >> proxy:mysql:$config_directory/maps/sql-vdomains.cf > > Any domains listed there? > > Yes. All of our domains (ankara.edu.tr, > agri.ankara.edu.tr,politics.ankara.edu.tr etc.) and "postmap -q > existent-domain proxy:mysql:$config_directory/maps/sql-vdomains.cf" > yields return value "virtual:" for the existent-domains and nothing for > the non-existent-domains.
For domains listed in virtual_mailbox_domains the Postfix smtpd(8) server rejects mail to addresses that are not listed in any of: recipient_canonical_maps canonical_maps virtual_alias_maps virtual_mailbox_maps Perhaps you have wildcard mappings in one of these. Based on your reported configuration, that would be virtual_alias_maps or virtual_mailbox_maps. Any output from: $ config_directory=$(postconf -hx config_directory) $ postmap -q @ankara.edu.tr mysql:$config_directory/maps/sql-valiases.cf $ postmap -q @ankara.edu.tr mysql:$config_directory/maps/sql-vmailboxes.cf -- Viktor.