Public bug reported: I use postfix (almost in its default configuration) + nscd to find local users (local_recipient_maps = proxy:unix:passwd.byname $alias_maps)
"sometimes" (really really randomly), nscd does not find a user which is correctly in /etc/{passwd,shadow} causing postfix to return "unknown user" Apr 4 07:03:20 fourier postfix/smtpd[15040]: NOQUEUE: reject: RCPT from aserver.ujf-grenoble.fr[xxx.xxx.xxx.xxx]: 450 4.1.1 <[EMAIL PROTECTED]>: Recipient address rej ected: User unknown in local recipient table; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP helo=<aserver.ujf-grenoble.fr> and : grep myuser /etc/{passwd,shadow} : /etc/passwd:myuserl:x:10106:20005:first last :/home/myuser:/bin/bash /etc/shadow:myuserl:x:13577:0:99999:7::: it's reallly random and can happen to any account, I have been tracking that down for a few weeks now (using unknown_local_recipient_reject_code = 450 in postfix to not actually lose mails) my nscd.conf is the default provided one my nsswitch.conf as well for the last few days, I stopped nscd (/etc/init.d/nscd stop) and had no single failure during this test yesterday evening I started nscd back, this morning I got a failure I use all latest packages of feisty [EMAIL PROTECTED]:/etc/postfix# uname -a Linux fourier 2.6.20-13-server #2 SMP Sun Mar 25 00:26:22 UTC 2007 i686 GNU/Linux I tried activating debug-log but the log itself is pretty useless because it does not log any timestamp ! how are we supposed to get a usefull trackback without timestamps in the log ? Cheers, Mik ** Affects: glibc (Ubuntu) Importance: Undecided Status: Unconfirmed -- nscd sometimes fails to find a user (causing lost mail) https://bugs.launchpad.net/bugs/102761 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs