rmail-autodetect

rmail-autodetect is a compiled Lisp function in `rmail.el'.

(rmail-autodetect)

Determine the file name of the `movemail' program and return its flavor.
If `rmail-movemail-program' is non-nil, use it.
Otherwise, look for `movemail' in the directories in
`rmail-movemail-search-path', those in `exec-path', and `exec-directory'.