Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't Send Mail to Undeliverable Addresses #1404

Merged
merged 127 commits into from
Mar 13, 2024
Merged

Commits on Feb 22, 2024

  1. feat: create bounce email logic for a single email mail service. Rema…

    …ining: ITs, multiple email
    MiguelAHM committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    dfec012 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Configuration menu
    Copy the full SHA
    3e8e4d1 View commit details
    Browse the repository at this point in the history
  2. feat: fix tests

    MiguelAHM committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    5d344ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4bc689d View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    dc12349 View commit details
    Browse the repository at this point in the history
  2. feat: rename method

    MiguelAHM committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    a8bd410 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0be44b0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b84c720 View commit details
    Browse the repository at this point in the history
  5. Added TODOs

    eshryane committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    ef0bfd0 View commit details
    Browse the repository at this point in the history
  6. Renamed bounced_email_address to undeliverable_email to better de…

    …scribe its function (i.e. a mail *message* will bounce, and the undeliverable email address will be stored in this table)
    eshryane committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    74f3bd6 View commit details
    Browse the repository at this point in the history
  7. Renamed in_progress_mail to in_progress_message to distinguish ou…

    …tgoing mail message from email address ("mail" is ambiguous)
    eshryane committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    8c4045d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    07e1ccd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    901e200 View commit details
    Browse the repository at this point in the history
  10. Fix SQL

    eshryane committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    c976f61 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    acab52c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    585bc70 View commit details
    Browse the repository at this point in the history
  13. feat: fix unit tests

    MiguelAHM committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    d90bb0c View commit details
    Browse the repository at this point in the history
  14. Don't use a JavaMail Listener to detect send failures, instead set en…

    …velope reply and handle in MessageDequeue
    eshryane committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    88da56a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    2a0fe9c View commit details
    Browse the repository at this point in the history
  16. Tests

    eshryane committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    ffaa669 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e42d250 View commit details
    Browse the repository at this point in the history
  18. Added TODO

    eshryane committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    e841089 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Configuration menu
    Copy the full SHA
    a645234 View commit details
    Browse the repository at this point in the history
  2. The failure reply message-id has a different Message-Id than the outg…

    …oing message, and we need to find it
    eshryane committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    ee5bd46 View commit details
    Browse the repository at this point in the history
  3. Updated tests

    eshryane committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    8a73494 View commit details
    Browse the repository at this point in the history
  4. Add Nullable

    eshryane committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f770eb3 View commit details
    Browse the repository at this point in the history
  5. Add Nullable

    eshryane committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    5c991bc View commit details
    Browse the repository at this point in the history
  6. Remember to enable DSN

    eshryane committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    ed8cd4a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0b9bef4 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Configuration menu
    Copy the full SHA
    daebe52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ac2efb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e61d8d5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a16b762 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    320ae9c View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    c99be80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6db4747 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cba8578 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    de8df4f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e317d80 View commit details
    Browse the repository at this point in the history
  6. feat: merge master

    MiguelAHM committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    abefb3f View commit details
    Browse the repository at this point in the history
  7. 5 Configuration menu
    Copy the full SHA
    49ad7f8 View commit details
    Browse the repository at this point in the history
  8. feat: add ITs

    MiguelAHM committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    df73165 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a058569 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ab5e42c View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    31d9511 View commit details
    Browse the repository at this point in the history
  2. Don't create another MailGatewaySmtp instance in test method with Stu…

    …b class, instead use the same subject and test the argument.
    eshryane committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    96e5ef0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2212015 View commit details
    Browse the repository at this point in the history
  4. Don't throw an exception if it's expected (i.e. EmptyResultDataAccess…

    …Exception) as it's slow, instead detect whether there are any results.
    eshryane committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b00e64b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6c894ad View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ebc316f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ff73104 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2598de3 View commit details
    Browse the repository at this point in the history
  9. Use try-with-resources

    eshryane committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    b47f592 View commit details
    Browse the repository at this point in the history
  10. Fixed tests

    eshryane committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    d452e21 View commit details
    Browse the repository at this point in the history
  11. Simplified parsing code

    eshryane committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    752712d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6967322 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a6fbd19 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ab16434 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c067a5a View commit details
    Browse the repository at this point in the history
  16. Don't try to send mail

    eshryane committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    baec160 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    ff55419 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. Set message-id in mail headers properly (i.e. generate without angle-…

    …brackets and then add angle brackets in headers)
    eshryane committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    26abc63 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. 1 Configuration menu
    Copy the full SHA
    97dc61d View commit details
    Browse the repository at this point in the history
  2. Fixed permanent failure test messages (the recipient is supposed to b…

    …e *Whois*, i.e. the bounce is returned back to the sender, which is Whois)
    eshryane committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    64f3df4 View commit details
    Browse the repository at this point in the history
  3. feat: fix unit tests

    MiguelAHM committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    ad6df9f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0d9571c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    11c1fe9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3cd82c5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2ce51ab View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d820c99 View commit details
    Browse the repository at this point in the history
  9. feat: point to RC

    MiguelAHM committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    3bf1380 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. Configuration menu
    Copy the full SHA
    2200e8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b92049 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f9f683 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d73783 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7b493d4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    89947a8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    127ea2b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a765bb2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9de0299 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a48dd8f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ec53e92 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    eb2b53f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    047631e View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    810234e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    254833f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    948bc22 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    2a994a7 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    0228385 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    dcc991b View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    5539e6d View commit details
    Browse the repository at this point in the history
  21. Don't try to create a message-id but instead copy whatever is generat…

    …ed *after* the message is sent.
    eshryane committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    ab88bfc View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. feat: fix tests

    MiguelAHM committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    d92e4a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf98b27 View commit details
    Browse the repository at this point in the history
  3. feat: improve UT

    MiguelAHM committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    654a453 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f221a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f1516df View commit details
    Browse the repository at this point in the history
  6. feat: fix tests

    MiguelAHM committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    d342884 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8adea59 View commit details
    Browse the repository at this point in the history
  8. feat: rename method

    MiguelAHM committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    0f5c360 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    c091cc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b13b7e View commit details
    Browse the repository at this point in the history
  3. Remove unused property

    eshryane committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    a84ede3 View commit details
    Browse the repository at this point in the history
  4. Only set Unsubscribe headers if we're reading replies. Add mailto uns…

    …ubscribe. Added example unsubscribe replies.
    eshryane committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    c7a583b View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Fixed String.format

    eshryane committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    bbc8fd9 View commit details
    Browse the repository at this point in the history
  2. handle unsubscribe messages

    eshryane committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    01671b3 View commit details
    Browse the repository at this point in the history
  3. Fixed tests

    eshryane committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    426a0c8 View commit details
    Browse the repository at this point in the history
  4. Add logging

    eshryane committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    8483b1a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    37c17f6 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Configuration menu
    Copy the full SHA
    e903fa1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50d547f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    94802aa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2114fb6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    80a7880 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e9090c4 View commit details
    Browse the repository at this point in the history
  7. feat: rename dao methods

    MiguelAHM committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    63ff236 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3cb5f9b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d3d079f View commit details
    Browse the repository at this point in the history
  10. Merge branch 'DB-5195-avoid-bounced-emails' of github.com:RIPE-NCC/wh…

    …ois into DB-5195-avoid-bounced-emails
    eshryane committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    c9a5d13 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Configuration menu
    Copy the full SHA
    16d2c30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    79e7233 View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary TODO

    eshryane committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    f62aac9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    743f392 View commit details
    Browse the repository at this point in the history
  5. Align schema changes

    eshryane committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    54bf163 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3567e57 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Configuration menu
    Copy the full SHA
    3ac83ff View commit details
    Browse the repository at this point in the history
  2. Check base web URL ending (don't construct a URL with a double forwar…

    …d slash as it'll produce a 400 bad Request "Ambiguous URI empty segment" from Jetty)/
    eshryane committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    35386d8 View commit details
    Browse the repository at this point in the history