--On August 20, 2015 at 1:51:11 AM +0000 Viktor Dukhovni <[email protected]> wrote:

On Wed, Aug 19, 2015 at 06:11:09PM -0500, Paul Schmehl wrote:

After I got the server working properly again, I began sifting through
logs trying to see if there were any clues.  I found this in the
messages log: /var/log/messages:Aug 19 14:43:21 mail
postfix/pipe[17690]: fatal: get_service_attr: unknown username: filter

And still exists:

# grep filter /etc/passwd
filter:*:1004:1004:User &:/home/filter:/bin/sh

This is not the right test.  Try:

    $ getent passwd filter

That returns nothing. It does return the line for my account. So what would be the cause of that?


So why postfix thought the user didn't exist is a mystery, but that's why
the filter was no longer working.

Well, your nsswitch.conf might not use /etc/passwd for user lookups,
or some nsswitch module might not be installed, ...  If you're using
"db", you might need something like (example for Debian):

        # cd /var/lib/misc; make

# cat /etc/nsswitch.conf
#
# nsswitch.conf(5) - name service switch configuration file
# $FreeBSD: releng/10.2/etc/nsswitch.conf 224765 2011-08-10 20:52:02Z dougb $
#
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files

Paul Schmehl ([email protected])
Independent Researcher

Reply via email to