On 6.1.2009, marianne.promberger+sup-talk wrote: > reply-from.rb: > > PersonManager.person_for case > when message.recipient_email =~ /rubyforge/ > "my.name+sup-t...@gmail.com" > end > before-edit.rb: > > if header["To"] =~ /rubyforge/ > header["From"] = "Marianne <my.name+sup-t...@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 _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk