procmail
[Top] [All Lists]

Re: root acct question

1998-10-23 09:54:44
On Mon, 19 Oct 1998 angelica(_at_)austin(_dot_)ibm(_dot_)com wrote:

angeli>I've got procmail working on one account and now I'm
angeli>trying to set up root (on the same machine) to run
angeli>procmail as well.

Do you mean by means of a .forward file?

angeli>Unfortunately, this has been to no avail.  All mail seems
angeli>to go to /var/spool/mail/daemon, but it's obviously
angeli>addressed to root.

I'd suspect the existence of a system mail alias for root, which would
have precedence over a .forward file.  Assuming you run sendmail, you
could try something like

        /usr/sbin/sendmail -bv root

to see if this is the case.  (The effect could also be caused by
database maps, which the above wouldn't catch.)

This seems a little strange.  Usually the alias is the other way around,
e.g.,

MAILER-DAEMON:postmaster
daemon:postmaster
# You should change 'root' in the first line below to the administrator
# of this machine, and un-comment the following line.
postmaster:root
#root:postmaster

... if root and daemon are aliased together at all.

At any rate, the above may give you something to investigate.

Good luck,
-- 
      Rick Troxel      rick(_at_)helix(_dot_)nih(_dot_)gov     301/435-2983
/////////////////////////////////////////////////////////////////
All effort and exertion put forth by man from the fullness of his
heart is worship, if it  is prompted  by the  highest motives and
the will to do service to humanity.                 --Abdu'l-Baha

<Prev in Thread] Current Thread [Next in Thread>