If you have a version of sendmail with the user database package compiled in, the handling of sender and recipient addresses is modified.
The location of this database is controlled with the UserDatabaseSpec option.