I have been corresponding with a member of my family through
electronic mail.  Unfortunately, this causes problems with bbdb.  The
problem is that bbdb/rmail-update-record first checks the from name
against the user's name (in this case, mine), to see if the message
came from the user:

(if rmail-current-message
      (or (bbdb-message-cache-lookup rmail-current-message nil)
        (save-excursion
         (let ((from (mail-fetch-field "from"))
               name net)
          (if (or (null from)
here--->          (string-match (bbdb-user-mail-names)
                                (mail-strip-quoted-names from)))
              ;; if logged-in user sent this, use recipients.
              (setq from (or (mail-fetch-field "to") from)))
          (if from
              (bbdb-encache-message rmail-current-message
                (bbdb-annotate-message-sender from t
                  (or (bbdb-invoke-hook-for-value bbdb/mail-auto-create-p)
                      offer-to-create))))))))

Unfortunately, of course, my sibling's last name matches my own, and
thus bbdb is spoofed into thinking that the message to me is also FROM
me!

Has anyone else encountered this problem?  Any work-arounds?

R

Reply via email to