1. 09 Jun, 2014 6 commits
    • Isis Lovecruft's avatar
      Remove superfluous normalizeEmail() call. · c20c6a86
      Isis Lovecruft authored
       * REMOVE second call to normalizeEmail() in
         EmailBasedDistributor.getBridgesForEmail(), and add note about where the
         checks are currently called.
       * ADD some extra logging when we receive imcoming requests from email
         addresses in the EMAIL_WHITELIST.
       * TODO check that incoming emails from addresses in EMAIL_WHITELIST have
         valid signatures made by the key with the corresponding GnuPG key
         fingerprint (as in EMAIL_WHITELIST, which is a mapping of addresses to
    • Isis Lovecruft's avatar
      Add whitelist attribute to bridgedb.Dist.EmailBasedDistributor. · 2795e102
      Isis Lovecruft authored
       * ADD bridgedb.Dist.EmailBasedDistributor.whitelist attribute which
         should hold the contents of the EMAIL_WHITELIST setting in
       * CHANGE createBridgeRings() function in bridgedb.Main module to use
         the new email distributor whitelist attribute, and pass it the
         settings from the parsed config file.
    • Isis Lovecruft's avatar
      Check for whitelisted email addresses before any more complicated parsing. · df2e0339
      Isis Lovecruft authored
       * CHANGE getMailTo() and runChecks() in
         b.e.autoresponder.SMTPAutoresponder to check for whitelisted
         addresses first, before any of the other checks.
    • Isis Lovecruft's avatar
    • Isis Lovecruft's avatar
      Make docstring for b.e.server.addServer clearer. · e8ffb425
      Isis Lovecruft authored
      Since there are technically two SMTP servers, be clearer that this
      function sets up the one which listens for incoming emails.
    • Isis Lovecruft's avatar
      Fix bug with weird '550 Sender not permitted' SMTP responses. · 09e333d6
      Isis Lovecruft authored
      When raising a `twisted.mail.smtp.SMTPBadSender`, we were giving it the
      origin's domain name as argument, which ended up with weird messages
      like '550 Cannot receive from specified address <example.com@localhost>:
      Sender not acceptable' being sent out. Apparently, SMTPBadSender want
      the whole origin object, not just the domain.
       * CHANGE raising of SMTPBadSender in
         b.e.server.SMTPIncomingDelivery.validateFrom() to use the whole
         origin object, not just the domain, as its argument.
  2. 07 Jun, 2014 4 commits
  3. 06 Jun, 2014 27 commits
  4. 05 Jun, 2014 3 commits