| the pop or imap server should be looking in /etc/shadow for the password, which passwd modifies. Now if this is cPanel server (which this server is running) you are trying to change the email password for, if it's not a site user, rather an email address which requires the full for username, you have to use cPanel to change it... cPanel has a addpop command but no change pass command, those passwords are encrypted in the /home/SITEUSER/etc/DOMAIN.TLD/shadow file
A user does not have to have shell login for it's username to be modified by passwd, the /etc/passwd file and would have something like /sbin/nologin for the shell setting for that user |