Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PRoblemas com msmtp en ubunutu server 20.04
- 1.
- ls -l /usr/bin/msmtp
- -rwxr-sr-x 1 root msmtp 130728 Oct 11 2019 /usr/bin/msmtp (en amarillo)
- 2.
- contenido de /etc/msmtprc
- GNU nano 4.8 msmtprc
- # Set defaults.
- defaults
- # Enable or disable TLS/SSL encryption.
- tls on
- tls_starttls on
- tls_trust_file /etc/ssl/certs/ca-certificates.crt
- # Setup WP account's settings.
- account gmail
- host smtp.gmail.com
- port 587
- auth login
- user danislatabarca@gmail.com
- password xxxxxx
- from danislatabarca@gmail.com
- logfile /var/log/msmtp/msmtp.log
- account default : gmail
- 3.
- sudo ls -l /var/log/msmtp
- total 0
- -rw-r--r-- 1 msmtp msmtp 0 Jan 20 10:36 msmtp.log
- 4.
- Tutorial fuente para la instalación de msmtp
- https://codingproductivity.wordpress.com/2018/01/18/configuring-msmtp-on-ubuntu-16-04-again/
- 5. #error que da al querrer mandar un correo: (con y sin sudo)
- echo "test" | mpack -s "test" setlocaleES.sh danpacu@gmail.com
- sendmail: cannot connect to smtp.gmail.com, port 587: Expiró el tiempo de conexión
- sendmail: could not send mail (account default from /etc/msmtprc)
- sendmail: cannot log to /var/log/msmtp/msmtp.log: cannot open: Permiso denegado
- sendmail: log info was: host=smtp.gmail.com tls=on auth=on user=danislatabarca@gmail.com from=danislatabarca@gmail.com recipients=danpacu@gmail.com errormsg='cannot connect to smtp.gmail.com, port 587: Expiró el tiempo de conexión' exitcode=EX_TEMPFAIL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement