implement the mail base lock file lookup