Reject non-existent users in Postfix with Maildrop

view full story

http://serverfault.com – I use Postfix with virtual mailbox and Maildrop for the transport agent. All my emails are delivered to the folder /home/vmail/domain.tld/user/. Today I noticed that emails sent to non-existent addresses are delivered to the file /home/vmail/domain.tld/user. I would rather have them rejected by the server with an error message to the sender. I think it is responsible to the /etc/postfix/maildroprc file that contains the rules DEFAULT="/home/vmail/$1/$2" The file /etc/postfix/main.cfg virtual_mailbox_base = /home/vmail virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_alias_maps = ha (HowTos)