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

NAAN Prefix Sync Update - Email Workflow Update #31

Open
marisastrong opened this issue May 16, 2024 · 4 comments
Open

NAAN Prefix Sync Update - Email Workflow Update #31

marisastrong opened this issue May 16, 2024 · 4 comments
Assignees

Comments

@marisastrong
Copy link
Member

marisastrong commented May 16, 2024

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
Copy link

jsjiang commented May 16, 2024

It is interesting to find that the email address I got from the n2t Slack channel is different than what Rushiraj has:
"[email protected]" [email protected]
I sent a test email to the above email address and it appeared in the Slack n2t channel. So it works.

@jsjiang
Copy link

jsjiang commented May 16, 2024

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

  • sent from [email protected]
  • with subject: ok: cron hitrnt ids-n2t2-dev.n2t.net
  • body message containing: hitrnt: harvested updates ready: naan_registry.txt shoulder_registry.txt

@jsjiang
Copy link

jsjiang commented May 17, 2024

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 <[email protected]>
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) ||| [[email protected]](mailto:[email protected]) |
!address: 12 South St Ste 2B, Hanover NH 03755 USA

+naa:
+who:    Tamarin Education (=) TE
+what:   13343
+when:   2024.01.17

@rushirajnenuji
Copy link

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='[email protected]'/>
		<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='[email protected]'/>
		<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='[email protected]'/>
		<apps:property name='sizeOperator' value='s_sl'/>
		<apps:property name='sizeUnit' value='s_smb'/>
	</entry>

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

No branches or pull requests

3 participants