Msd skrev den 2017-09-14 17:52:
Is it possible to prevent local delivery for unix accounts below 1000 (system accounts)?
yes, remove non desired system accounts from local_recipient_maps, or remove public domains from mydestination, if you still want some public domains to recive mail to system accounts use virtual_alias maps to system account mailbox
My problem is that spammers trie to deliver mails to system accounts like "www-data" with a usurped sender envelope and postfix bounces to the usurped address : the mailbox directory cannot be created.
why do you possible accept non fqdn emails ? are you sure its not localhost ip as sender ? logs