TonyGroves
Programmer
I want to have all mail for "root" forwarded to "tony", and also have any mail for "tony" copied to an external address, so in /etc/aliases I have (inter alia):
[tt]
postmaster: root
root: tony
[/tt]
and in ~tony/.forward I have:
[tt]
tony
otheraddress@otherdomain.com
[/tt]
Now, mail for "root" does get forwarded correctly to "tony", and mail addressed directly to "tony" does get copied correctly to "otheraddress@otherdomain.com", but unfortunately mail for "root" does not get copied to "otheraddress@otherdomain.com". I have played around with various settings in those two files, but have not been able to get things working as desired. I don't use procmail, but there is a mailbox-delivery script which could be edited to suit, but I'd prefer to avoid that if possible. I'm running Postfix 2.1.5 on Debian 3.1.
Any ideas, anybody?
Thanks a lot.
[tt]
postmaster: root
root: tony
[/tt]
and in ~tony/.forward I have:
[tt]
tony
otheraddress@otherdomain.com
[/tt]
Now, mail for "root" does get forwarded correctly to "tony", and mail addressed directly to "tony" does get copied correctly to "otheraddress@otherdomain.com", but unfortunately mail for "root" does not get copied to "otheraddress@otherdomain.com". I have played around with various settings in those two files, but have not been able to get things working as desired. I don't use procmail, but there is a mailbox-delivery script which could be edited to suit, but I'd prefer to avoid that if possible. I'm running Postfix 2.1.5 on Debian 3.1.
Any ideas, anybody?
Thanks a lot.