Index: [Article Count Order] [Thread]

Date:  Thu, 28 Feb 2008 21:55:52 -0600
From:  Larry Smith <lesmith (at mark) ecsis.net>
Subject:  [coba-e:12145] Re: AW:  disable remote mail for root user
To:  coba-e (at mark) bluequartz.org
Message-Id:  <200802282155.52587.lesmith (at mark) ecsis.net>
In-Reply-To:  <01f601c87a79$3f3ef060$6500a8c0@HPPAVILION>
References:  <0c1301c878cb$11efedd0$6302a8c0 (at mark) x2> <200802281853.58015.lesmith (at mark) ecsis.net> <01f601c87a79$3f3ef060$6500a8c0 (at mark) HPPAVILION>
X-Mail-Count: 12145

On Thu February 28 2008 20:17, Darrell D. Mobley wrote:
> > From: Larry Smith [mailto:lesmith (at mark) ecsis.net]
> > Sent: Thursday, February 28, 2008 7:54 PM
> > To: coba-e (at mark) bluequartz.org
> > Subject: [coba-e:12143] Re: AW: disable remote mail for root user
> >
> > On Thu February 28 2008 16:57, Zeffie wrote:
> > > well ..  you could run this everytime to change someting in the gui...
> > >
> > > perl -pi -e "s|root@|# root@|" /etc/mail/virtusertable
> > >
> > > and you it could be removed it for a gui handler somewhere I'm
> > > thinking, but not looking...
> > >
> > > --
> > > Zeffie...
> > > http://www.zeffie.com/
> > > Now I build it and You surf it!
> > > Cobalt RaQ Repairs, Development, and Maintenance.
> > > Home of the Worlds Largest Collection of RaQ Updates!
> > > Cobalt Spam Filter, Security, Firewall, Anti Virus Products.
> > > Yahoo: wwwZeffie ... Aim: wwZeffie ... Msn wwZeffie (at mark) hotmail.com ...
> > > US 734-446-0350 734-454-9117 US Toll Free 800-231-4459 UK 0208-150-6860
> > > ----- Original Message -----
> > > From: "Florian Arzberger" <arzberger (at mark) maxxnet.de>
> > > To: <coba-e (at mark) bluequartz.org>
> > > Sent: Thursday, February 28, 2008 4:51 PM
> > > Subject: [coba-e:12139] AW: disable remote mail for root user
> > >
> > > > Florian Arzberger <mailto:arzberger (at mark) maxxnet.de> schrieb am Dienstag,
> >
> > 26.
> >
> > > > Februar 2008 23:58:
> > > >> 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? ;)
> >
> > It is even easier than all that, you guys try to complicate things too
> > much.
> >
> > Just create an "alias" (outside the Cobalt/Bluequartz part) named
> > "discard"
> > the sends things to /dev/null.  Then create a .forward (through the GUI)
> > for
> > root or whatever account you want to "discard" mail for and direct it
> > to "discard".  Been doing this for years on various servers and it works
> > great...
> >
> > 1. Just _be_ _aware_ it does discard everything sent to that account....
> > 2. remember to run "newaliases" after you edit the alias file
> But, he wants to get normal system generated root messages, and doesn't
> want to get stuff people email to root (at mark) domain.tdl, i.e. spam.  If he does
> as you suggest, everything goes in the shitter.
>

Hmmm, ok, believe that most "system" generated messages go to
the "admin" account by default, which on most systems is aliased to
root.  Or make procmail your friend.

-- 
Larry Smith
lesmith (at mark) ecsis.net