mairix-get-mail-header-functions

mairix-get-mail-header-functions is a variable defined in `mairix.el'.
Its value is

((rmail mairix-rmail-fetch-field) (gnus mairix-gnus-fetch-field) (vm mairix-vm-fetch-field))

  • This variable may be risky if used as a file-local variable.

Documentation:
Specifies function for obtaining a header field from the current mail.
This is an alist where each entry consists of a symbol from
`mairix-mail-program' and the corresponding function for
obtaining a header field from the current displayed mail. The
function will be called with the mail header string as single
argument. You can use nil if you do not have such a function for
your mail program, but then searches based on the current mail
won't work.

You can customize this variable.