summaryrefslogtreecommitdiff
path: root/security/antivir-milter/pkg-message
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2004-03-05 15:08:29 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2004-03-05 15:08:29 +0000
commit499270998dbeab13665a843a79b03d258f0d7daf (patch)
tree993545bef591ddb6840efaf0c96bc2d92ff2157e /security/antivir-milter/pkg-message
parentFix building without perl. (diff)
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
Notes
Notes: svn path=/head/; revision=103029
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