Regarding the sendmail configuration I edited /etc/mail/
sendmail.mc in order to use SMTP
dnl SET OUTBOUND DOMAIN
MASQUERADE_AS(`sam.net')
MASQUERADE_DOMAIN(sam.net)
define(`SMART_HOST', `smtp.sam.net')dnl
...
MAILER_DEFINITIONS
dnl #MAILER(`local')dnl
MAILER(`smtp')dnl
and
m4 sendmail.m4 > sendmail.confg.
Test it as its says in the wiki
echo "Subject: test" | /usr/lib/sendmail -v your...@yourdomain.com
and check /var/log/mail.log for errors
Hope it helps
El dilluns, 17 abril de 2017 12:42:15 UTC+2, Ulhas Shah va escriure: