aboutsummaryrefslogtreecommitdiffstats
path: root/security/antivir-milter/pkg-message
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2004-03-05 23:08:29 +0800
committernetchild <netchild@FreeBSD.org>2004-03-05 23:08:29 +0800
commit86bd4930cc53c2f4bfdee5f518eebb32497be396 (patch)
tree260c934363563a7d3b0b4d11485de53b47555fd3 /security/antivir-milter/pkg-message
parentbd011afeda4e464c4101d6067e98bf354115dd94 (diff)
downloadfreebsd-ports-gnome-86bd4930cc53c2f4bfdee5f518eebb32497be396.tar.gz
freebsd-ports-gnome-86bd4930cc53c2f4bfdee5f518eebb32497be396.tar.zst
freebsd-ports-gnome-86bd4930cc53c2f4bfdee5f518eebb32497be396.zip
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' to: `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. [1] - Move the milter into the background when launching, this solves the problem with disappearing socket on boot. [2] - Update to 1.1-beta which fixes the "Bad file descriptor" problem. For a full list of chances see ChangeLog in the DOCSDIR. [3] Suggested by: ache@ [1], [3] Suggested by: Martin P. Hellwig <mhellwig@xs4all.nl> [2] Submitted by: maintainer
Diffstat (limited to 'security/antivir-milter/pkg-message')
-rw-r--r--security/antivir-milter/pkg-message4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/antivir-milter/pkg-message b/security/antivir-milter/pkg-message
index 00ae9ba7391c..a26af98efd24 100644
--- a/security/antivir-milter/pkg-message
+++ b/security/antivir-milter/pkg-message
@@ -5,7 +5,7 @@ your SENDMAIL_MC:
INPUT_MAIL_FILTER(
`antivir-milter',
- `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'
)dnl
Don't forget to rebuild sendmail.cf and to restart Sendmail afterwards.
@@ -18,7 +18,7 @@ For full functionality of AntiVir Milter you need to obtain a license
key from H+BEDV Datentechnik GmbH. To install it, execute the following
commands:
cp hbedv.key %%PREFIX%%/AntiVir/
-chown daemon:daemon %%PREFIX%%/AntiVir/hbedv.key
+chown root:smmsp %%PREFIX%%/AntiVir/hbedv.key
chmod 440 %%PREFIX%%/AntiVir/hbedv.key
A license key for private (individual, non-commercial) use can be applied