I am using sendmail, squirrelmail and dovecot imap combination.Now, i want the sendmail service to check username and password from a file defined by me, and not the default file for username and password check.

I think the change will be in dovecot settings.

Plz suggest me a solution.