#42 amavis-ng+qmail+openbsd+clamav

closed
Hilko Bengen
None
5
2002-11-18
2002-10-03
Anonymous
No

I've a few questions.

I'm trying to install Amavis-NG (amavis-
ng_0.1.4.1.orig.tar ) on OpenBSD 3.0 with Q-Mail and
ClamAV.

First, my "install" program doesn't have a "-D",
which appears in the Makefile produced by the commands "perl
Makefile.pl" and "make install".

# Install Exim filter
script
install -D -m644 amavis-filter \

$(INSTALLSCRIPT)/../share/amavis/amavis-filter
# Install
magic cookie file
install -D -m644 magic.mime \

$(INSTALLSCRIPT)/../share/amavis/magic.mime
# Install
AMaViS main script
install -D -m755 amavis
$(INSTALLSCRIPT)/amavis
install -D -m4755 -omail -gmail
qmail-queue.amavis \ $(INSTALLSCRIPT)/../sbin/qmail-
queue.amavis
install -D -m755 amavis-milter/amavis-milter \

$(INSTALLSCRIPT)/../sbin/amavis-milter

So I re-wrote it
to encompass BSD's "install -D" funtionality, but I'm not sure I did it
right:

# Install Exim filter script
install -d
$(INSTALLSCRIPT)/../share/amavis
install -m644 amavis-
filter $(INSTALLSCRIPT)/../share/amavis/amavis-filter
#
Install magic cookie file
install -d
$(INSTALLSCRIPT)/../share/amavis
install -m644
magic.mime
$(INSTALLSCRIPT)/../share/amavis/magic.mime
# Install
AMaViS main script
install -d $(INSTALLSCRIPT)
install -
m755 amavis $(INSTALLSCRIPT)/amavis
install -d
$(INSTALLSCRIPT)/../sbind
install -m4755 -omail -gmail qmail-
queue.amavis $(INSTALLSCRIPT)/../sbind/qmail-
queue.amavis
install -d $(INSTALLSCRIPT)/../sbin
install -
m755 amavis-milter/amavis-milter
$(INSTALLSCRIPT)/../sbin/amavis-milter

And amavis-ng
doesn't work.

Aside from the above, what uid / gid should the
different program components have? Should it be the same as q-
mail's qmail-queue on my system or should it be a different uid / gid
set up specifically for amavis-ng?

Any assistance would be
appreciated.

--Robert

Discussion

  • Lars Hecking
    Lars Hecking
    2002-10-04

    • assigned_to: nobody --> bengen
     
  • Hilko Bengen
    Hilko Bengen
    2002-11-18

    • status: open --> closed
     
  • Hilko Bengen
    Hilko Bengen
    2002-11-18

    Logged In: YES
    user_id=58184

    Thanks for the comments on the install program. I will put
    this into CVS, to be included in the next version.

    The permissions for the qmail setup should be 4755 mail/mail.

    -Hilko