1

Topic: FreeBSD ports update

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: FreeBSD 9.
- Related log if you're reporting an issue:
====

Hello,
is running portupgrade -a (update all outdated ports) after fresh installation considered as a good practice?

When installing on FreeBSD, iRedMail fetches the port from release branch which is never updated. For example Postfix is installed in version 2.7 instead of current version 2.10.

Thanks.

2

Re: FreeBSD ports update

javon wrote:

When installing on FreeBSD, iRedMail fetches the port from release branch which is never updated.

It's mentioned in iRedMail installation tutorial, you should update your ports tree with "portsnap" before iRedMail installation, so that you're using the latest ports tree.

3 (edited by javon 2013-09-06 23:48:30)

Re: FreeBSD ports update

Hi,
thanks for reply.
I did that of course.

But I have found what made postfix-2.7.14 downloaded:

< INFO > Fetching all distfiles for port mail/postfix27 and dependencies

iRedMail.sh uses probably this port version.

4

Re: FreeBSD ports update

Oh, iRedMail picks up mail/postfix27 instead of newer versions. You can manually upgrade it to mail/postfix29 or newer.

5

Re: FreeBSD ports update

Synopsis
FreeBSD is under constant development between releases. Some people prefer to use the officially released versions, while others prefer to keep in sync with the latest developments. However, even official releases are often updated with security and other critical fixes. Regardless of the version used, FreeBSD provides all the necessary tools to keep the system updated, and allows for easy upgrades between versions. This chapter describes how to track the development system and the basic tools for keeping a FreeBSD system up-to-date.

After reading this chapter, you will know:

Which utilities are available to update the system and the Ports Collection.

How to keep a FreeBSD system up-to-date with freebsd-update, Subversion, or CTM.

How to compare the state of an installed system against a known pristine copy.

How to keep the installed documentation up-to-date with Subversion or documentation ports.

The difference between the two development branches: FreeBSD-STABLE and FreeBSD-CURRENT.

How to rebuild and reinstall the entire base system.

Before reading this chapter, you should:

Properly set up the network connection (Chapter 31, Advanced Networking).

Know how to install additional third-party software (Chapter 5, Installing Applications: Packages and Ports).