how to change my source address in sendmail??

Yang Xiao yxiao2004 at gmail.com
Wed Aug 4 17:37:49 UTC 2004


On Wed, 4 Aug 2004 18:29:55 +0100, James Wilkinson
<james at westexe.demon.co.uk> 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 at otheremail.com

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 at xxx root]# sendmail -bv root
postmaster... deliverable: mailer smtp, host mail.abc.com, user
postmaster at mail.abc.com


Yang





More information about the fedora-list mailing list