From: Nevin Kapur <nevin@jhu.edu>
Subject: Re: bbdb-search problem
Date: Tue, 03 Sep 2002 09:19:31 -0400 [thread overview]
Message-ID: <m31y8bfbx8.fsf@fermat.mts.jhu.edu> (raw)
In-Reply-To: <87n0qza5hr.fsf@pale.loc>
Alexander Kotelnikov <sacha@giotto.sj.ru> writes:
> I have a function, which checks if incoming mail is from someone who
> is in my ~/.bbdb:
[...]
> (if (bbdb-search (bbdb-records) nil nil who)
[...]
> And I got spam mail with From: that looks like
> From: "Bullseye Stock Profiles" <Dreply-[-recipid-_r-5495489-58@1ad7bd.net>
>
> and bbdb-search fails due to '[' presence in the address:
[...]
> Probably, addresses should be quotted to avoid troubles like this.
You can use regexp-quote in your function to make sure that the email
you are searching for gets quoted properly: change who to
(regexp-quote who) above.
-Nevin
prev parent reply other threads:[~2002-09-03 13:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-03 7:37 Alexander Kotelnikov
2002-09-03 13:19 ` Nevin Kapur [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m31y8bfbx8.fsf@fermat.mts.jhu.edu \
--to=nevin@jhu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).