Marcin Floryan wrote:
On 22/01/2008, David C. Rankin
wrote: Listmates, Sandy,
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.
I tend to use procmail in such case and setup a rule to forward the message to another address. This can easily be done by the user themselves in the local .procmailrc file.
Alternatively the .forward file in the user account can be used.
Another (and possibly the simplest option) is to define an alias in the /etc/aliases file adding a similar line
user: user@machine2.com, \user
Regards,
Thanks Marcin, The tough part was I wanted a 'copy' forwarded to another box, not just a plain forward. Procmail was the answer. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org