Re: Setting up DKIM validation
Did you try this: https://github.com/apache/james-project/blob/c94d134ae8bba116e34f664a873a880c56462d72/server/mailet/dkim/src/main/java/org/apache/james/jdkim/mailets/DKIMVerify.java#L40 ? We welcome any further documentation on the topic... -- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Jul 7, 2023 9:21 AM, from Scoopta The james website has information on configuring DKIM signing of messages as well as SPF validation but it seems to be lacking information about DKIM validation for inbound mail. Has anyone configured this and could they point me in the right direction? - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org
Re: Setting up DKIM validation
I'm not very familiar with spring. I think I configured the actual DKIM verifier correctly but I get No qualifying bean of type 'org.apache.james.jdkim.api.PublicKeyRecordRetriever' I'm thinking I need to register the DNSPublicKeyRecordRetriever bean from jdkim but I don't really know how to? On 7/6/23 20:42, Benoit TELLIER wrote: Did you try this: https://github.com/apache/james-project/blob/c94d134ae8bba116e34f664a873a880c56462d72/server/mailet/dkim/src/main/java/org/apache/james/jdkim/mailets/DKIMVerify.java#L40 ? We welcome any further documentation on the topic... -- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Jul 7, 2023 9:21 AM, from Scoopta The james website has information on configuring DKIM signing of messages as well as SPF validation but it seems to be lacking information about DKIM validation for inbound mail. Has anyone configured this and could they point me in the right direction? - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org
Re: Setting up DKIM validation
For Spring it seems it was never set up. With guice you can register an extension module for JDKIM: org.apache.james.modules.server.DKIMMailetModule cf https://james.staged.apache.org/james-distributed-app/3.8.0/configure/extensions.html Very likely similar binding needs to be done in server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml Do you think you could try to do such a contribution?-- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Jul 7, 2023 12:07 PM, from Scoopta I'm not very familiar with spring. I think I configured the actual DKIM verifier correctly but I get No qualifying bean of type 'org.apache.james.jdkim.api.PublicKeyRecordRetriever' I'm thinking I need to register the DNSPublicKeyRecordRetriever bean from jdkim but I don't really know how to? On 7/6/23 20:42, Benoit TELLIER wrote: > Did you try this: > https://github.com/apache/james-project/blob/c94d134ae8bba116e34f664a873a880c56462d72/server/mailet/dkim/src/main/java/org/apache/james/jdkim/mailets/DKIMVerify.java#L40 > ? > > We welcome any further documentation on the topic... > > -- > > > Best regards, > > > > Benoit TELLIER > > > > General manager of Linagora VIETNAM. > > Product owner for Team-Mail product. > > Chairman of the Apache James project. > > > > Mail: btell...@linagora.com > > Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) > > > On Jul 7, 2023 9:21 AM, from Scoopta The james website has information on > configuring DKIM signing of > messages as well as SPF validation but it seems to be lacking > information about DKIM validation for inbound mail. Has anyone > configured this and could they point me in the right direction? > > > - > To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org > For additional commands, e-mail: server-user-h...@james.apache.org > > > - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org
Re: Setting up DKIM validation
I'll certainly take a look and try, I am a java developer...just never done much with spring, james or any of this type of development...but I'll see if I can figure it out. On 7/6/23 22:12, Benoit TELLIER wrote: For Spring it seems it was never set up. With guice you can register an extension module for JDKIM: org.apache.james.modules.server.DKIMMailetModule cf https://james.staged.apache.org/james-distributed-app/3.8.0/configure/extensions.html Very likely similar binding needs to be done in server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml Do you think you could try to do such a contribution?-- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Jul 7, 2023 12:07 PM, from Scoopta I'm not very familiar with spring. I think I configured the actual DKIM verifier correctly but I get No qualifying bean of type 'org.apache.james.jdkim.api.PublicKeyRecordRetriever' I'm thinking I need to register the DNSPublicKeyRecordRetriever bean from jdkim but I don't really know how to? On 7/6/23 20:42, Benoit TELLIER wrote: Did you try this: https://github.com/apache/james-project/blob/c94d134ae8bba116e34f664a873a880c56462d72/server/mailet/dkim/src/main/java/org/apache/james/jdkim/mailets/DKIMVerify.java#L40 ? We welcome any further documentation on the topic... -- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Jul 7, 2023 9:21 AM, from Scoopta The james website has information on configuring DKIM signing of messages as well as SPF validation but it seems to be lacking information about DKIM validation for inbound mail. Has anyone configured this and could they point me in the right direction? - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org
Re: Setting up DKIM validation
I've submitted a PR to add the changes...that was actually way easier than I expected it to be and it appears my DKIM verification setup is working now. On 7/6/23 22:12, Benoit TELLIER wrote: For Spring it seems it was never set up. With guice you can register an extension module for JDKIM: org.apache.james.modules.server.DKIMMailetModule cf https://james.staged.apache.org/james-distributed-app/3.8.0/configure/extensions.html Very likely similar binding needs to be done in server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml Do you think you could try to do such a contribution?-- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Jul 7, 2023 12:07 PM, from Scoopta I'm not very familiar with spring. I think I configured the actual DKIM verifier correctly but I get No qualifying bean of type 'org.apache.james.jdkim.api.PublicKeyRecordRetriever' I'm thinking I need to register the DNSPublicKeyRecordRetriever bean from jdkim but I don't really know how to? On 7/6/23 20:42, Benoit TELLIER wrote: Did you try this: https://github.com/apache/james-project/blob/c94d134ae8bba116e34f664a873a880c56462d72/server/mailet/dkim/src/main/java/org/apache/james/jdkim/mailets/DKIMVerify.java#L40 ? We welcome any further documentation on the topic... -- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Jul 7, 2023 9:21 AM, from Scoopta The james website has information on configuring DKIM signing of messages as well as SPF validation but it seems to be lacking information about DKIM validation for inbound mail. Has anyone configured this and could they point me in the right direction? - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org
Re: Setting up DKIM validation
I had a look at it. Looks great. Congrats, and thanks! -- Best regards, Benoit TELLIER General manager of Linagora VIETNAM. Product owner for Team-Mail product. Chairman of the Apache James project. Mail: btell...@linagora.com Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) On Jul 7, 2023 2:37 PM, from Scoopta I've submitted a PR to add the changes...that was actually way easier than I expected it to be and it appears my DKIM verification setup is working now. On 7/6/23 22:12, Benoit TELLIER wrote: > For Spring it seems it was never set up. > > With guice you can register an extension module for JDKIM: > org.apache.james.modules.server.DKIMMailetModule cf > https://james.staged.apache.org/james-distributed-app/3.8.0/configure/extensions.html > > Very likely similar binding needs to be done in > server/container/spring/src/main/resources/META-INF/org/apache/james/spring-server.xml > > Do you think you could try to do such a contribution?-- > > > Best regards, > > > > Benoit TELLIER > > > > General manager of Linagora VIETNAM. > > Product owner for Team-Mail product. > > Chairman of the Apache James project. > > > > Mail: btell...@linagora.com > > Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) > > > On Jul 7, 2023 12:07 PM, from Scoopta I'm not very familiar with spring. I > think I configured the actual DKIM > verifier correctly but I get > No qualifying bean of type > 'org.apache.james.jdkim.api.PublicKeyRecordRetriever' > > I'm thinking I need to register the DNSPublicKeyRecordRetriever bean > from jdkim but I don't really know how to? > > On 7/6/23 20:42, Benoit TELLIER wrote: >> Did you try this: >> https://github.com/apache/james-project/blob/c94d134ae8bba116e34f664a873a880c56462d72/server/mailet/dkim/src/main/java/org/apache/james/jdkim/mailets/DKIMVerify.java#L40 >> ? >> >> We welcome any further documentation on the topic... >> >> -- >> >> >> Best regards, >> >> >> >> Benoit TELLIER >> >> >> >> General manager of Linagora VIETNAM. >> >> Product owner for Team-Mail product. >> >> Chairman of the Apache James project. >> >> >> >> Mail: btell...@linagora.com >> >> Tel: (0033) 6 77 26 04 58 (WhatsApp, Signal) >> >> >> On Jul 7, 2023 9:21 AM, from Scoopta The james website has information on >> configuring DKIM signing of >> messages as well as SPF validation but it seems to be lacking >> information about DKIM validation for inbound mail. Has anyone >> configured this and could they point me in the right direction? >> >> >> - >> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org >> For additional commands, e-mail: server-user-h...@james.apache.org >> >> >> > - > To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org > For additional commands, e-mail: server-user-h...@james.apache.org > > > - To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org