Re: how to change my source address in sendmail??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 4 Aug 2004 18:29:55 +0100, James Wilkinson
<james@xxxxxxxxxxxxxxxxxxx> wrote:
> Robin Laing wrote:
> > It would be nice if there was a simple howto to accomplish the task of
> > getting log/error messages that normally go to root to go to a local
> > user.  For home users that have dynamic IP addresses and no FQDN for
> > their IP, this is a problem.
> 
> Actually, it would be nice if anaconda, when it first promted to create
> a user, asked whether that user should get root's mail, then did the
> necessary automatically.
> 
> Thoughts? Should I try a Request For Enhancements?
> 
> James.
> 
> --
hmm,
It is trivial if you just alias root account to another user account,
local or remote.

in the /etc/aliases file add at the bottum, i.e

root: postmaster

or even

root: my@xxxxxxxxxxxxxx

though I would not recommand this, but it's just this simple.

P.S remember to run the newaliases command so it can take effect,
also use
#/usr/sbin/sendmail -bv root 
to verify the aliase as well. output would look something like this

[root@xxx root]# sendmail -bv root
postmaster... deliverable: mailer smtp, host mail.abc.com, user
postmaster@xxxxxxxxxxxx


Yang



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux