Re: [exim] redirecting root email

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Finch
Dátum:  
Címzett: Cere Davis
CC: exim-users
Tárgy: Re: [exim] redirecting root email
On Tue, 1 Mar 2005, Cere Davis wrote:
>
> I am running exim 4.44 on a debian sarge box and cannot for the life of me
> figure out how to redirect mail that goes to the root account to go to a
> non-root user. I have tried setting an alias in the /etc/aliases file,
> tried setting something in root's .forward file but nothing works. I try
> debugging the user routing with exim4 -bt but I have never been able to get
> root mail to do anything other than get sent out as root@$DOMAIN....which
> is NOT what I want. Any ideas? Would be happy to send more diagnostic
> information if I knew of any that would be helpful.


To or from? The latter part of your paragraph seems to be talking about
rewriting the From: information on messages from root, which disagrees
with the first sentence.

At Cambridge we require that users' computers don't send out email from
root@$primary_hostname (and we get upset if it goes to root@cam). The
recommended Exim configuration which does the necessary rewriting can be
found at: http://www.cus.cam.ac.uk/~fanf2/conf4.satellite

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}