Skip to content
Snippets Groups Projects
  1. Nov 24, 2020
  2. Nov 23, 2020
  3. Nov 22, 2020
  4. Nov 21, 2020
    • Rob Swindell's avatar
      Better FTN netmail gating support · efa8c523
      Rob Swindell authored
      Revert the previous change to the mailsrvr (don't try to parse the MS Outlook singled-quoted names in to/from header fields).
      
      Instead, use the new matchusername() to perform a liberal name match against the name portion of the destination email address and if it matches, go ahead and use the quoted-name field. Otherwise, use the name portion of the destination address as the TO field for the FTN netmail message.
      efa8c523
    • Rob Swindell's avatar
      Use a more-liberal username matching algorithm · 1717f75a
      Rob Swindell authored
      - Ignore all non-trailing non-alphanumeric characters when comparing a string against a user's name. Previously, spaces and dots and underscores were mostly-treated as equivalent and white-space was sometimes compressed for comparison purposes (if the user name contained both spaces and dots). This updated algo helps to insure that deliberate or accidental name collisions cannot be created but also aids usability (e.g. users can make some minor cosmetic adjustments to their user name and still be considered the "same user" for most comparison purposes).
      - Terminate the comparison string at an '@' (ignore everything after). This resolves the FAQ of why users can't login with "username@domain" and aides some other username/address matching algorithms (e.g. in the mailserver). '@'s are illegal characters for usernames already.
      
      Expose the new algorithm via new function matchusername().
      Use the algorithm in matchuser() and lookup_user().
      
      Unrelated: don't lower-case the 'localuser' part of email addresses in  usermailaddr() - cosmetic only.
      1717f75a
    • Rob Swindell's avatar
      The Received/trace header should contain the forward-path for "for" · ba920fb7
      Rob Swindell authored
      instead of the potentially-alias'd delivery address. The angle-brackets
      (now included) appear to be standards-compliant.
      ba920fb7
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Revert "A better check of a user's netmail-forwarding address." · ff3d163e
      Rob Swindell authored
      This reverts commit d4ceeba3.
      ff3d163e
    • Deucе's avatar
Loading