Postfix Unknown Recipients Getting Greylisted

August 9th, 2007

My postfix logs were reporting that mail sent to non-existent was getting greylisted. I would expect this mail to get rejected right away, so I dug up the reason why it wasn't. Turns out I only had the virtual domains getting checked, not the mailboxes. So I added this line back in (I had commented it out for simplicity!):

virtual_mailbox_maps = mysql:/etc/postfix/

As explained in the docs, virtual_mailbox_maps is an optional setting:

Recipient address rejected: User unknown in virtual mailbox table;
Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022