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

Remove Message If Bounce Detection Or Unsubscribe Fails #1418

Merged
merged 26 commits into from
Apr 16, 2024

Conversation

MiguelAHM
Copy link
Contributor

No description provided.

@MiguelAHM MiguelAHM marked this pull request as draft March 28, 2024 10:50
MiguelAHM and others added 16 commits April 9, 2024 17:06
…part or textplain message and doesn't meet the requirements
* feat: little refactor in mailGatewaySmtp

* feat: from can be different from whois-internal as well

* feat: from should be always from mail.smtp
* feat: move rao rpki validator common code from whois internal to whois

* feat: move code into common module, add component and service and return an error if optional property is empty

* feat: return null and add nullable annotation

* feat: put less roas

* Allow MimeMessageHelper as parameter in MailGatewaySmtp (#1420)

* feat: little refactor in mailGatewaySmtp

* feat: from can be different from whois-internal as well

* feat: from should be always from mail.smtp

* feat: fix a TODO typo and IT should work even if roas are not specified
* feat: move dummifier class to correct module

* feat: move roas.json to common
* Final-Recipient: RFC822 is case insensitive.

* There may also be a space separator
* _check_valid_notification_file

* refactor

---------

Co-authored-by: Ed Shryane <eshryane@ripe.net>
* remove_unused_code

* fix_tests
…e Same Email Address (#1417)

* feat: remove message after error and catch DuplicateKeyException

* feat: split the changes, just leave Catch in this PR

* feat: catch the exception by email, no for all the emails. Turn the warn into debug

* feat: put white space after try and before bracket

* feat: just loop once

* Added test to make sure the message doesn't get stuck

* Fix test (rs.next() behaves the same if there is a result row or not)

---------

Co-authored-by: Ed Shryane <eshryane@ripe.net>
@MiguelAHM MiguelAHM marked this pull request as ready for review April 10, 2024 07:33
@MiguelAHM MiguelAHM changed the title Remove Message If Bounce Detection Fails Remove Message If Bounce Detection Or Unsubscribe Fails Apr 10, 2024
… message fails, log as error when there is some unexpected error in the message
@MiguelAHM MiguelAHM merged commit 775c529 into master Apr 16, 2024
1 check passed
@MiguelAHM MiguelAHM deleted the DB-5300-remove-email-if-bounce-error branch April 16, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants