> -----Original Message----- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of wen.yongzheng > Sent: Wednesday, 8 April 2009 1:04 PM > To: postfix-users@postfix.org > Subject: How to set catchall mailbox to /dev/null or remove at once? > > Hello everybody: > > I can set catchall mailbox in virtual_mailbox_map like this: > @domain.name domain.name/catchall/ > > But I really do not want to check or read the catchall mails, > The only thing I want to do is to remove all mails in > catchall maildir. I wonder if I can set my catchall mailbox > directly to /dev/null or remove at once. > > Can anybody help me ? Thanks. >
The usual requirement for a catch-all address is to "train" an antispam engine, or similar tasks. If you don't require a catch-all, then remove it. It also means you're not accepting mail for invalid addresses, which means that you should be able to employ some useful smtpd_recipient_restrictions and reduce your spam burden in general.