On Thu, 13 Jun 2002, Alfredo Cole wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> El Mié 12 Jun 2002 15:41, escribiste:
> > I need to forward all emails from my redhat 7.2 linux server to
> > another email server which will send email to the world.  Anyone
> > know how this can be accomplished?
> >
> > I'm still searching google and even bought the sendmail (orielly)
> > book.  I'd appreciate a heads up on how to do this.
> >
> > Thx
> 
> Change your sendmail.cf under
> 
> # Smart host
> DSyourrelayserver.com
> 
> Save the file and restart sendmail.
> 
I suggest you make the change to /etc/mail/sendmail.mc instead.  Then run
the M4 macro.  Making changes to the sendmail.mc file is a LOT easier than
trying to get them correct in the sendmail.cf file.  This change is pretty
simple but some of the sendmail rules are next to impossible to do without
the M4 macro.  If you ever need to make any other changes then they will
all be in one place.

Just add

define(`SMART_HOST', your_other_sendmail_system)dnl

then run the M4 macro per the instructions at the top of the sendmail.mc 
file and then do a

service sendmail restart


Gerry
-- 

"The lyfe so short, the craft so long to learne"  Chaucer



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to