RE: smtp mailer or SMART_HOST in sendmail.mc

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




> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx]On
> Behalf Of Jerry Geis
> Sent: Thursday, February 28, 2008 11:12 AM
> To: CentOS ML
> Subject:  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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux