Hello,
In my logs, I see that the host "starttls-virginia.proxy-research.com
<http://starttls-virginia.proxy-research.com>" regularly connect to my
server and disconnect without doing anything.
To not make it appear anymore in the logs, I tried to block it with this
rule in smtpd.conf but it does not work :
match \
from mail-from "proxy-research.com <http://proxy-research.com>" \
for domain $DOMAIN \
reject
Where $DOMAIN is "mydomain.tld".
Where is my mistake ?
That would only reject the mail reception if a sender would try to send
mails to *@mydomain.tld with *@proxy-research.com as a sender address.
(And even then I believe you would have to at an @ before
proxy-research.com)
But you stated that the connection doesn't do anything. So the
rejection-rule can't apply.
Even if you would use
match from rdns starttls-virginia.proxy-research.com reject
you would still get a log entry. You have to block them with a firewall.