Sandy Drobic wrote:
David C. Rankin wrote:
Marcin Floryan wrote:
On 22/01/2008, David C. Rankin <[EMAIL PROTECTED]> wrote:
Listmates, Sandy,
Where do I tell postfix to deliver mail for a user to
localhost and
deliver a copy to [EMAIL PROTECTED] 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: [EMAIL PROTECTED], \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.
Not necessarily. I would do this in virtual_alias_maps.
/etc/postfix/virtual:
[EMAIL PROTECTED] [EMAIL PROTECTED], [EMAIL PROTECTED]
Hmm. Sandy,
I am trying to implement the /etc/postfix/virtual solution you
suggested, but it doesn't seem to be working. Here is what I did.
(1) edit /etc/postfix/virtual, and added
me_at_rbpllc.com me_at_rbpllc.com, me_at_trinity.rbpllc.com
(2) postmap hash:/etc/postfix/virtual
(3) rcpostfix reload
(4) disabled the .procmailrc solution
(5) sent mail to me_at_rbpllc.com
Mail arrives at rbpllc.com and is delivered to rbpllc.com by NOT to
trinity.rbpllc.com? Can you offer any suggestions or point out where I
screwed up? It just goes to show I can screw up the simple ones...
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]