Index: [Article Count Order] [Thread]

Date:  Wed, 21 May 2008 19:08:48 +0100
From:  bluequartz (at mark) ozin.com
Subject:  [coba-e:13016] Re: Stop all external email to root
Sender:  bluequartz (at mark) ozin.com
To:  coba-e (at mark) bluequartz.org
Message-Id:  <VPOP31.5.0l.20080521190848.228.dcc.1.505a6688 (at mark) t1.tec1.net>
X-Mail-Count: 13016

Dan thanks. On the face of it that seems to work but I think it stops internal email too which means I will no longer get cron messages etc....


--- Dan Kriwitsky wrote:

Hmmm, I'm thinking you should be able, in the custom section of sendmail
access, to add:

To:root@[TAB]REJECT

-- 
Dan Kriwitsky


--- bluequartz (at mark) ozin.com wrote:

> Repeating a message I posted a few days back which has had no response.
> If anyone has any ideas I would be very grateful for the help.
> 
> I want to stop root (at mark) specificdomain.com making its way to root 
> Can I safely edit the file:
> 
> /etc/mail/virtusertable
> 
> And change the line:
> 
> root (at mark) www.specificdomain.com      root
> 
> to:
> 
> root (at mark) www.specificdomain.com      nobody
>  
> and then regenerate /etc/mail/virtusertable.db (however that is done)
> Or will the web GUI keep overwriting my changes?
> 
> If not the correct way then how can I do this properly please?
> 
> What I would ideally like to do it stop all external email to root and
> keep the internal email only.