how to change my source address in sendmail??

Robin Laing Robin.Laing at drdc-rddc.gc.ca
Wed Aug 4 18:41:47 UTC 2004


Yang Xiao wrote:
> 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
> 
> 

I did aliases my mail but I cannot send it to my "real mail account", 
only to my local mail spool.  Now if I could get Mozilla to read my 
local mail instead of using Pine.

-- 
Robin Laing
Instrumentation Technologist   Voice: 1.403.544.4762
Military Engineering Section   FAX:   1.403.544.4704
Defence R&D Canada - Suffield  Email: Robin.Laing at DRDC-RDDC.gc.ca
PO Box 4000, Station Main      WWW:http://www.suffield.drdc-rddc.gc.ca
Medicine Hat, AB, T1A 8K6
Canada





More information about the fedora-list mailing list