[Bug 430429] [NEW] socket file location doesn't support chroot'd postfix smtpd, which is default
Stephen Warren
swarren at wwwdotorg.org
Wed Sep 16 02:44:19 UTC 2009
Public bug reported:
Binary package hint: clamav
A default postfix install, at least on Jaunty, runs smtpd chroot'd.
/etc/clamav/clamav-milter.conf contains this by default:
MilterSocket /var/run/clamav/milter.ctl
Which is fine for non-chroot'd smtpd, but doesn't work for chroot'd
smtpd.
To solve this for the spamassassin milter, I did something like:
mkdir -p /var/spool/postfix/var/spool/postfix/spamass
ln /var/spool/postfix/spamass/spamass.sock spamass.sock
However, a similar workaround doesn't work for clamav-milter, because
the clamav socket is /var/run/clamav/milter.ctl, and /var/run is mounted
on tmpfs, whereas /var/spool/postfix/ is part of /, and hard-links can't
be made across filesystems,
Instead, I added this to fstab:
/var/run/clamav /var/spool/postfix/var/run/clamav none bind
0 0
It'd be nice if the clamav-milter package automated this fstab entry, or
provided some other automatic/default solution (or perhaps moved the
socket into /var/spool/postfix under some conditions, perhaps set by a
default-enabled option in clamav-milter.conf), so that clamav-milter
"just worked" out-of-the-box with default postfix configuration.
** Affects: clamav (Ubuntu)
Importance: Undecided
Status: New
--
socket file location doesn't support chroot'd postfix smtpd, which is default
https://bugs.launchpad.net/bugs/430429
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list