From: marcus-sup@bar-coded.net (Marcus Williams)
Subject: [sup-talk] questions about reply-from & before-edit hooks and accounts
Date: Tue, 06 Jan 2009 20:13:53 +0000 [thread overview]
Message-ID: <1231272504-sup-1247@tomsk> (raw)
In-Reply-To: <1231252310-sup-6112@audrey>
On 6.1.2009, marianne.promberger+sup-talk wrote:
> reply-from.rb:
>
> PersonManager.person_for case
> when message.recipient_email =~ /rubyforge/
> "my.name+sup-talk at gmail.com"
> end
> before-edit.rb:
>
> if header["To"] =~ /rubyforge/
> header["From"] = "Marianne <my.name+sup-talk at gmail.com>"
> end
[snip]
> Maybe I'm missing something, but ideally, I'd love to see something where I
> could define different accounts in the config.yaml, then have a way that works
> both for replying and for new mail to pick *all* settings of that account from
> config.yaml.
You might want to look through the archives for the regexen option - I
use it for this purpose (although it only solves your reply-to case).
Add something like
:regexen:
- my.name+.*@gmail.com
to your settings on an account (you can use regexes here and have more
than one if you want, but the one above will work in your case). This
allows sup to recognise your mail "aliases" and replies to incoming
mails addressed to these emails with the correct from address
automagically.
It wont help for mails you compose (ie "new" mails, not replies), but
it works well for replies.
HTH
Marcus
next prev parent reply other threads:[~2009-01-06 20:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-06 14:49 Marianne
2009-01-06 20:13 ` Marcus Williams [this message]
2009-01-14 18:34 ` Marianne
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=1231272504-sup-1247@tomsk \
--to=marcus-sup@bar-coded.net \
/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