Exim4 y correo saliente
Exim4 y correo saliente
Exim4 y correo saliente
Este post sirve para preparar envio de correo saliente desde Debian usando Exim4, smarthost SMTP y pruebas basicas de entrega.
Reconfigurar Exim4
1
dpkg-reconfigure exim4-config
Opciones habituales:
1
2
3
mail sent by smarthost; no local mail
System mail name: example.local
SMTP smarthost: smtp.example.local::587
Credenciales SMTP
Editar /etc/exim4/passwd.client:
1
smtp.example.local:<USUARIO>:<PASSWORD>
Aplicar cambios:
1
2
update-exim4.conf
systemctl restart exim4
Prueba de envio
1
2
printf 'Subject: prueba\n\nMensaje de prueba\n' | sendmail usuario@example.com
tail -f /var/log/exim4/mainlog
This post is licensed under CC BY 4.0 by the author.