I'm attempting to configure sendmail to relay outgoing mail to an internal smtp server. I found that the commented line in sendfile.mc that starts with 'dnl define(`SMART_HOST'... needed to be uncommented and a valid value inserted. No problem there, but when I attempt to 'make -C /etc/mail', I get
WARNING: 'sendmail.mc' is modified. Please install package sendmail-cf to update your configuration. make: Leaving directory `/etc/mail'
Researching further, it seems I need to install the 'sendmail-cf' package, which I can't seem to find with yum.
What piece of this puzzle am I missing?
TIA,
Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr. Fax: (254)741-5777 Waco, Texas 76701
_____________________________________________________ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at PrivacyAct@ailife.com.
which I can't seem to find with yum.
# yum list *sendmail* Loading "installonlyn" plugin Loading "priorities" plugin Setting up repositories rpmforge 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 1.5 MB 01:08 ################################################## 6006/6006 214 packages excluded due to repository priority protections Available Packages perl-Mail-Sendmail.noarch 0.79-1.2.el5.rf rpmforge perl-Sendmail-Milter.i386 0.18-1.el5.rf rpmforge sendmail.i386 8.13.8-2.el5 base sendmail-cf.i386 8.13.8-2.el5 base sendmail-devel.i386 8.13.8-2.el5 base sendmail-doc.i386 8.13.8-2.el5 base
Something wrong with your box :) jlc
Nope, found my problem after I pressed the "send" button. I found the package and all is (almost) well.
Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr. Fax: (254)741-5777 Waco, Texas 76701
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Joseph L. Casale Sent: Thursday, January 10, 2008 8:23 AM To: 'CentOS mailing list' Subject: [CentOS] RE: CentOS 5 & sendmail configuration
which I can't seem to find with yum.
# yum list *sendmail* Loading "installonlyn" plugin Loading "priorities" plugin Setting up repositories rpmforge 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 1.5 MB 01:08 ################################################## 6006/6006 214 packages excluded due to repository priority protections Available Packages perl-Mail-Sendmail.noarch 0.79-1.2.el5.rf rpmforge perl-Sendmail-Milter.i386 0.18-1.el5.rf rpmforge sendmail.i386 8.13.8-2.el5 base sendmail-cf.i386 8.13.8-2.el5 base sendmail-devel.i386 8.13.8-2.el5 base sendmail-doc.i386 8.13.8-2.el5 base
Something wrong with your box :) jlc _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
_____________________________________________________ This message contains information which is privileged and confidential and is solely for the use of the intended recipient. If you are not the intended recipient, be aware that any review, disclosure, copying, distribution, or use of the contents of this message is strictly prohibited. If you have received this in error, please destroy it immediately and notify us at PrivacyAct@ailife.com.
Frank M. Ramaekers wrote:
I'm attempting to configure sendmail to relay outgoing mail to an internal smtp server. I found that the commented line in sendfile.mc that starts with 'dnl define(`SMART_HOST'... needed to be uncommented and a valid value inserted. No problem there, but when I attempt to 'make -C /etc/mail', I get
I know you are not advised to edit sendmail.cf but you can edit non ruleset stuff without problems. Look for DS and append the name of the smarthost to DS. eg:
# "Smart" relay host (may be null) DSmail.domain.com
After that, you can go about sorting out your yum problem.