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.