ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Email query

    IT Discussion
    6
    66
    4.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      scottalanmiller @Carnival Boy
      last edited by

      @Carnival-Boy said in Email query:

      If I want to send an e-mail to @bishnitro I can just make an SMTP connection to his server and send him an e-mail, can't I?

      In theory, yes. But with modern security, that's never realistically possible.

      C J 2 Replies Last reply Reply Quote 0
      • S
        scottalanmiller @bishnitro
        last edited by

        @bishnitro said in Email query:

        is there a relay that is friendly to non-linux user like me?

        I just built one this week. 🙂 It seems to be a popular topic at the moment.

        1 Reply Last reply Reply Quote 0
        • C
          Carnival Boy @scottalanmiller
          last edited by

          @scottalanmiller said in Email query:

          But with modern security, that's never realistically possible.

          Why not?

          S D 2 Replies Last reply Reply Quote 0
          • J
            JaredBusch @scottalanmiller
            last edited by

            @scottalanmiller said in Email query:

            @Carnival-Boy said in Email query:

            If I want to send an e-mail to @bishnitro I can just make an SMTP connection to his server and send him an e-mail, can't I?

            In theory, yes. But with modern security, that's never realistically possible.

            It will not work. when an app tries this is will get blocked for relaying.

            1 Reply Last reply Reply Quote 0
            • S
              scottalanmiller @Carnival Boy
              last edited by

              @Carnival-Boy said in Email query:

              @scottalanmiller said in Email query:

              But with modern security, that's never realistically possible.

              Why not?

              Lots of reasons, all around security and stopping spam, none of these are 100%, but most are like 95% true and with the overlap, it's nearly 100% that it would cause an issue:

              • Port 25 is not always used any longer, it's one of three main ports.
              • TLS is often required.
              • SPF records are sometimes required.
              • Reverse lookups almost always need to work.

              And more. Accepting email from "just anywhere" isn't done any longer. At a minimum most sites need to be set up as the official email system for the domain in question. Getting email to the big boys that represent most of the market (MS, Google, etc.) is even harder.

              C 1 Reply Last reply Reply Quote 0
              • S
                scottalanmiller
                last edited by

                If you don't have all of these things, then some systems will allow you to connect as an authenticated user, if you have an account on that system, which is what we are trying to do here. But the issue is that the proprietary software doesn't allow for the user to log in on the email system so that doesn't work.

                1 Reply Last reply Reply Quote 0
                • D
                  Dashrender @Carnival Boy
                  last edited by

                  @Carnival-Boy said in Email query:

                  @scottalanmiller said in Email query:

                  But with modern security, that's never realistically possible.

                  Why not?

                  doing this correctly would mean that the OP would using a sending address that is on the same domain as his email domain that's hosted on O365. O365 will deny emails claiming to be coming from somewhere else for the same domain, because O365 Knows that it's responsible for that domain - it's an antispam thing.

                  J 1 Reply Last reply Reply Quote 0
                  • C
                    Carnival Boy
                    last edited by

                    Then you could use a different domain address.

                    S D 2 Replies Last reply Reply Quote 0
                    • J
                      JaredBusch @JaredBusch
                      last edited by JaredBusch

                      @JaredBusch said in Email query:

                      I guess you could actually just create an anonymous receive connector in Office 365 and restrict it to your public IP.

                      1. Sign in to Office 365
                      2. Go to Exchange Admin
                      3. Select Mail Flow
                        • 0_1482252096768_upload-6aebb63d-a0e9-4c81-8f4c-1deb3f545f15
                      4. Select Connectors.
                        • 0_1482252124171_upload-d14b919d-2144-4b57-9ec6-571ad268c5c6
                      5. Click the Plus
                        • 0_1482252149531_upload-0d7d281f-76f9-42be-b9e3-51c337155a88
                      6. These options to get past the stupidity filter
                        • 0_1482252207166_upload-38e3f56c-f921-45b4-ad5f-8975770e0776
                      7. Name it
                        • 0_1482252356715_upload-e7b05e10-bc5a-4e5b-82af-8d4feddd6d12
                      8. Click the second radio button to require an IP and click the plus.
                        • 0_1482252465549_upload-d0473167-409d-4c7e-8de5-2d2936d6b9ab
                      9. Enter your public subnet for the office
                        • 0_1482252511934_upload-42a32865-5d16-4882-ab21-2c3f17d9d28a
                      10. Click next
                        • 0_1482252538358_upload-16fd3cb3-8b32-4802-967c-88d6697a8b44
                      11. Verify and click save
                        • 0_1482252572512_upload-f093b3c3-b384-45a1-a0fa-2a3751297ff4
                      12. There you go.
                        0_1482252606873_upload-a8540a30-d07a-4560-8029-f8ab46a1b02e
                      13. Set said shitty app to use FQDN.mail.protection.outlook.com for the SMTP server
                        • mine would be bundystl-com.mail.protection.outlook.com
                      1 Reply Last reply Reply Quote 1
                      • J
                        JaredBusch @Dashrender
                        last edited by

                        @Dashrender said in Email query:

                        @Carnival-Boy said in Email query:

                        @scottalanmiller said in Email query:

                        But with modern security, that's never realistically possible.

                        Why not?

                        doing this correctly would mean that the OP would using a sending address that is on the same domain as his email domain that's hosted on O365. O365 will deny emails claiming to be coming from somewhere else for the same domain, because O365 Knows that it's responsible for that domain - it's an antispam thing.

                        Not if you make a connector as I just listed.

                        D 1 Reply Last reply Reply Quote 0
                        • C
                          Carnival Boy @scottalanmiller
                          last edited by

                          @scottalanmiller said in Email query:

                          • SPF records are sometimes required.

                          You can create an SPF record for the IP address of the application sending the e-mail.

                          S J 2 Replies Last reply Reply Quote 0
                          • S
                            scottalanmiller @Carnival Boy
                            last edited by

                            @Carnival-Boy said in Email query:

                            @scottalanmiller said in Email query:

                            • SPF records are sometimes required.

                            You can create an SPF record for the IP address of the application sending the e-mail.

                            Yes, if you have a static IP address.

                            1 Reply Last reply Reply Quote 0
                            • S
                              scottalanmiller @Carnival Boy
                              last edited by

                              @Carnival-Boy said in Email query:

                              Then you could use a different domain address.

                              Sure, one that you are going to be an authoritative email host for.

                              1 Reply Last reply Reply Quote 0
                              • D
                                Dashrender @Carnival Boy
                                last edited by

                                @Carnival-Boy said in Email query:

                                Then you could use a different domain address.

                                Sure, as long as you don't get bit by those other things that Scott mentioned. O365 will be doing pretty much all of them to protect it's uses against spam.

                                S C 2 Replies Last reply Reply Quote 0
                                • D
                                  Dashrender @JaredBusch
                                  last edited by

                                  @JaredBusch said in Email query:

                                  @Dashrender said in Email query:

                                  @Carnival-Boy said in Email query:

                                  @scottalanmiller said in Email query:

                                  But with modern security, that's never realistically possible.

                                  Why not?

                                  doing this correctly would mean that the OP would using a sending address that is on the same domain as his email domain that's hosted on O365. O365 will deny emails claiming to be coming from somewhere else for the same domain, because O365 Knows that it's responsible for that domain - it's an antispam thing.

                                  Not if you make a connector as I just listed.

                                  Very nice bro!

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    JaredBusch @Carnival Boy
                                    last edited by

                                    @Carnival-Boy said in Email query:

                                    @scottalanmiller said in Email query:

                                    • SPF records are sometimes required.

                                    You can create an SPF record for the IP address of the application sending the e-mail.

                                    Well first, you will have to have a second domain that is not controlled by Office 365.
                                    Then you have to make an SPF on said second domain.
                                    Then you have to train users not to ignore it as spam.

                                    1 Reply Last reply Reply Quote 1
                                    • S
                                      scottalanmiller @Dashrender
                                      last edited by

                                      @Dashrender said in Email query:

                                      @Carnival-Boy said in Email query:

                                      Then you could use a different domain address.

                                      Sure, as long as you don't get bit by those other things that Scott mentioned. O365 will be doing pretty much all of them to protect it's uses against spam.

                                      Yup, same reasons that we say to not run your own in house email servers in general. Some people get lucky and it just works. Others can never get reliable email delivery. Tons of IP addresses like most cloud hosts and most normal connections are black listed by the big carriers to avoid spam. So sometimes nothing you do as a small email player matter. Other times, it just works. You take your chances.

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        JaredBusch @Dashrender
                                        last edited by

                                        @Dashrender said in Email query:

                                        @JaredBusch said in Email query:

                                        @Dashrender said in Email query:

                                        @Carnival-Boy said in Email query:

                                        @scottalanmiller said in Email query:

                                        But with modern security, that's never realistically possible.

                                        Why not?

                                        doing this correctly would mean that the OP would using a sending address that is on the same domain as his email domain that's hosted on O365. O365 will deny emails claiming to be coming from somewhere else for the same domain, because O365 Knows that it's responsible for that domain - it's an antispam thing.

                                        Not if you make a connector as I just listed.

                                        Very nice bro!

                                        Added the last step for the SMTP address. missed that initially.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          Carnival Boy @Dashrender
                                          last edited by

                                          @Dashrender said in Email query:

                                          @Carnival-Boy said in Email query:

                                          Then you could use a different domain address.

                                          Sure, as long as you don't get bit by those other things that Scott mentioned. O365 will be doing pretty much all of them to protect it's uses against spam.

                                          I guess what I'm talking about is Direct Send. Microsoft used to recommend this approach with O365. Are you all saying this is no longer supported, or it is just very unreliable?

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            JaredBusch
                                            last edited by

                                            Note, making a connector in Office 365 is subject to limiters that accept only so many messages in a specified time frame, and also a total cap per day.

                                            It is not a recommended way of handling a mail relay.

                                            It will work fine for @bishnitro's needs though as they are listed as internal only, and I assume low use.

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post