At 3:24 PM -0500 12/21/00, Dave Robinson wrote:

>  Dec 21 16:00:19 mail qpopper[1113]: User JohnSmith not in passwd file
>  [pop_pass.c:886]

>  I changed certain text in the trace to protect the innocent. I checked my
>  \etc\passwd file and verified that JohnSmith existed. Does Qpopper use a
>  different passwd file?

Qpopper doesn't read the /etc/passwd file itself, it uses getpwnam() 
and friends.

The error you are getting means the getpwnam() call failed.  Usually 
this is because the user, as entered, does not exist.  If it's a case 
issue, you can use the 'downcase-user' config file or '-c' 
command-line option to force user names into lower case.  It might be 
some other problem, such as the system not having enough memory to 
allocate the structure, but this seems unlikely.

You might create a new, test user, and see if you can log in to 
Qpopper using that.  If you still have a problem, send the log 
snippet, and don't edit the user name at all.  (You said you changed 
the text in this case, so we can't see what was actually entered.)

When you check if the user is in the /etc/passwd and /etc/shadow 
files, be sure to grep on exactly what is in the log -- use 
copy-and-paste, don't retype.

Reply via email to