1- What is the meaning of these lines in /var/log/exim/main.log
?
I have these lines repeated more than 700 times in main.log
2015-03-16 21:30:57 TLS error on connection from [192.0.2.1] (SSL_accept): error:00000000:lib(0):func(0):reason(0)
2015-03-16 21:31:31 no host name found for IP address 192.0.2.1
How can I block the ip 192.0.2.1 in the exim config file? I don't want to use iptables for this ip
Can I block it with exim?
2- I would like also to know the meaning of
2015-03-15 06:29:41 no IP address found for host example.com (during SMTP connection from [192.0.2.1])
2015-03-15 06:29:41 SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=[192.0.2.1]
Actually, I don't want to recive any email in my server. I only want to send email through a php application. So I only need that the mail server being capable to send emails.
3- If I block with iptables all ip's except 127.0.0.1 (with exim) could I block all these attempts?
I don't want to allow any remote ip or host to authenticate or send emails.
Thanks in advance.