rmail is not supported in XEmacs, please consider using a supported mailer like VM or Gnus.