branch develop updated (e11868f8 -> c440a4f3)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from e11868f8 Do not display empty content (only whitespaces) new b0e29ab0 Analyse de Delivered-To en plus de Received pour les bcc new c440a4f3 Use docker with java 8 oracle The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit c440a4f366a645324cd9a053e3e46df2143224c2 Author: jcouteau <couteau@codelutin.com> Date: Mon Jan 20 17:37:48 2020 +0100 Use docker with java 8 oracle commit b0e29ab0569576b322e1f17976a206e608fae4d8 Author: jcouteau <couteau@codelutin.com> Date: Thu Dec 12 15:33:47 2019 +0100 Analyse de Delivered-To en plus de Received pour les bcc Summary of changes: .gitlab-ci.yml | 8 ++++---- .../java/com/franciaflex/faxtomail/web/job/MailFilterJob.java | 8 +++++++- 2 files changed, 11 insertions(+), 5 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit b0e29ab0569576b322e1f17976a206e608fae4d8 Author: jcouteau <couteau@codelutin.com> Date: Thu Dec 12 15:33:47 2019 +0100 Analyse de Delivered-To en plus de Received pour les bcc --- .../java/com/franciaflex/faxtomail/web/job/MailFilterJob.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java b/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java index e4f79fd9..4d733c37 100644 --- a/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java +++ b/faxtomail-ui-web/src/main/java/com/franciaflex/faxtomail/web/job/MailFilterJob.java @@ -252,7 +252,7 @@ public class MailFilterJob extends AbstractFaxToMailJob { } })); - // try to find the real recipient, in case it is in the bcc + // try to find the real recipient, in case it is in the bcc -> Check Received headers Enumeration allHeaders = message.getAllHeaders(); String regex = "^.*for<(.*)>.*$"; @@ -274,6 +274,12 @@ public class MailFilterJob extends AbstractFaxToMailJob { } } + // try to find the real recipient, in case it is in the bcc -> Check Delivered-To headers + String[] bcc = message.getHeader("Delivered-To"); + if (bcc != null) { + recipients.addAll(Arrays.asList(bcc)); + } + MailFilter filter = null; for (String recipient : recipients) { List<MailFilter> filters = mailFolderService.getFiltersForRecipient(recipient); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit c440a4f366a645324cd9a053e3e46df2143224c2 Author: jcouteau <couteau@codelutin.com> Date: Mon Jan 20 17:37:48 2020 +0100 Use docker with java 8 oracle --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cccf024e..e3ec98f5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: - sonar build:compile-only: - image: registry.nuiton.org/codelutin/dockerfiles:maven-release + image: registry.nuiton.org/codelutin/dockerfiles:maven-release-debian9-oracle8 stage: build when: manual script: @@ -12,7 +12,7 @@ build:compile-only: - rm * .git* -rf || true build:with-tests: - image: registry.nuiton.org/codelutin/dockerfiles:maven-release + image: registry.nuiton.org/codelutin/dockerfiles:maven-release-debian9-oracle8 stage: build script: - mvn clean package @@ -23,7 +23,7 @@ build:with-tests: - schedules check-releasable: - image: registry.nuiton.org/codelutin/dockerfiles:maven-release + image: registry.nuiton.org/codelutin/dockerfiles:maven-release-debian9-oracle8 stage: check-releasable script: - mvn clean verify -e -U -DperformRelease -Dredmine.skipGenerateChanges -Dmaven.javadoc.skip @@ -34,7 +34,7 @@ check-releasable: - schedules sonar_job: - image: registry.nuiton.org/codelutin/dockerfiles:maven-release + image: registry.nuiton.org/codelutin/dockerfiles:maven-release-debian9-oracle8 stage: sonar script: - export MAVEN_OPTS="-Xmx1024m" -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm