> > 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
I set it up as a map as you specified. I apologize for using the word domain in my previous message. When I received the "User unknown in virtual alias table" I started researching that error. It led me to a string of other messages you were involved with http://www.irbs.net/internet/postfix/0511/1861.html. That led me down the virtual domains path. I always try to figure it out myself first before posting to the list. Let me reset: I have a linux box with Postfix on it. The Postfix install currently just forwards mail that is sent via the command line off to an internal SMTP relay that handles it from there. The Postfix install on this server doesn't receive mail for anyone currently. My devs have an app that is hosted on this server. The app has old "live" data on it that has email addresses of actual customers. Currently, within the app, they have the SMTP server set to some null value so that when they are testing (this box is in QA), they don't accidentally send an email to one of our customers as the live app does. It's a custom app and they would like the ability to allow it to send the emails so they can QA the formatting and content of those messages but not have the emails actually route to their intended recipient. I hope that makes sense. The "virtual_alias_map" setting seems to be exactly what I want. Every message I send from the command line, no matter who I address it to, get's redirected to the address I set for virtual_alias_map (from what I am seeing in /var/log/maillog). I just get the "User unknown" error. The goal is to have them change the SMTP server setting in their app from the null value to "localhost". Postfix is currently only listening to port 25 on 127.0.0.1. If mail gets sent from the app to any address, it's accepted by postfix on 127.0.0.1:25, postfix rewrites the "to" address to the address set by virtual_alias_maps, forwards it to the relay. MG This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.