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 = root@example.com
    
    # 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.



  • @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 = root@example.com
    
    # 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.



  • @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 = root@example.com
    
    # 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.



  • 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.



  • This post is deleted!


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



  • @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 = root@example.com
    
    # 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?



  • @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.



  • @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 = root@example.com
    
    # 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.



  • @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 = root@example.com
    
    # 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?



  • @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 = root@example.com
    
    # 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.



  • @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 = root@example.com
    
    # 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?



  • @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 = root@example.com
    
    # 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?



  • @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 = root@example.com
    
    # 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.