> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Jerry Geis
> Sent: Thursday, February 28, 2008 11:12 AM
> To: CentOS ML
> Subject: [CentOS] smtp mailer or SMART_HOST in sendmail.mc
>
>
> Is there a EASY way to change the SMART_HOST in sendmail.mc.
> Some command line that does it?

cd /etc/mail
sed -e '/SMART_HOST/s/dnl //' -e
's/smtp.old.provider/smtp.new.provider/' -i.bak sendmail.mc
make -C /etc/mail
/etc/init.d/sendmail restart

You'll likely need to change your authinfo also.

> Trying to explain to customers editor commands, etc... to
> edit this file, change the name, make and service sendmail restart
> is BIG for someone that doesnt know linux...

Don't really understand why you don't just ssh in and do it yourself.

Dan

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to