HEADS-UP: When updating from a previous version you have to do the following
after deinstalling the old port:
# rm PREFIX/AntiVir/antivir
# rm PREFIX/AntiVir/antivir.vdf
# chown root:wheel PREFIX/AntiVir
# chown root:smmsp PREFIX/AntiVir/hbedv.key
In your SENDMAIL_MC change
`S=unix:PREFIX/AntiVir/avmilter.sock, F=T, T=S:10m;R:10m;E:5m'
`S=unix:/var/spool/avmilter/avmilter.sock, F=T, T=S:10m;R:10m;E:10m'
and rebuild sendmail.cf.
If /var/spool/avmilter exist you have to:
# chown -R smmsp:smmsp /var/spool/avmilter
If you are using a customized PREFIX/etc/avmilter.conf the port
won't remove it on deinstall and you have to manually change User
and Group to smmsp there.
Afterwards you can install the new version of this port. You then
should run antivirupdater to get a current VDF.
- Change ownership of the socket to user and group smmsp as expected by
sendmail. This involves running the milter as smmsp:smmsp, changing the
ownership of rest of the files and moving the socket to /var/spool/avmilter
but fixes the "local socket unsafe" problem. 
- Move the milter into the background when launching, this solves the problem
with disappearing socket on boot. 
- Update to 1.1-beta which fixes the "Bad file descriptor" problem. For
a full list of chances see ChangeLog in the DOCSDIR. 
Suggested by: ache@ , 
Suggested by: Martin P. Hellwig <email@example.com> 
Submitted by: maintainer