2022-09-02, 06:58 AM
Hello All,
Here it's 2:50AM, and I went down a deep rabbit hole tonight with email validation for accounts on my MyBB forum. In sum:
1. MyBB is installed on an Azure VM running Ubuntu 20.04, served by Apache2
2. For users to create an account, email validation is required
3. To send an email, SMTP mail must be set up on my server. No problem--installed postfix.
4. Problem: Azure blocks port 25 by default(!)
- Good reason for this: they don't want someone signing up for a free VM and spamming millions of emails out.
- I have no intention of spamming; I merely want to validate users.
5. So, users never receive their verification (or any other) mail, so they can't sign up!
6. Microsoft Azure is recommending "Sendgrid" [2] or the like for Authenticated SMTP relay servics. [1]
- This seems a bit overkill
Did I make a wrong turn somewhere? Do I need to pay for a more expensive Azure VM that allows traffic on port 25? Should I set up authenticated SMTP services? Any recommendation for how I should deal with this?
I was tempted to turn on "Instant Access," but the last time I did this, I got almost 100,000 spam messages, which almost crashed my server. So I set it on manual/admin approval for now.
If anyone cares here is the BB. We shall have Freedom of Speech and Expression!
https://forum.frexpy.org/
Thanks,
Keith
1. https://docs.microsoft.com/en-us/azure/v...nnectivity
2. https://sendgrid.com/
Here it's 2:50AM, and I went down a deep rabbit hole tonight with email validation for accounts on my MyBB forum. In sum:
1. MyBB is installed on an Azure VM running Ubuntu 20.04, served by Apache2
2. For users to create an account, email validation is required
3. To send an email, SMTP mail must be set up on my server. No problem--installed postfix.
4. Problem: Azure blocks port 25 by default(!)
- Good reason for this: they don't want someone signing up for a free VM and spamming millions of emails out.
- I have no intention of spamming; I merely want to validate users.
5. So, users never receive their verification (or any other) mail, so they can't sign up!
6. Microsoft Azure is recommending "Sendgrid" [2] or the like for Authenticated SMTP relay servics. [1]
- This seems a bit overkill
Did I make a wrong turn somewhere? Do I need to pay for a more expensive Azure VM that allows traffic on port 25? Should I set up authenticated SMTP services? Any recommendation for how I should deal with this?
I was tempted to turn on "Instant Access," but the last time I did this, I got almost 100,000 spam messages, which almost crashed my server. So I set it on manual/admin approval for now.
If anyone cares here is the BB. We shall have Freedom of Speech and Expression!
https://forum.frexpy.org/
Thanks,
Keith
1. https://docs.microsoft.com/en-us/azure/v...nnectivity
2. https://sendgrid.com/