I recently upgraded our mail servers from FreeBSD 7.3 running postfix 2.8.7 to FreeBSD 8.3 running postfix 2.9.3. We have account information stored in mysql and are using libnns-mysql to access the information through the normal password routines.
After the upgrade, when a user does not exist I get an error looking up the passwd info: Nov 30 10:39:59 server postfix/local[50947]: warning: error looking up passwd info for user: Invalid argument Nov 30 10:39:59 server postfix/local[50947]: 6F8985082A: to=<user@domain>, orig_to=<alias@domain>, relay=local, delay=163222, delays=163222/0/0/0.04, dsn=4.0.0, status=deferred (user lookup error) Because it is a temporary error, it keeps trying over and over. In the case of aliases, the valid recipients get a copy each time it retries. Delivery to users that exist works fine. IMAP and POP work fine. All other system functions work fine. We've been using the libnss-mysql module for a very long time, over 5 years, and we've never had a problem before. Does anyone have suggestions on how to debug this? Thanks, Dan