Package: amavisd-milter
Version: 1.5.0-5
Severity: minor

Dear Maintainer,

using /etc/default/amavisd-milter you can use i.e.

MILTERSOCKETOWNER="postfix:postfix"
MILTERSOCKETMODE="0660"

to set the permissions for the created socket file. If you want to use
this together with the default socket location (MILTERSOCKET not
explicitly set) those instructions will be silently ignored and the
socket file will be created using default values (755, amavis:amavis).
You have to set MILTERSOCKET to the default value to get those settings
working.

Maybe we can add a small hint to the comment section
at /etc/default/amavisd-milter?

Example:
"# Set these two options if you want the socket to have
# special permissions (usefull mainly for postfix).
# Additionally you have to uncomment MILTERSOCKET= in this file
# even if you want to use the default socket location"

Maybe this is a "special" use case but I think sooner or later somebody
else will stumble across this, too.

Best Regards
Ansgar


-- System Information:
Debian Release: 9.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages amavisd-milter depends on:
ii  amavisd-new     1:2.10.1-4
ii  libc6           2.24-11+deb9u1
ii  libmilter1.0.1  8.15.2-8

Versions of packages amavisd-milter recommends:
ii  postfix  3.1.6-0+deb9u1

amavisd-milter suggests no packages.

-- Configuration Files:
/etc/default/amavisd-milter changed:
MILTERSOCKET=/var/lib/amavis/amavisd-milter.sock
MILTERSOCKETOWNER="postfix:postfix"
MILTERSOCKETMODE="0660"


-- no debconf information

Reply via email to