[sup-talk] questions about reply-from & before-edit hooks and accounts
marcus-sup at bar-coded.net
Tue Jan 6 15:13:53 EST 2009
On 6.1.2009, marianne.promberger+sup-talk wrote:
> PersonManager.person_for case
> when message.recipient_email =~ /rubyforge/
> "my.name+sup-talk at gmail.com"
> if header["To"] =~ /rubyforge/
> header["From"] = "Marianne <my.name+sup-talk at gmail.com>"
> 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
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
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
It wont help for mails you compose (ie "new" mails, not replies), but
it works well for replies.
More information about the sup-talk