Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail.mc changes with 8.12.9 v. 8.12.6

Status
Not open for further replies.

datadan

IS-IT--Management
Jul 22, 2002
283
US
I want to upgrade my sendmail from 8.12.6 to 8.12.9.

Do I have to make any changes to my sendmail.mc file? Or can I just recompile using /.build?

Thanks,
 
What OS? Linux,hpnx/aix? Little diff from one to the other.

In linux I copy back all the original files into place then upgrade and then redit my files to what I need. Less trouble with the upgrade that way.
 
red hat 7.1.

Can I keep the same sendmail.mc and recompile from that, or do I need to rebuild my sendmail.mc?

Thanks,
 
I did on a 7.2 box and all was fine. I just upgraded to the new version with a RPM from like 8.8 to 8.12 so You should be able tofrom .6 to .9 without changing you old config files. It will just name the new ones rpm.new or something lik that.

I didn't recompile..didn't need to on the RH machine. Though you may have to if you have some libs not installed or some other RPM that colides with it.

You can also us up2date.. I use it one of my systems (since RH will let you have one for free) you just have to fill out a demo question every two months...they haven't spamed me yet, just notes about what I need. You can do a up2date -l to see what/if you need an update.

Hope this helps.
 
I goofed somewhere and need help.
Here is what I did (or at least what I think I did)

1) (tar zxvfp sendmail.8.12.9.tar.gz) in the /Src/ directory
2) cp /etc/mail/sendmail.mc ../Src/Sendmail-8.12.9/cf/cf/sendmail.mc
3)cd ../Src/Sendmail-8.12.9
4)./Build (Lots of code flashed by for ~5 minutes)
5) cd ../Src/Sendmail-8.12.9/cf/cf
6) vi sendmail.mc (make some changes)
7) sh ./Build sendmail.mc sendmail.cf (some code flashed by and whammo sendmail.cf generated).
8) cp sendmail.cf /etc/mail/sendmail.cf (yes to over wright)
9) /etc/rc.d/init.d/sendmail start (failures).
10) (back in the cf director)
11) rm sendmail.cf
12) rm submit.cf
13) cp sendmail.mc submit.mc
14) ./Build install
15) make install-cf (code flashes by)
16) sh ./Build sendmail.mc sendmail.cf
17) diff sendmail.cf submit.cf (the only difference is time stamp)
18) cp submit.cf /etc/mail/sendmail.cf
19) /etc/rc.d/init.d/sendmail start
/etc/mail/submit.cf: line 113: unknown configuration line "
Starting sendmail:" [ OK ]

It is working but two problems:
1) How the heck is it now looking at /etc/mail/submit.cf and not /etc/mail/sendmail.cf when submit.cf is not even in the /etc/mail/ directory?!!!!

2) I have an extra space of "empty" characters on line 113. How can I find out where these are coming from in my sendmail.mc file?

Thanks for your help!

 
One more:

I have also noticed my headers different:
They used to say:
(8.12.6/8.12.6/check_local-5) with SMTP id
They now say:
(8.12.6/8.12.9/check_local-5) with SMTP id

Shouldn't they both say 8.12.9?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top