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

    If you have multiple servers on a network, do you install postfix on each one

    IT Discussion
    reality check linux postfix brrabill goes wild
    7
    57
    2.8k
    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.
    • scottalanmillerS
      scottalanmiller @JaredBusch
      last edited by

      @jaredbusch said in If you have multiple servers on a network, do you install postfix on each one:

      @nerdydad said in If you have multiple servers on a network, do you install postfix on each one:

      @jaredbusch said in If you have multiple servers on a network, do you install postfix on each one:

      @scottalanmiller said in If you have multiple servers on a network, do you install postfix on each one:

      If you have a client that implements SMTP, you are all set. But without that, postfix is needed (or something) that adds SMTP capabilities.

      SMTP can be sent via telnet. Nothing special is required of a system to send email.

      If it can be sent via telnet, can it be sent by ssh?

      SMTP has no encrypted connection handling, so no. The payload can be encrypted once the SMTP connection is established (STARTTLS), but SMTP has no encryption prior to that.

      If you sent over SSH, though, it would. You actually get. Given that you used the telnet example, and use that connection methodology to say that you can send over telnet, you can actually do that over SSH, too. It's really silly, but if you are running the SMTP protocol manually then it works over SSH just like over telnet.

      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @scottalanmiller
        last edited by

        @scottalanmiller said in If you have multiple servers on a network, do you install postfix on each one:

        @tim_g said in If you have multiple servers on a network, do you install postfix on each one:

        Yeah, didn't see this thread before posting this: https://mangolassi.it/topic/15899/basic-email-sending-with-linux/9

        If your email is hosted through somewhere else, such as O365, you'll need to edit your SPF record to allow emails from that server or use an SMTP server that authenticates with and relays to O365.

        DNF-Automatic, for example, from what I've seen, does not have SMTP authentication options. So I've been using an SMTP server.

        SPF is optional and loads of email services either don't care or only prefer it. It's good, but it's not part of base SMTP and not required for email to be "working". Like many things, like MX, SPF, and PTR records, many services either demand them or encourage them, but they are extra, optional security checks to reduce the chance of spam and are a totally different topic - one of convincing third parties that you are not a spammer, which is not the same at all as the system level task of sending email out.

        While all 100% true, they are required if you want the mail your are sending with the system out to be received in today's world.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @BRRABill
          last edited by

          @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

          My root issue, I guess, if that I cannot get dnf-automatic to send e-mail to any public e-mail servers. Not Office365, for example.

          Can I get it to send to my internal e-mail server on my internal network? Sure.

          This is very different from what you asked. You asked about getting email working from the OS, and the OS does it with postfix and the standard mail command that you were trying to use depends on an MTA. Other applications may have their own SMTP individually. But that is a question about an application sending email, not about Linux or the OS sending it. Totally different concepts.

          JaredBuschJ BRRABillB 2 Replies Last reply Reply Quote 1
          • scottalanmillerS
            scottalanmiller @JaredBusch
            last edited by

            @jaredbusch said in If you have multiple servers on a network, do you install postfix on each one:

            @scottalanmiller said in If you have multiple servers on a network, do you install postfix on each one:

            @tim_g said in If you have multiple servers on a network, do you install postfix on each one:

            Yeah, didn't see this thread before posting this: https://mangolassi.it/topic/15899/basic-email-sending-with-linux/9

            If your email is hosted through somewhere else, such as O365, you'll need to edit your SPF record to allow emails from that server or use an SMTP server that authenticates with and relays to O365.

            DNF-Automatic, for example, from what I've seen, does not have SMTP authentication options. So I've been using an SMTP server.

            SPF is optional and loads of email services either don't care or only prefer it. It's good, but it's not part of base SMTP and not required for email to be "working". Like many things, like MX, SPF, and PTR records, many services either demand them or encourage them, but they are extra, optional security checks to reduce the chance of spam and are a totally different topic - one of convincing third parties that you are not a spammer, which is not the same at all as the system level task of sending email out.

            While all 100% true, they are required if you want the mail your are sending with the system out to be received in today's world.

            Most people sending emails from servers are sending to themselves, not in general. So even in the "real world", this almost never applies. I certainly don't have any use for it on my systems.

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @scottalanmiller
              last edited by

              @scottalanmiller said in If you have multiple servers on a network, do you install postfix on each one:

              @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

              My root issue, I guess, if that I cannot get dnf-automatic to send e-mail to any public e-mail servers. Not Office365, for example.

              Can I get it to send to my internal e-mail server on my internal network? Sure.

              This is very different from what you asked. You asked about getting email working from the OS, and the OS does it with postfix and the standard mail command that you were trying to use depends on an MTA. Other applications may have their own SMTP individually. But that is a question about an application sending email, not about Linux or the OS sending it. Totally different concepts.

              I told you that oyu gave the corect answer on an incorrectly worded question.

              scottalanmillerS BRRABillB 2 Replies Last reply Reply Quote 0
              • BRRABillB
                BRRABill @scottalanmiller
                last edited by

                @scottalanmiller said

                This is very different from what you asked. You asked about getting email working from the OS, and the OS does it with postfix and the standard mail command that you were trying to use depends on an MTA. Other applications may have their own SMTP individually. But that is a question about an application sending email, not about Linux or the OS sending it. Totally different concepts.

                It is, but like everything here at ML the original question got critiqued and then spun into a new thread.

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @JaredBusch
                  last edited by

                  @jaredbusch said in If you have multiple servers on a network, do you install postfix on each one:

                  @scottalanmiller said in If you have multiple servers on a network, do you install postfix on each one:

                  @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

                  My root issue, I guess, if that I cannot get dnf-automatic to send e-mail to any public e-mail servers. Not Office365, for example.

                  Can I get it to send to my internal e-mail server on my internal network? Sure.

                  This is very different from what you asked. You asked about getting email working from the OS, and the OS does it with postfix and the standard mail command that you were trying to use depends on an MTA. Other applications may have their own SMTP individually. But that is a question about an application sending email, not about Linux or the OS sending it. Totally different concepts.

                  I told you that oyu gave the corect answer on an incorrectly worded question.

                  Right, which I've been trying to explain to him offline. He asked you one thing privately and me a different thing. Me, he asked about the mail command and getting the OS to send.

                  1 Reply Last reply Reply Quote 0
                  • BRRABillB
                    BRRABill @JaredBusch
                    last edited by

                    @jaredbusch said

                    I told you that oyu gave the corect answer on an incorrectly worded question.

                    And how was it incorrectly worded?

                    JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @BRRABill
                      last edited by

                      @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

                      @jaredbusch said

                      I told you that oyu gave the corect answer on an incorrectly worded question.

                      And how was it incorrectly worded?

                      oh FFS

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @BRRABill
                        last edited by

                        @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

                        @scottalanmiller said

                        This is very different from what you asked. You asked about getting email working from the OS, and the OS does it with postfix and the standard mail command that you were trying to use depends on an MTA. Other applications may have their own SMTP individually. But that is a question about an application sending email, not about Linux or the OS sending it. Totally different concepts.

                        It is, but like everything here at ML the original question got critiqued and then spun into a new thread.

                        But it is a totally new topic. You should ask that in a new thread. As it is not directly related to the topics discussed.

                        THink of it this way....

                        Windows can't send email as Windows. But Thunderbird on Windows can send SMTP itself. Just because an app brings a capability doesn't mean that the OS has that capability.

                        1 Reply Last reply Reply Quote 1
                        • scottalanmillerS
                          scottalanmiller @BRRABill
                          last edited by

                          @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

                          @jaredbusch said

                          I told you that oyu gave the corect answer on an incorrectly worded question.

                          And how was it incorrectly worded?

                          Did you want to know about Fedora sending email or dnf-automatic sending email?

                          Fedora is what was asked about.

                          1 Reply Last reply Reply Quote 0
                          • BRRABillB
                            BRRABill
                            last edited by

                            OK, so let's take this a step back.

                            Bob is an IT admin. He hosts his mail on Office365.

                            He wants to use dnf-automatic to send mail.

                            How does he do this?

                            scottalanmillerS 1 Reply Last reply Reply Quote 2
                            • ObsolesceO
                              Obsolesce @BRRABill
                              last edited by

                              @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

                              My root issue, I guess, if that I cannot get dnf-automatic to send e-mail to any public e-mail servers. Not Office365, for example.

                              This is because Office365, Google, etc email does not accept and send out emails for just any random email server.

                              They require authentication.

                              This is why you need to use, in the case of dnf-automatic, an SMTP server that is set up and authenticated with Office365. That way when dnf-automatic sends out an email as [email protected], it goes to your SMTP server to authenticate, then sends via whatever account info the SMTP server is authenticating by... whether it's a global "[email protected]" address or whatever.

                              BRRABillB scottalanmillerS 2 Replies Last reply Reply Quote 0
                              • BRRABillB
                                BRRABill @Obsolesce
                                last edited by

                                @tim_g said

                                This is because Office365, Google, etc email does not accept and send out emails for just any random email server.

                                They require authentication.

                                This is why you need to use, in the case of dnf-automatic, an SMTP server that is set up and authenticated with Office365. That way when dnf-automatic sends out an email as [email protected], it goes to your SMTP server to authenticate, then sends via whatever account info the SMTP server is authenticating by... whether it's a global "[email protected]" address or whatever.

                                This is what I am contending. That just entering a SMTP server in dnf-automatic will not get the job done. Unless you own it and can control it. Or use some sort of authentication.

                                However, postfix does seem to work to Office365, and GMail. No questions asked.

                                scottalanmillerS JaredBuschJ ObsolesceO 3 Replies Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @BRRABill
                                  last edited by

                                  @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

                                  @tim_g said

                                  This is because Office365, Google, etc email does not accept and send out emails for just any random email server.

                                  They require authentication.

                                  This is why you need to use, in the case of dnf-automatic, an SMTP server that is set up and authenticated with Office365. That way when dnf-automatic sends out an email as [email protected], it goes to your SMTP server to authenticate, then sends via whatever account info the SMTP server is authenticating by... whether it's a global "[email protected]" address or whatever.

                                  This is what I am contending. That just entering a SMTP server in dnf-automatic will not get the job done. Unless you own it and can control it. Or use some sort of authentication.

                                  However, postfix does seem to work to Office365, and GMail. No questions asked.

                                  That makes no sense and is obviously wrong. All MTAs work with all systems, always. SMTP doesn't have versions or compatibility problems. Obviously you've taken a misconception and extrapolated something totally untrue from it. Something that is disproved every day as postfix is one of the most broadly used email platforms (ever heard of Zimbra... nearly all email systems build off of postfix) and all of us have this work flawlessly every day.

                                  1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @BRRABill
                                    last edited by

                                    @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

                                    However, postfix does seem to work to Office365, and GMail. No questions asked.

                                    FFFFFFFFUUUUUUUUUUUUCCCCCCCCCCCCCCCCCKKKKKKKKKKKKKKKKKKKKKK

                                    1 Reply Last reply Reply Quote 1
                                    • ObsolesceO
                                      Obsolesce @BRRABill
                                      last edited by

                                      @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

                                      @tim_g said

                                      This is because Office365, Google, etc email does not accept and send out emails for just any random email server.

                                      They require authentication.

                                      This is why you need to use, in the case of dnf-automatic, an SMTP server that is set up and authenticated with Office365. That way when dnf-automatic sends out an email as [email protected], it goes to your SMTP server to authenticate, then sends via whatever account info the SMTP server is authenticating by... whether it's a global "[email protected]" address or whatever.

                                      This is what I am contending. That just entering a SMTP server in dnf-automatic will not get the job done. Unless you own it and can control it. Or use some sort of authentication.

                                      However, postfix does seem to work to Office365, and GMail. No questions asked.

                                      Gmail for example won't let you send out an email using [email protected] unless you authenticate first. Otherwise, I could simply type in a "from address" of [email protected] and send emails from you to whoever i want. So this is understood.

                                      DNF automatic doesn't give the option to authenticate.

                                      Does postfix give you authentication options?

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Obsolesce
                                        last edited by

                                        @tim_g said in If you have multiple servers on a network, do you install postfix on each one:

                                        @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

                                        My root issue, I guess, if that I cannot get dnf-automatic to send e-mail to any public e-mail servers. Not Office365, for example.

                                        This is because Office365, Google, etc email does not accept and send out emails for just any random email server.

                                        They require authentication.

                                        This is why you need to use, in the case of dnf-automatic, an SMTP server that is set up and authenticated with Office365. That way when dnf-automatic sends out an email as [email protected], it goes to your SMTP server to authenticate, then sends via whatever account info the SMTP server is authenticating by... whether it's a global "[email protected]" address or whatever.

                                        Actually they do. Both O365 and GMail accept without any of that stuff. Specifically, both of those we test with this all the time. Many email systems do require that, but not those.

                                        I've tested in the last 30 minutes from a new install, in fact.

                                        ObsolesceO 1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @BRRABill
                                          last edited by

                                          @brrabill said in If you have multiple servers on a network, do you install postfix on each one:

                                          OK, so let's take this a step back.

                                          Bob is an IT admin. He hosts his mail on Office365.

                                          He wants to use dnf-automatic to send mail.

                                          How does he do this?

                                          Still makes no sense. He wants dnf-automatic to send email TO WHERE?

                                          1 Reply Last reply Reply Quote 0
                                          • ObsolesceO
                                            Obsolesce
                                            last edited by

                                            Looks like it does. Just set up postfix to use your email and password to send mail out.

                                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post