Practically almost the updates for TPmail will be shipped as binary ready modules.
Therefore the package's modules updating will be enough simple. It is recommended only
temporarily to archive a working bases, and then restore them for a new version of module,
to avoid, for example, a lost of the base of dynamic white lists or blocking lists.
Give a step-by-step sequence to update the module milter-connect for FreeBSD 5.x.
# sh /etc/rc.d/sendmail stop
Stop the services of TPmail.
# sh /etc/rc.d/milter stop
# killall milter-agent milter-connect milter-quota
Make a sure that sendmail and TPmail had stopped.
# sockstat -l
# ps ax | grep -v grep| grep "\(sendmail\|milter\)"
Save a working bases for module.
# cd /var/spool; tar cf temp.tar milter-connect
Remove an old version of module.
# pkg_delete milter-connect-1.1
Install a new version of module.
# pkg_add milter-connect-1.1.tbz
Restore a working bases for module.
# cd /var/spool; tar xpf temp.tar
Start the services of TPmail.
# sh /etc/rc.d/milter start
Again start sendmail.
# sh /etc/rc.d/sendmail start
Check logs. If all is OK, then we made all right.