1

Topic: FreeBSD, how to upgrade packages?

======== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend: MySQL
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: FreeBSD 10
- Related log if you're reporting an issue:
====

For some items, the FreeBSD pkg upgrade seems to work fine.  But when upgrading Dovecot or Postfix, the upgrade does not include the build options, and it fails to work because MySQL support is missing.
How do I find the options used for these packages, and how should I fix it?  Use make such as:
make config
make install??

Thanks!

----

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

2

Re: FreeBSD, how to upgrade packages?

Ports build options are stored in /var/db/ports/. For example, options of '/usr/ports/mail/postfix' is defined in /var/db/ports/mail_postfix/options.

You can re-config it with below steps:

# cd /usr/ports/mail/postfix/
# make config

3

Re: FreeBSD, how to upgrade packages?

Thank you for your prompt reply!  After
# make config
# make install
I received a message that an older version is already installed, following the recommendation of:
# make deinstall
# make install
My mailserver is back up, and I can continue my migration!