I already install an mail server (postfix) in raspberry pi 2 and i´m not using the ssl/tls autentication. The “Send test mail” is OK and i receive in raspberry user root. The log is the following:
Feb 13 12:11:36 rpi postfix/qmgr: DF74A40600: email@example.com, size=495, nrcpt=1 (queue active)
Feb 13 12:11:36 rpi postfix/smtpd: disconnect from MAN3.lan[192.168.1.65]
Feb 13 12:11:37 rpi postfix/local: DF74A40600: firstname.lastname@example.org, relay=local, delay=0.19, delays=0.14/0.03/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Feb 13 12:11:37 rpi postfix/qmgr: DF74A40600: removed
BUT when the CCTV try to send any motion alarm the log is the following:
Feb 13 12:12:16 rpi postfix/smtpd: connect from cam2[192.168.1.10]
Feb 13 12:12:16 rpi postfix/smtpd: lost connection after EHLO from cam2[192.168.1.10]
And there are a lot of that emails. Maybe i have some wrong configuration of the email server. I must have more time to test with other email client.
NOTE: I´m self learning person with a friend called Google.com.