`gnus-extract-address-components'.
     (when (and (featurep 'xpm)
               (or (not (fboundp 'device-type)) (equal (device-type) 'x))
               (setq from (mail-fetch-field "from"))
-              (setq from (downcase (or (cadr (mail-extract-address-components
-                                              from))
+              (setq from (downcase (or (cadr
+                                        (funcall gnus-extract-address-components
+                                                 from))
                                        "")))
               (or (setq at-idx (string-match "@" from))
                   (setq at-idx (length from))))