rmail-auto-file

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

(rmail-auto-file)

Automatically move a message into another sfolder based on criteria.
This moves messages according to `rmail-automatic-folder-directives'.
It only does something in the folder that `rmail-file-name' specifies.
The function `rmail-show-message' calls this whenever it shows a message.
This leaves a message alone if it already has the `filed' attribute.