Тёмный
No video :(

Configuring SMTP Relay 

NextDoorNetAdmin
Подписаться 108
Просмотров 1,6 тыс.
50% 1

Email has never been as simple as most people think it is. But if you need to connect a cloud application or an office photocopier to your organization email, SMTP relay can be pretty easy to set up--if you know how!
EXTRA CREDIT:
- SPF is only one of the two ways used to validate an email's source. The other method is DKIM. That's typically set up on the central mail server, so relaying through your organization's server allows the correct signature to be added.
- SPF and DKIM together are used as part of DMARC, which allows your organization to tell others how to deal with any email that claims to be from your organization but doesn't pass the validation checks.

Опубликовано:

 

3 мар 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@TheWhiteRose-JunaidButt
@TheWhiteRose-JunaidButt 3 месяца назад
you have a wonderful personality you should make more videos teaching
@NextDoorNetAdmin
@NextDoorNetAdmin 3 месяца назад
Thank you! I definitely plan to keep going. :)
@angeldelvax7219
@angeldelvax7219 12 дней назад
I'm only 6 minutes in, and it seems this is about exchange. Do you have any suggestions on how to get a relay set up in windows 10 without exchange? Using hmail as server at the moment. Trying to find information on how to get a proper mail server set up on a linux machine, but all tutorials are strictly for VPS/docker systems.
@NextDoorNetAdmin
@NextDoorNetAdmin 12 дней назад
You should find the bits about SPF records are still useful to you, since that applies whether you're running an SMTP server or setting up an SMTP relay. I don't have any information about hmail specifically. But it looks like that's an actual server. I'm not clear on whether you're attempting to send directly from that machine (from the SMTP server), or whether you're setting up a Windows 10 machine to send outbound email via the server (SMTP relay, from sending machine to server to Internet). If you're doing relay, then there's nothing special for Windows 10. Just point it at your SMTP server, and as long as you've configured the server correctly to allow relay from that machine, you should be able to send outbound. :)
@angeldelvax7219
@angeldelvax7219 12 дней назад
@@NextDoorNetAdmin hmail is the mailserver I have running on a windows 10 machine. I'd need a relay service to actually enable the server to send mail. Receiving works perfectly. I found that it isn't maintained anymore since 2021, so I'm going to look for a complete solution. Might as well go for a linux server for everything, since I'll need web hosting, file server, chat server etc. anyway. And I have an old HP proliant lying around anyway. Thank you for your quick reply! I'll definitely watch the entire video too. There's no such thing as learning too much after all ;)
@JavierDiaz-zh2jo
@JavierDiaz-zh2jo Месяц назад
Hi, Comcast and some other ISPs are blocking port 25, and the SMTP authenticators will be removed from Office 365. Do you know how to get around this port 25 issue?
@NextDoorNetAdmin
@NextDoorNetAdmin Месяц назад
I do! Use a business connection. :) Not to be glib about it, but residential connections often have port 25 blocked in order to combat spam being sent from unaware customers infected with malware. Customers accessing their remote email accounts will usually use a different port--sending directly to port 25 (with or without STARTTLS) is indicative of a server-to-server (relay) connection. Conversely, since a business connection is expected to be running business applications (including email servers), all ports are generally left unblocked. Since you would need a static IP to add into the SPF record to permit the relay, that's also something typically available on a business connection.
@JavierDiaz-zh2jo
@JavierDiaz-zh2jo Месяц назад
@@NextDoorNetAdmin Sorry to say, Comcast in Florida is blocking port 25, even for businesses (which is why I asked). Many companies are dealing with this. To get around it, I set up an SMTP relay server with postfix. It connects to Office 365 using TLS and an account with SMTP authentication enabled.
@NextDoorNetAdmin
@NextDoorNetAdmin Месяц назад
@@JavierDiaz-zh2jo Ouch! That boggles my mind, honestly. Business connections should be unfiltered, in my mind--it's one of the main reasons to even get a business connection in the first place! I'm going to guess that switching ISPs is likewise not a feasible option. If so, then I would honestly next look at ways of proxying the connection. First thing I would try is probably setting up an SSH tunnel to another endpoint where port 25 isn't blocked. If you had a way to SOCKSify the outbound connection, so much the better--you could use dynamic port forwarding instead of local port forwarding. But I'm afraid that I don't have a ready-made solution at hand for that problem... just ideas that would need more work.
@TheTF01
@TheTF01 21 день назад
If there are multiple public ip that need to be added, because of multiple locations, would you just add all of them to the spf record? Also, does that not create some other security concerns public the companies public ip on the spf record?
@NextDoorNetAdmin
@NextDoorNetAdmin 21 день назад
@TheTF01 Every IP address that needs to be allowed to send mail does need to be added... but there's different ways of doing that, depending on the exact circumstances. If they're just single IPs that aren't connected to each other, you can use multiple ip4: entries. If the IPs can be summarized into a CIDR range, you can also enter that. (Example: "ip4:192.168.2.36/30") Does it create a security concern? I don't think it does. For one thing, there's nothing saying that these IP addresses belong to your company. Let's say you have a rule sending all outbound email to a third-party service that adds a signature. (My company does this!) You need to add the third-party service to your SPF record, and they'll typically have documentation telling you what you can put in (it's usually an "include:service.com" entry). But you could just as easily put in the actual IP addresses if you wanted, and it would work the same way. The actual SMTP headers on the email message also include a record of all the machines the email has passed through (using SMTP), including their IP addresses, from start to finish. This not only reveals the sender's IP address (if they used SMTP), but all servers along the mail path. This is standard because it helps to diagnose mail flow issues, as well as allowing things such as SPF to function correctly. And it's been that way since the very beginning of email! As a general security rule, you never want to rely on "security through obscurity"--keeping things safe by keeping them secret. You definitely want to make sure you have a firewall to protect the network, whether you publish the external IPs in an SPF record or not. And if you do have a firewall in place, I think any additional security risk created by an SPF record is minimal, if not negligible.
Далее
What are POP3, IMAP, and SMTP?
7:02
Просмотров 14 тыс.
SendGrid.com SMTP Email Relay
9:07
Просмотров 2,1 тыс.
Мухочирон эхтиёт бошед!
01:31
Просмотров 118 тыс.
❌Ему повезло больше всех #story
00:41
Вся Правда Про Хазяевов !
41:02
Просмотров 1,8 млн
SPF, DKIM, DMARC was never so simple! // EasyDMARC
26:00
Subnet Routers | Tailscale Explained
12:25
Просмотров 17 тыс.
Introduction to SMTP Relay for Servers
40:55
Просмотров 102 тыс.
Apache vs NGINX
7:53
Просмотров 280 тыс.
How Does FortiMail Really Work?
11:25
Просмотров 1 тыс.
Office 365 SMTP Relay Using IIS
9:02
Просмотров 55 тыс.
ACME: Accounts and Validations
24:37
Просмотров 65