Project

General

Profile

Actions

Feature #21456

open

Switching to SMTP for outgoing email

Added by Boone Gorges 10 days ago. Updated 5 days ago.

Status:
New
Priority name:
Normal
Assignee:
Category name:
-
Target version:
Start date:
2024-11-11
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Following up on our conversation last week, we need to make a decision about how outgoing email will be sent in the Reclaim environment. I see three options:

1. Continue to send email using PHP and the system mail program
2. Use a transactional provider
3. Use SMTP

Items 1 and 2 both require MX DNS changes. Option 1 will require special vigilance, since Reclaim IP addresses will be sending cuny.edu email (presumably transactional providers are more used to setting this sort of thing up). Option 2 also costs money.

So I think that option 3 is probably the best. Emails will continue to be sent through the Graduate Center, so there should be no DNS changes, and there should be no additional spam problems. The one hitch is that we'll need an email account that can be used for this purpose. We already have , but it's already in use for other purposes. We also have a gmail account we use for inbound RBE, but this is not a gc.cuny.edu account, so it will face spam issues. So I think we'll need to request a new account. Then we need to decide which WP plugin to use - there's a number of them that would probably be fine.

Reclaim's team has also recommended SMTP, for what it's worth.

Ray, can you think about the reasoning above and let me know whether it seems right? If so, what are our next steps?

Actions #1

Updated by Raymond Hoh 10 days ago

Option 3, SMTP, seems to be the path of least resistance. I guess the next step is to see whether we can get another @gc.cuny.edu email address for use with Reclaim. Are @gc.cuny.edu email addresses provisioned the same way as CUNYFirst? If so, we might run into problems with having to change the password every 180 days according to the following document: https://www.gc.cuny.edu/sites/default/files/2022-02/Microsoft-Modern-Authentication_1.pdf (see point 8).

Actions #2

Updated by Boone Gorges 7 days ago

Colin and Matt, a reminder that we should probably decide in advance what specific inbox we'll be asking for. It could be something quasi-technical like commons-sender@gc.cuny.edu. Or something more detailed than the existing commons, like cunyacademiccommons@gc.cuny.edu.

A side note that I just had to have a conversation with the IT department at another organization about this very issue. They use Office 365 for email, and they use account delegation to grant access to organizational email addresses. As such, they don't hand out SMTP credentials for those accounts. I don't know if this is a technical issue or a policy one, but it's possible we'll get a similar answer from the Graduate Center.

Actions #3

Updated by Matt Gold 6 days ago

Hi Boone -- yes, you're right. As far as I know, GC IT discontinued SMTP access for email when it switched to Office365. I'm happy to ask to confirm, though, and I don't think it would be a big deal politically to ask the question. Let me know whether you want me to ask.

Actions #4

Updated by Boone Gorges 6 days ago

Hi Boone -- yes, you're right. As far as I know, GC IT discontinued SMTP access for email when it switched to Office365.

They discontinued SMTP access for delegated accounts, not for all accounts, right? The latter would be a much harder problem. In any case, yes, please go ahead and put in the request.

Actions #5

Updated by Matt Gold 5 days ago

I believe it is for all accounts. But I will check.

Actions

Also available in: Atom PDF