If you run the newaliases command, it should rebuild the file /etc/aliases.db, based on the contents of the /etc/aliases file, fixing the posted error.
Regarding the GUI login issue, am I correct in understanding that it still works periodically? Do you see any error messages following the...