|
|
|
|
|
|
| Author |
Message |
brent.bolin@gmail.com *nix forums addict
Joined: 21 Feb 2005
Posts: 83
|
Posted: Fri Jul 21, 2006 2:00 am Post subject:
Upgrade sendmail on 5.4-RELEASE-p7
|
|
|
Need to upgrade sendmail on 5.4-RELEASE-p7
cvsup to current or just patch ?
portupgrade -rR /usr/ports/mail/sendmail
Will this give me the current /usr/src/contrib/sendmail dir so
sendmail.cf can be built with m4 macro
Any input would be appreciated.
btb |
|
| Back to top |
|
 |
Dr. R. E. Hawkins *nix forums addict
Joined: 23 Jun 2006
Posts: 55
|
Posted: Fri Jul 21, 2006 4:15 am Post subject:
Re: Upgrade sendmail on 5.4-RELEASE-p7
|
|
|
On Thu, 20 Jul 2006 20:00:48 -0700, B...@gmail.com wrote:
| Quote: | Need to upgrade sendmail on 5.4-RELEASE-p7
cvsup to current or just patch ?
portupgrade -rR /usr/ports/mail/sendmail
Will this give me the current /usr/src/contrib/sendmail dir so
sendmail.cf can be built with m4 macro
|
This will install sendmail, anything that it depends up (R), and anything
that depends upon it (r).
However, anything in /usr/src comes from the base system, not the ports.
The base system uses sendmail 8.13.6, while the port has 8.13.7. I assume
that the port exists for those that chose options in make.conf that stop
sendmail from being built . . .
Anyway, unless you did that, you probably don't want the port. If you
installed the port *without* taking it out of the main system, expect
bad things to happen. In that case, do a "pkg_deinstall sendmail".
To rebuild sendmail, whether you had the package or not, you would
rebuild the system. See the handbook for the "make buildworld"
sequence, and don't forget to use mergemaster at the right point (but
run it with the -ai option, then run it again).
hawk |
|
| Back to top |
|
 |
brent.bolin@gmail.com *nix forums addict
Joined: 21 Feb 2005
Posts: 83
|
Posted: Fri Jul 21, 2006 12:16 pm Post subject:
Re: Upgrade sendmail on 5.4-RELEASE-p7
|
|
|
Dr. R. E. Hawkins wrote:
| Quote: | On Thu, 20 Jul 2006 20:00:48 -0700, B...@gmail.com wrote:
Need to upgrade sendmail on 5.4-RELEASE-p7
cvsup to current or just patch ?
portupgrade -rR /usr/ports/mail/sendmail
Will this give me the current /usr/src/contrib/sendmail dir so
sendmail.cf can be built with m4 macro
This will install sendmail, anything that it depends up (R), and anything
that depends upon it (r).
However, anything in /usr/src comes from the base system, not the ports.
The base system uses sendmail 8.13.6, while the port has 8.13.7. I assume
that the port exists for those that chose options in make.conf that stop
sendmail from being built . . .
Anyway, unless you did that, you probably don't want the port. If you
installed the port *without* taking it out of the main system, expect
bad things to happen. In that case, do a "pkg_deinstall sendmail".
To rebuild sendmail, whether you had the package or not, you would
rebuild the system. See the handbook for the "make buildworld"
sequence, and don't forget to use mergemaster at the right point (but
run it with the -ai option, then run it again).
hawk
|
Thanks for your reply. I really should upgrade the o/s from 5.4 to
current stable but don't know if the customer wants to do that.
The current sendail version is from the base systems (8.13.3). So your
saying if the upgraded sendmail version from the ports is installed
there will be problems?. Even if I point the startup to the new
version of sendmail assuming to be something like
/usr/local/sbin/sendmail . Do you think the sendmail.cf file of this
old version can be used with the old version sendmail.cf . No milter
or fancy stuff in the current sendmail.cf
Also currently NOT using the standard rc.conf startup for the base
system sendmail, using /usr/local/etc/rc.d/mta.sh that is used by
MailScanner
Or should I try to patch the current version of sendmail and rebuild
/usr/src/contrib/sendmail/src (all the sources are still there).
The whole point of this is PCI compliance. ScanAlert is complaining
about it.
If i do the port upgrade wonder if the -Rr options shouldn't be used.
Thanks |
|
| Back to top |
|
 |
Bill Vermillion *nix forums Guru Wannabe
Joined: 22 Feb 2005
Posts: 298
|
Posted: Fri Jul 21, 2006 12:55 pm Post subject:
Re: Upgrade sendmail on 5.4-RELEASE-p7
|
|
|
In article <pan.2006.07.21.04.15.22.981389@EARTHLINK.NET>,
Dr. R. E. Hawkins <dochawk@EARTHLINK.NET> wrote:
| Quote: | On Thu, 20 Jul 2006 20:00:48 -0700, B...@gmail.com wrote:
Need to upgrade sendmail on 5.4-RELEASE-p7
cvsup to current or just patch ?
portupgrade -rR /usr/ports/mail/sendmail
Will this give me the current /usr/src/contrib/sendmail dir so
sendmail.cf can be built with m4 macro
This will install sendmail, anything that it depends up (R), and anything
that depends upon it (r).
However, anything in /usr/src comes from the base system, not
the ports. The base system uses sendmail 8.13.6, while the port
has 8.13.7. I assume that the port exists for those that chose
options in make.conf that stop sendmail from being built . . .
|
Yuo really don't have to worry about that. I have a
/usr/sbin/sendmail on my system, but also have a
/usr/local/sbin/sendmail installed.
When you build sendmail from the ports it installs in
/usr/local/sbin/sendmail. You choose which version of sendmail to
run by editing the /etc/mail/mailer.conf. There is no problem with
having the orignal on the system and building the one from ports.
The mailer.conf file also lets you run other programs other than
sendmail, so that programs that call sendmail will use the MTA
you specify.
| Quote: | Anyway, unless you did that, you probably don't want the port. If you
installed the port *without* taking it out of the main system, expect
bad things to happen. In that case, do a "pkg_deinstall sendmail".
To rebuild sendmail, whether you had the package or not, you would
rebuild the system. See the handbook for the "make buildworld"
sequence, and don't forget to use mergemaster at the right point (but
run it with the -ai option, then run it again).
|
You don't have to rebuild the system just to upgrade your MTA.
After all this is not an MS system :-)
Bill
--
Bill Vermillion - bv @ wjv . com |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Nov 22, 2008 8:19 pm | All times are GMT
|
|
Mortgages | Payday Loan | Big Brother 9 | Myspace Codes | Credit Cards
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|