Giter Site home page Giter Site logo

qiqitori / reply_as_original_recipient Goto Github PK

View Code? Open in Web Editor NEW
18.0 4.0 10.0 32 KB

This Thunderbird extension automatically changes the "From" field in replies to whatever the original sender's email had in "To" or "CC", but only if exactly one email address from all "To" and "CC" headers matches a configurable pattern.

Home Page: https://blog.qiqitori.com/?p=194

License: Mozilla Public License 2.0

JavaScript 100.00%

reply_as_original_recipient's Introduction

Reply As Original Recipient

This Thunderbird extension automatically changes the "From" field in replies to whatever the original sender's email had in "To" or "CC", but only if exactly one email address from all "To" and "CC" headers matches a configurable pattern.

To pack these files into an extension ready to use in Thunderbird, zip everything up (you don't need the README.md or the LICENSE though) and change the .zip extension to .xpi. Example:

git clone https://github.com/qiqitori/reply_as_original_recipient.git
cd reply_as_original_recipient
zip -r ../reply_as_original_recipient.xpi *

To change the pattern for "To"/"CC" matching, go to Thunderbird's "about:config" dialog and edit the property extensions.replyasoriginalrecipient.patterns. Example patterns:

  • name+*@gmail.com
  • *@example.org
  • *+* (the default: email addresses containing a + are matched)
  • * (any email address is matched)
  • *@example.org,*+* (multiple patterns are separated by comma)

The patterns are matched case insensitive against the full recipient e.g. My Name [email protected] as well as the email (the part between < and >). Only * and , have special meaning in the patterns option. Blanks at the beginning and the end are ignored.

For more information, see https://blog.qiqitori.com/?p=194

reply_as_original_recipient's People

Contributors

mathisdt avatar qiqitori avatar gurthurb avatar

Stargazers

 avatar Sidharth Vinod avatar Louis Gagnon avatar  avatar Alexander Stehlik avatar Corben Dallas avatar Julius Bullinger avatar Armando Lüscher avatar  avatar  avatar kantorkel avatar JG avatar  avatar Jean avatar Jérôme Villafruela avatar Chris Jensen avatar Jan-Henrich Mattfeld avatar  avatar

Watchers

Louis Gagnon avatar  avatar  avatar  avatar

reply_as_original_recipient's Issues

Thunderbird default 'Reply from this identity' function

There is now a buildin function in thunderbird for this:
right click on mailbox, settings, at "Reply from this identity when delivery headers match" insert for example *@domain.com

Maybe it would be nice to mention in the README and archive this repository. As I also was looking for a working version of this plugin which is I found out is a default option in thunderbird these days.

should change account

In TB you can configure several accounts, that have email-addresses associated with each of them. The add-on reply_as_original_recipient does change the sender address correctly, but disregards the account to which a sender address belongs. This may lead to the situation that a mail get sent from the wrong SMTP server and fails SPF checks in succession.

The add-on should set the correct sending environment for a message by looking up the address that it sets as the sender address. It seems TB is not doing this on its own.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.