Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127562 - mail-filter/spampd should setup a spampd user and group
Summary: mail-filter/spampd should setup a spampd user and group
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-25 13:13 UTC by James Cloos
Modified: 2022-02-17 19:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Cloos 2006-03-25 13:13:08 UTC
spampd should add a spampd user and group, $HOME should likely be /var/lib/spampd and shell /bin/false.

cf debian's config:

http://packages.debian.org/testing/mail/spampd
Comment 1 Benny Pedersen 2013-03-29 18:27:15 UTC
it also needs openrc fixes, but it might be enough to resolve this bug here, current initrc does not work with default spampd run as mail, on shutdown "cant unlink spampd.pid"

but spampd still works with 3.3.2 spamassassin, needs testing with 3.4.x when its out in portage
Comment 2 Nick Soveiko 2022-02-17 19:11:30 UTC
(In reply to Benny Pedersen from comment #1)
> it also needs openrc fixes, but it might be enough to resolve this bug here,
> current initrc does not work with default spampd run as mail, on shutdown
> "cant unlink spampd.pid"

this is an easy fix, create /etc/tmpfiles.d/spampd.conf with one line as follows
--------------------------------
d /run/spampd 755 mail mail
--------------------------------

and adjust /etc/conf.d/spampd as
SPAMPD_OPTS="[...] --pid /run/spampd/spampd.pid"

albeit, this should probably be done by the ebuild