On Wednesday 23 January 2008 08:50:04 Sandy Drobic wrote: [...]
Listmates,
Where do I tell postfix to deliver mail for a user to localhost and deliver a copy to user@machine2.com? It has to be easy, -- I hope. [...]
Guys? Please have a look at the first quoted line. It was supposed to be "simple". Installing and maintaining additional unnecessary services, wenn one config line in an already running service is sufficient, seems horribly inefficient.
Sandy, Check out /etc/aliases. I have a server with a pseudo-user account called "articles" and a number of real users who want to receive mail addressed to articles@my.server.address. The following line in /etc/aliases makes postfix deliver a copy of any message to articles@my.server.address to the addresses user and all users in the include file: articles: :include:/etc/articles.users,\articles It isn't necessary to use the :include method. For example, joe: sam@another.host.org,joe@home.system.com,\joe would deliver one arriving message to two external addresses plus the local mailbox for joe. Jim Cunning -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org