maintainer-needed@gentoo.org checkpw checks password which is stored in a file in the Maildir directory. The file has read and write permissions to the user only. checkpw checks real user's password. For virtual users, vucheckpw is available http://checkpw.sourceforge.net/vucheckpw/