1

Topic: Updating FreeBSD ports

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

Hello Zhang & community,

I've recently migrated to iRedMail on FreeBSD and I'm very happy with it.

There is one question I can't find information about:
After installing iRedMail, how are the ports supposed to be kept updated?

For instance, jailaudit reports that the installed version of Apache is vulnerable. Personally I'm not worried since I'm using Nginx but in general what is the recommended procedure to update dependencies without breaking iRedMail?

I'm assuming 'pkg upgrade' is not a good choice since iRedMail probably compiles it's dependencies with options.

Best regards

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Updating FreeBSD ports

corv wrote:

After installing iRedMail, how are the ports supposed to be kept updated?

iRedMail just installs some ports/packages for you, after installation, it's a administration job left to you. So just use 'pkg' or other port management tool to keep ports up to date.

corv wrote:

I'm assuming 'pkg upgrade' is not a good choice since iRedMail probably compiles it's dependencies with options.

iRedMail just installs ports from official ports tree, except iRedAPD (/opt/iredapd) and iRedAdmin (/usr/local/www/iredadmin).

*) iRedAPD is a Python program, if you stay with Python 2.x, it should work.
*) iRedAdmin relies on Apache/mod_wsgi or Nginx/uwsgi.

Updating ports regularly should be fine for them.

3

Re: Updating FreeBSD ports

Thank you for the quick reply, that clears it up well.