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

    How Does dnf-automatic Send Emails

    IT Discussion
    dnf dnf-automatic email smtp linux fedora
    5
    14
    3.6k
    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
      last edited by

      Starting from another thread....

      If you are used to dealing with commands like mail from the mailx package, you may be used to apps that require a local MTA in order to send emails. In the config files of dnf-automatic however, we can instantly see that there is configuration for entering a non-local server. This means that dnf-automatic is implementing the SMTP protocol (SMTP) itself and is not dropping files in a queue.

      [email]
      # The address to send email messages from.
      email_from = [email protected]
      
      # List of addresses to send messages to.
      email_to = root
      
      # Name of the host to connect to to send email messages.
      email_host = localhost
      

      Because of this, we know that dnf-automatic is acting as an SMTP server on its own and must be configured for how your network is going to handle email and is not just relying on the default configuration of the system MTA.

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

        @scottalanmiller said in How Does dnf-automatic Send Emails:

        Starting from another thread....

        If you are used to dealing with commands like mail from the mailx package, you may be used to apps that require a local MTA in order to send emails. In the config files of dnf-automatic however, we can instantly see that there is configuration for entering a non-local server. This means that dnf-automatic is implementing the SMTP protocol (SMTP) itself and is not dropping files in a queue.

        [email]
        # The address to send email messages from.
        email_from = [email protected]
        
        # List of addresses to send messages to.
        email_to = root
        
        # Name of the host to connect to to send email messages.
        email_host = localhost
        

        Because of this, we know that dnf-automatic is acting as an SMTP server on its own and must be configured for how your network is going to handle email and is not just relying on the default configuration of the system MTA.

        No, this is jsut droping a mail to root. not email.

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

          @scottalanmiller said in How Does dnf-automatic Send Emails:

          Starting from another thread....

          If you are used to dealing with commands like mail from the mailx package, you may be used to apps that require a local MTA in order to send emails. In the config files of dnf-automatic however, we can instantly see that there is configuration for entering a non-local server. This means that dnf-automatic is implementing the SMTP protocol (SMTP) itself and is not dropping files in a queue.

          [email]
          # The address to send email messages from.
          email_from = [email protected]
          
          # List of addresses to send messages to.
          email_to = root
          
          # Name of the host to connect to to send email messages.
          email_host = localhost
          

          Because of this, we know that dnf-automatic is acting as an SMTP server on its own and must be configured for how your network is going to handle email and is not just relying on the default configuration of the system MTA.

          If you use localhost and try to send externally, there is no MTA to handle it. Hence the need to setup postfix.

          1 Reply Last reply Reply Quote 2
          • JaredBuschJ
            JaredBusch
            last edited by JaredBusch

            If you change localhost to some other MTA on or off the local network, designed to handle the to and from domains listed, nothing else needs configured locally on the machine.

            DashrenderD 1 Reply Last reply Reply Quote 1
            • matteo nunziatiM
              matteo nunziati
              last edited by matteo nunziati

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • ObsolesceO
                Obsolesce
                last edited by

                I configure the from, to, and host = my SMTP server. Nothing at all needs configured on localhost.

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

                  @jaredbusch said in How Does dnf-automatic Send Emails:

                  @scottalanmiller said in How Does dnf-automatic Send Emails:

                  Starting from another thread....

                  If you are used to dealing with commands like mail from the mailx package, you may be used to apps that require a local MTA in order to send emails. In the config files of dnf-automatic however, we can instantly see that there is configuration for entering a non-local server. This means that dnf-automatic is implementing the SMTP protocol (SMTP) itself and is not dropping files in a queue.

                  [email]
                  # The address to send email messages from.
                  email_from = [email protected]
                  
                  # List of addresses to send messages to.
                  email_to = root
                  
                  # Name of the host to connect to to send email messages.
                  email_host = localhost
                  

                  Because of this, we know that dnf-automatic is acting as an SMTP server on its own and must be configured for how your network is going to handle email and is not just relying on the default configuration of the system MTA.

                  No, this is jsut droping a mail to root. not email.

                  Wouldn't be better to say it's an SMTP client? Akin to Thunderbird?

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

                    @jaredbusch said in How Does dnf-automatic Send Emails:

                    If you change localhost to some other MTA on or off the local network, designed to handle the to and from domains listed, nothing else needs configured locally on the machine.

                    To clarify, nothing else on the dnf-automatic machine needs to be configured.

                    You likely have to configure the MTA to allow relayed mail from the ip address or hostname of the dnf-automatic machine.

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

                      @dashrender said in How Does dnf-automatic Send Emails:

                      @jaredbusch said in How Does dnf-automatic Send Emails:

                      @scottalanmiller said in How Does dnf-automatic Send Emails:

                      Starting from another thread....

                      If you are used to dealing with commands like mail from the mailx package, you may be used to apps that require a local MTA in order to send emails. In the config files of dnf-automatic however, we can instantly see that there is configuration for entering a non-local server. This means that dnf-automatic is implementing the SMTP protocol (SMTP) itself and is not dropping files in a queue.

                      [email]
                      # The address to send email messages from.
                      email_from = [email protected]
                      
                      # List of addresses to send messages to.
                      email_to = root
                      
                      # Name of the host to connect to to send email messages.
                      email_host = localhost
                      

                      Because of this, we know that dnf-automatic is acting as an SMTP server on its own and must be configured for how your network is going to handle email and is not just relying on the default configuration of the system MTA.

                      No, this is jsut droping a mail to root. not email.

                      Wouldn't be better to say it's an SMTP client? Akin to Thunderbird?

                      But in this case it's not doing that, so would be confusing. Thunderbird is an SMTP client, but doesn't do the local drop piece.

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

                        @scottalanmiller said in How Does dnf-automatic Send Emails:

                        @dashrender said in How Does dnf-automatic Send Emails:

                        @jaredbusch said in How Does dnf-automatic Send Emails:

                        @scottalanmiller said in How Does dnf-automatic Send Emails:

                        Starting from another thread....

                        If you are used to dealing with commands like mail from the mailx package, you may be used to apps that require a local MTA in order to send emails. In the config files of dnf-automatic however, we can instantly see that there is configuration for entering a non-local server. This means that dnf-automatic is implementing the SMTP protocol (SMTP) itself and is not dropping files in a queue.

                        [email]
                        # The address to send email messages from.
                        email_from = [email protected]
                        
                        # List of addresses to send messages to.
                        email_to = root
                        
                        # Name of the host to connect to to send email messages.
                        email_host = localhost
                        

                        Because of this, we know that dnf-automatic is acting as an SMTP server on its own and must be configured for how your network is going to handle email and is not just relying on the default configuration of the system MTA.

                        No, this is jsut droping a mail to root. not email.

                        Wouldn't be better to say it's an SMTP client? Akin to Thunderbird?

                        But in this case it's not doing that, so would be confusing. Thunderbird is an SMTP client, but doesn't do the local drop piece.

                        What's not doing what? dnf-automatic isn't doing a local drop piece either. It uses SMTP to drop to localhost, not whatever mailx is doing to function.
                        So in that regard, it should be exactly like what Thunderbird is doing, no?

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

                          @dashrender said in How Does dnf-automatic Send Emails:

                          @scottalanmiller said in How Does dnf-automatic Send Emails:

                          @dashrender said in How Does dnf-automatic Send Emails:

                          @jaredbusch said in How Does dnf-automatic Send Emails:

                          @scottalanmiller said in How Does dnf-automatic Send Emails:

                          Starting from another thread....

                          If you are used to dealing with commands like mail from the mailx package, you may be used to apps that require a local MTA in order to send emails. In the config files of dnf-automatic however, we can instantly see that there is configuration for entering a non-local server. This means that dnf-automatic is implementing the SMTP protocol (SMTP) itself and is not dropping files in a queue.

                          [email]
                          # The address to send email messages from.
                          email_from = [email protected]
                          
                          # List of addresses to send messages to.
                          email_to = root
                          
                          # Name of the host to connect to to send email messages.
                          email_host = localhost
                          

                          Because of this, we know that dnf-automatic is acting as an SMTP server on its own and must be configured for how your network is going to handle email and is not just relying on the default configuration of the system MTA.

                          No, this is jsut droping a mail to root. not email.

                          Wouldn't be better to say it's an SMTP client? Akin to Thunderbird?

                          But in this case it's not doing that, so would be confusing. Thunderbird is an SMTP client, but doesn't do the local drop piece.

                          What's not doing what? dnf-automatic isn't doing a local drop piece either. It uses SMTP to drop to localhost, not whatever mailx is doing to function.
                          So in that regard, it should be exactly like what Thunderbird is doing, no?

                          I don't believe that that is true, but maybe it is.

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

                            @scottalanmiller said in How Does dnf-automatic Send Emails:

                            @dashrender said in How Does dnf-automatic Send Emails:

                            @scottalanmiller said in How Does dnf-automatic Send Emails:

                            @dashrender said in How Does dnf-automatic Send Emails:

                            @jaredbusch said in How Does dnf-automatic Send Emails:

                            @scottalanmiller said in How Does dnf-automatic Send Emails:

                            Starting from another thread....

                            If you are used to dealing with commands like mail from the mailx package, you may be used to apps that require a local MTA in order to send emails. In the config files of dnf-automatic however, we can instantly see that there is configuration for entering a non-local server. This means that dnf-automatic is implementing the SMTP protocol (SMTP) itself and is not dropping files in a queue.

                            [email]
                            # The address to send email messages from.
                            email_from = [email protected]
                            
                            # List of addresses to send messages to.
                            email_to = root
                            
                            # Name of the host to connect to to send email messages.
                            email_host = localhost
                            

                            Because of this, we know that dnf-automatic is acting as an SMTP server on its own and must be configured for how your network is going to handle email and is not just relying on the default configuration of the system MTA.

                            No, this is jsut droping a mail to root. not email.

                            Wouldn't be better to say it's an SMTP client? Akin to Thunderbird?

                            But in this case it's not doing that, so would be confusing. Thunderbird is an SMTP client, but doesn't do the local drop piece.

                            What's not doing what? dnf-automatic isn't doing a local drop piece either. It uses SMTP to drop to localhost, not whatever mailx is doing to function.
                            So in that regard, it should be exactly like what Thunderbird is doing, no?

                            I don't believe that that is true, but maybe it is.

                            Well we know dnf-automatic will deliver to postfix on another host assuming that host is configured to allow relay from the dnf host. Am I missing something?

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

                              @dashrender said in How Does dnf-automatic Send Emails:

                              @scottalanmiller said in How Does dnf-automatic Send Emails:

                              @dashrender said in How Does dnf-automatic Send Emails:

                              @scottalanmiller said in How Does dnf-automatic Send Emails:

                              @dashrender said in How Does dnf-automatic Send Emails:

                              @jaredbusch said in How Does dnf-automatic Send Emails:

                              @scottalanmiller said in How Does dnf-automatic Send Emails:

                              Starting from another thread....

                              If you are used to dealing with commands like mail from the mailx package, you may be used to apps that require a local MTA in order to send emails. In the config files of dnf-automatic however, we can instantly see that there is configuration for entering a non-local server. This means that dnf-automatic is implementing the SMTP protocol (SMTP) itself and is not dropping files in a queue.

                              [email]
                              # The address to send email messages from.
                              email_from = [email protected]
                              
                              # List of addresses to send messages to.
                              email_to = root
                              
                              # Name of the host to connect to to send email messages.
                              email_host = localhost
                              

                              Because of this, we know that dnf-automatic is acting as an SMTP server on its own and must be configured for how your network is going to handle email and is not just relying on the default configuration of the system MTA.

                              No, this is jsut droping a mail to root. not email.

                              Wouldn't be better to say it's an SMTP client? Akin to Thunderbird?

                              But in this case it's not doing that, so would be confusing. Thunderbird is an SMTP client, but doesn't do the local drop piece.

                              What's not doing what? dnf-automatic isn't doing a local drop piece either. It uses SMTP to drop to localhost, not whatever mailx is doing to function.
                              So in that regard, it should be exactly like what Thunderbird is doing, no?

                              I don't believe that that is true, but maybe it is.

                              Well we know dnf-automatic will deliver to postfix on another host assuming that host is configured to allow relay from the dnf host. Am I missing something?

                              Does dnf-automatic not do both, though?

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

                                @scottalanmiller said in How Does dnf-automatic Send Emails:

                                @dashrender said in How Does dnf-automatic Send Emails:

                                @scottalanmiller said in How Does dnf-automatic Send Emails:

                                @dashrender said in How Does dnf-automatic Send Emails:

                                @scottalanmiller said in How Does dnf-automatic Send Emails:

                                @dashrender said in How Does dnf-automatic Send Emails:

                                @jaredbusch said in How Does dnf-automatic Send Emails:

                                @scottalanmiller said in How Does dnf-automatic Send Emails:

                                Starting from another thread....

                                If you are used to dealing with commands like mail from the mailx package, you may be used to apps that require a local MTA in order to send emails. In the config files of dnf-automatic however, we can instantly see that there is configuration for entering a non-local server. This means that dnf-automatic is implementing the SMTP protocol (SMTP) itself and is not dropping files in a queue.

                                [email]
                                # The address to send email messages from.
                                email_from = [email protected]
                                
                                # List of addresses to send messages to.
                                email_to = root
                                
                                # Name of the host to connect to to send email messages.
                                email_host = localhost
                                

                                Because of this, we know that dnf-automatic is acting as an SMTP server on its own and must be configured for how your network is going to handle email and is not just relying on the default configuration of the system MTA.

                                No, this is jsut droping a mail to root. not email.

                                Wouldn't be better to say it's an SMTP client? Akin to Thunderbird?

                                But in this case it's not doing that, so would be confusing. Thunderbird is an SMTP client, but doesn't do the local drop piece.

                                What's not doing what? dnf-automatic isn't doing a local drop piece either. It uses SMTP to drop to localhost, not whatever mailx is doing to function.
                                So in that regard, it should be exactly like what Thunderbird is doing, no?

                                I don't believe that that is true, but maybe it is.

                                Well we know dnf-automatic will deliver to postfix on another host assuming that host is configured to allow relay from the dnf host. Am I missing something?

                                Does dnf-automatic not do both, though?

                                I don't know if dnf-automatic is doing the local drop piece like mailx does.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post