auto update debian 13
1. Install Required Packages Install the update utility and the mail tools needed to send notifications. bash sudo apt update && sudo apt upgrade -y sudo apt install unattended-upgrades apt-listchanges bsd-mailx msmtp msmtp-mta -y 2. Configure msmtp (Zoho Mail) Create and secure the mail configuration file at /etc/msmtprc . Edit the file: sudo nano /etc/msmtprc Add your Zoho settings: ini defaults auth on tls on tls_starttls on tls_trust_file /etc/ssl/certs/ca-certificates.crt logfile /var/log/msmtp.log account zoho host smtp.zoho.com port 587 from your-email@zoho.com user your-email@zoho.com password your-regular-password account default : zoho Set Permissions: bash sudo groupadd -f msmtp sudo chown root:msmtp /etc/msmtprc sudo chmod 640 /etc/msmtprc echo "Test body" | msmtp -d rashitha@gmx.com if permission error...