Michael Glenney: > > > > > -----Original Message----- > > From: Wietse Venema [mailto:wie...@porcupine.org] > > Sent: Tuesday, June 09, 2009 4:00 PM > > To: Michael Glenney > > Cc: postfix-us...@cloud9.net > > Subject: Re: Need to create a mail dead-end or "super" catch-all > > > > Michael Glenney: > > > > > > I have a request from one of our developers and I want to see if I > > can > > > fulfill it with Postfix. > > > > > > We have a services platform that has the ability to send out mail to > > > users. We have a QA version of that platform that has an old copy > of > > > user data for testing. For now the SMTP relay option of the QA > > server > > > is set to a non-existent host so that mail will not get sent to > > users. > > > They would like the ability to test the mail without worrying that a > > > mail will get sent to one of the users. > > > > > > I would like to setup a IMAP/SMTP server on the local host and > enable > > > the application to send to it. I need all mail, no matter who it is > > > addressed to, to be delivered to one account on the server that will > > be > > > accessed via IMAP. The server can never relay out. Any message > that > > > comes in on port 25 gets put in this mailbox. > > > > > > Is this something that can be done with Postfix? I don't need any > > hand > > > holding but a punt in the right direction would certainly be > helpful. > > > > /etc/postfix/main.cf: > > virtual_alias_maps = static:u...@example.com > > > > Wietse > > Ok. I lied. I need some hand-holding :) I guess I'm just a little > confused about how virtual aliases and domains work.
I told you to use a virtual alias MAP. I did not tell you to use a virtual alias DOMAIN. My example requires that you can already receive mail at u...@example.com. Never will Postfix create an account just because you send mail to it. See http://www.postfix.org/VIRTUAL_README.html if you really think that you must use a virtual domain. Wietse