On 25-Jan-10 06:38, Brad Lindsay wrote:
how does Letters know which email address you do want
to use
By looking at the headers of the message.
X-Original-To (if present) or the top-most Received header.
Received: from frida.dreamhost.com (frida.dreamhost.com [66.33.206.23])
by mail.covisp.net (Postfix) with ESMTP id 09490118AC4A
for <[email protected]>; Mon, 25 Jan 2010 06:38:45 -0700 (MST)
This would be great for me as I subscribe to some lists with a +address
(like kremels+listname) and it's a pain to have to manually add every
single + address, and then having to select it from the list of dozens
every single time you reply.
Assumign that Letters folds headers internally, it's a dead-simple regex
^X-Original-To: (.*)
or
^Received:.*by $SMTP_SERVER.*for <([^>]+)>
--
All Hell hadn't been let loose. It was merely Detritus. But from a few
feet away you couldn't tell the difference. --The Fifth Elephant
_______________________________________________
[email protected] mailing list
List help: http://lists.ranchero.com/listinfo.cgi/email-init-ranchero.com