Using dnf-automatic to keep Fedora up to date
-
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@JaredBusch said in Using dnf-automatic to keep Fedora up to date:
/etc/dnf/automatic.conf
Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?
That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.
-
So, for example, if you are using Postfix, you would configure Postfix to log into O365 when sending emails.
-
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@JaredBusch said in Using dnf-automatic to keep Fedora up to date:
/etc/dnf/automatic.conf
Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?
That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.
I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.
-
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@JaredBusch said in Using dnf-automatic to keep Fedora up to date:
/etc/dnf/automatic.conf
Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?
That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.
I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.
I don't believe so, I think that the SMTP config is the only place.
-
I just did a search on this topic, and ML was the top hit
https://mangolassi.it/topic/15902/how-does-dnf-automatic-send-emails
-
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@JaredBusch said in Using dnf-automatic to keep Fedora up to date:
/etc/dnf/automatic.conf
Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?
That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.
I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.
I don't believe so, I think that the SMTP config is the only place.
OK. So, since I most likely need to install a mail server to accomplish this, is postfix the best one for this?
-
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@JaredBusch said in Using dnf-automatic to keep Fedora up to date:
/etc/dnf/automatic.conf
Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?
That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.
I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.
I don't believe so, I think that the SMTP config is the only place.
OK. So, since I most likely need to install a mail server to accomplish this, is postfix the best one for this?
Yes, definitely. It's well known, easy to configure, and the default on most all systems (and definitely all that use DNF.)
-
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@JaredBusch said in Using dnf-automatic to keep Fedora up to date:
/etc/dnf/automatic.conf
Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?
That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.
I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.
I don't believe so, I think that the SMTP config is the only place.
OK. So, since I most likely need to install a mail server to accomplish this, is postfix the best one for this?
Yes, definitely. It's well known, easy to configure, and the default on most all systems (and definitely all that use DNF.)
Down the rabbit hole I go. Needed a squid proxy server. Then needed fail2ban, then dnf-automatic, now postfix.
-
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@scottalanmiller said in Using dnf-automatic to keep Fedora up to date:
@wrx7m said in Using dnf-automatic to keep Fedora up to date:
@JaredBusch said in Using dnf-automatic to keep Fedora up to date:
/etc/dnf/automatic.conf
Does this use a built-in smtp server to send emails? What if I want to have it log into an office 365 account to send messages?
That's what the SMTP Server (aka an MTA) would be for. The SMTP server is literally the thing that logs into O365 or Gmail or whatever.
I understand that, I wanted to know if there was another config file somewhere for dnf-automatic to specify this information.
I don't believe so, I think that the SMTP config is the only place.
OK. So, since I most likely need to install a mail server to accomplish this, is postfix the best one for this?
Yes, definitely. It's well known, easy to configure, and the default on most all systems (and definitely all that use DNF.)
Down the rabbit hole I go. Needed a squid proxy server. Then needed fail2ban, then dnf-automatic, now postfix.
-
To set the dnf-automatic timer to run every day at 1AM:
nano /usr/lib/systemd/system/dnf-automatic.timer [Unit] Description=dnf-automatic timer # See comment in dnf-makecache.service ConditionPathExists=!/run/ostree-booted Wants=network-online.target [Timer] OnCalendar=*-*-* 01:00:00 [Install] WantedBy=multi-user.target
-
There really need to be a setting for this in the Workstation GUI.
-
@FATeknollogee said in Using dnf-automatic to keep Fedora up to date:
There really need to be a setting for this in the Workstation GUI.
By default Fedora Workstation + Cinnamon uses
dnfdragora
which is a totally separate process. -
@JaredBusch said in Using dnf-automatic to keep Fedora up to date:
@FATeknollogee said in Using dnf-automatic to keep Fedora up to date:
There really need to be a setting for this in the Workstation GUI.
By default Fedora Workstation + Cinnamon uses
dnfdragora
which is a totally separate process.Yes, I realize that.
This setting exists in Cockpit, no reason why it can't be in WS!