security/amavisd 1.0 problem

Scot W. Hetzel hetzelsw at
Tue Sep 9 18:20:23 PDT 2003

From: "Andrew Stuart" <elitetek at>
> It appears with the recent upgrade to 1.0, that amavisd is broken when
> you build with_milter. attached is the section of the configure error,
> anyone know how to fix this off hand?
> checking for libmilter/mfapi.h... yes
> checking for smfi_main in -lmilter... no
> configure: error: milter requested but not found
Your missing the libsm.a library, so you need to compile and install it by
doing the following:

cd /usr/src/lib/libsm
vi Makefile
    - change INTERNALLIB to NOPIC
make obj && make && make install

If your building this on -CURRENT, then you also need to add the following
to the amavisd/Makefile:


I have sent a pr with this fix today, see PR 56658.  It also changes the
startup scripts to use sysutils/rc_subr.


More information about the freebsd-ports mailing list