On Mon, 10 May 2004, Matt Kettler wrote:
At 01:03 PM 5/10/2004, Jeff Ramsey wrote:
handle_user() -> unable to find user [alias]!
Since spamd has does a setuid to the username passed in on the command
line, all the aliases will have to exist as users in your passwd file,
otherwise it's impossible for it to setuid.
This sounds like a job for the spamd virtual user feature.
Unfortunately that means either making all your users go through that
feature, or finding a way to pass aliases to a second copy of spamd on
an
alternate port (so that you can run it with different options).
For example, we send all real users mail through
/usr/bin/spamd -d -A 127.0.0.1 -m 3
whereas all mailman mailing list aliases pass through
/usr/bin/spamd -d -L -p 7726 -u spamassassin -x -a -P \
--virtual-config-dir=/var/lib/spamassassin/%u.prefs -A 127.0.0.1 -m 3
However, this is managed for us by a mailman plugin; I don't know how
to
go about doing it for an arbitrary sendmail alias.