CDLUC3 / N2T

next-gen N2T resolver
MIT License
0 stars 2 forks source link

NAAN Prefix Sync Update - Email Workflow Update #31

Open marisastrong opened 4 months ago

marisastrong commented 4 months ago

Rushiraj's ucop.edu email account was configured to send certain emails pertaining to Naan prfix updates. Since his appointment with UCOP/CDL has ended, his ucop.edu may be removed at any time. (confirmed 5/15 it's still working and fwd-ing emails to his nceas.ucsb.edu account)

Once his account is removed he'll stop getting NAAN updates, along with a filter he has set that sends these updates to Slack N2T channel -- based on which the EZID team runs NAAN prefix sync commands.

Here are the filters that I've set:

Screenshot 2024-05-16 at 10 00 46

Rushiraj also has an XML file that he exported from GMail in case @jsjiang or @ashleygould wants to set this up once my UCOP account is disabled.

Other than this, I do not think my UCOP account is tied with anything else.

Please let me know if any other info is needed from my end. Thanks!

jsjiang commented 4 months ago

It is interesting to find that the email address I got from the n2t Slack channel is different than what Rushiraj has: "n2t-aaaaggclmemco5yocaxnoo45ta@cdlib.slack.com" n2t-aaaaggclmemco5yocaxnoo45ta@cdlib.slack.com I sent a test email to the above email address and it appeared in the Slack n2t channel. So it works.

jsjiang commented 4 months ago

A rule has created in my Outlook client to forward emails to the n2t slack channel with following criteria:

jsjiang commented 4 months ago

I don't receive the 2nd email with following like content. I think Ashley is the the "CC" list. @ashleygould Hi Ashely, can you add a rule to forward this email to the n2t Slack channel. You can find the channel's email address from channel/Integrations/Send emails to this channel. Let me know if you have questions. Thank you

Jing

From: Mail Delivery System <MAILER-DAEMON@ids-n2t2-prd.n2t.net>
Subject: NAAN registry updated
This is an automated message informing you that the file,
https://n2t.net/e/pub/naan_registry.txt, has been updated.
Please find "diffs" (generated by "git") below.

Questions to NAAN-Registrar.com

==========
diff --git a/main_naans b/main_naans
index 2a287f1..20218ae 100644
--- a/main_naans
+++ b/main_naans
@@ -12743,3 +12743,13 @@ how:    NP | (:unkn) unknown | 2024 |
!contact: Jim, Cowie, (Director) ||| [cowie@internethistoryinitiative.org](mailto:cowie@internethistoryinitiative.org) |
!address: 12 South St Ste 2B, Hanover NH 03755 USA

+naa:
+who:    Tamarin Education (=) TE
+what:   13343
+when:   2024.01.17
rushirajnenuji commented 4 months ago

XML Filters:

<entry>
        <category term='filter'></category>
        <title>Mail Filter</title>
        <id>tag:mail.google.com,2008:filter:*9</id>
        <updated>2024-05-16T16:59:20Z</updated>
        <content></content>
        <apps:property name='hasTheWord' value='&quot;hitrnt: harvested updates ready: ((.*naan_registry.txt)|(.*shoulder_registry.txt))&quot;'/>
        <apps:property name='forwardTo' value='k0o0w3m3q0h3h1q6@cdlib.slack.com'/>
        <apps:property name='shouldTrash' value='true'/>
        <apps:property name='smartLabelToApply' value='^smartlabel_notification'/>
        <apps:property name='sizeOperator' value='s_sl'/>
        <apps:property name='sizeUnit' value='s_smb'/>
    </entry>
    <entry>
        <category term='filter'></category>
        <title>Mail Filter</title>
        <id>tag:mail.google.com,2008:filter:*4</id>
        <updated>2024-05-16T16:59:20Z</updated>
        <content></content>
        <apps:property name='from' value='n2t@ids-n2t2-prd.n2t.net'/>
        <apps:property name='hasTheWord' value='Please find &quot;diffs&quot; (generated by &quot;git&quot;) below.'/>
        <apps:property name='label' value='N2T'/>
        <apps:property name='shouldMarkAsRead' value='true'/>
        <apps:property name='forwardTo' value='k0o0w3m3q0h3h1q6@cdlib.slack.com'/>
        <apps:property name='sizeOperator' value='s_sl'/>
        <apps:property name='sizeUnit' value='s_smb'/>
    </entry>