Index: [Article Count Order] [Thread]

Date:  Fri, 29 Feb 2008 11:56:43 +0100
From:  "Florian Arzberger" <arzberger (at mark) maxxnet.de>
Subject:  [coba-e:12147] AW:  Re: AW:  disable remote mail for root user
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <12cd01c87ac1$c650a5b0$6302a8c0@x2>
In-Reply-To:  <200802290720.53576.bq (at mark) solarspeed.net>
References:  <0c1301c878cb$11efedd0$6302a8c0 (at mark) x2> <10a601c87a54$0ec4d000$6302a8c0 (at mark) x2> <200802290720.53576.bq (at mark) solarspeed.net>
X-Mail-Count: 12147

Michael Stauber <mailto:bq (at mark) solarspeed.net> schrieb am Freitag, 29. Februar
2008 07:21:

> Hi Florian,
> 
>>> what is the best way to disable remote mail to user root@sitename on
>>> a cbq system? i'd like to reject everything to root@whateversite
>>> that does not originate from localhost.
>> 
>> no ideas on this? ;)
> 
> If you want to automatically discard ALL messages to root, then edit
> /etc/mail/aliases and change ... 
> 
> # Person who should get root's mail
> root:           admin
> 
> ... to ...
> 
> # Person who should get root's mail
> root:           /dev/null
> 
> This is insofar more efficient as /etc/mail/aliases is rather static
> and doesn't get overwritten by the GUI. The only negative side effect
> that I see there is that those emails still get accepted and
> processed before they're being trash-binned, which may be
> undesireable.    
> 

but that would also discard local mail to user root, so i'll have to figure
out a spamassassin rule.