authpam.c in courier-authdaemon for Courier Mail Server 0.37.3 through 0.52.1, when using pamtally, does not call the pamacct_mgmt function to verify that access should be granted, which allows attackers to authenticate to the server using accounts that have been disabled.