This question is influenced by the diskclean utility in Windows.
Is there a tool (and a need) to perform the task. I tend to used when imaging a hard disk.
Thank you
This question is influenced by the diskclean utility in Windows.
Is there a tool (and a need) to perform the task. I tend to used when imaging a hard disk.
Thank you
On my Windows machines I use Task Scheduler to perform two tasks:
I managed the first point in ubuntu using crontab.
In windows I manage the second point using Events. I setup task scheduler so that if event 2013 triggers I send an email.
It is possible to achieve the same with Ubuntu server?
Thanks
I am trying to install Ubuntu on an HP Elitebook 850G2.
I boot from USB and the installation appears to go flawlessly.
When the laptop boots after installation it goes into a boot loop.
I tried using both Server 20.04.3 and Desktop 21.10.
Laptop is on the latest HP BIOS. These is not other OS installed on the computer.
What can I do to diagnose and resolve the issue.
I have an HP EliteBook and am trying to enable Wake-on-Lan but I was not able to get it to work. The BIOS doesn't have a WOL setting.
I did some searching and found this link: https://support.hp.com/ro-en/document/c04955641. My laptop is listed here. Is there a similar process I can follow on Ubuntu 20.04?
Thank you
I have successfully setup a system config to send emails using msmtp. Below is the configuration (located in /etc/msmtprc).
account default
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /var/log/msmtp
# gmail
host smtp.gmail.com
port 587
from <account>@gmail.com
user <account>
password <password>
# Syslog logging with facility LOG_MAIL instead of the default LOG_USER
syslog LOG_MAIL
I wanted to use libsecret to not have the password showing, so I did the following
secret-tool store --label=msmtp host smtp.gmail.com service smtp user <account>
I verified that the password was stored by typing:
secret-tool lookup host smtp.gmail.com
I then modified /etc/msmtprc as follows:
account default
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /var/log/msmtp
# gmail
host smtp.gmail.com
port 587
from <account>@gmail.com
user <account>
# Syslog logging with facility LOG_MAIL instead of the default LOG_USER
syslog LOG_MAIL
This is not working.
If I dump /var/log/msmtp I get the following:
Nov 12 14:36:30 host=smtp.gmail.com tls=on auth=on user= [email protected] recipients= smtpstatus=535 smtpmsg='535-5.7.8 Username and Password not accepted. Learn more at\n535 5.7.8 https://support.google.com/mail/?p=BadCredentials n10sm6743893wrv.77 - gsmtp' errormsg='authentication failed (method PLAIN)' exitcode=EX_NOPERM
What am I doing wrong?
Thanks
I am trying to setup Ubuntu 20.04 with msmtp as a system configuration.
I installed msmtp (v1.8.6-1) and heirloom-mailx (v12.5-2+deb7u1build0.14.04.1).
Config file /etc/msmtprc (chmod: 600) has the following:
# Set default values for all accounts.
account default
auth on
tls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile /var/log/msmtp
# gmail
host smtp.gmail.com
port 587
from <account>@gmail.com
user <account>
password <password>
# Syslog logging with facility LOG_MAIL instead of the default LOG_USER
syslog LOG_MAIL
Log file /var/log/msmtp file mode is 660.
File /etc/mailrc (chmod: 600) contains the following:
set sendmail="/usr/bin/msmtp"
When I try to use sendmail to send an email from terminal I get the following sendmail: account default not found: no configuration file available.
The same error comes up if I directly invoke msmtp.