Skip to main content

Blocking Spammer

Comments

13 comments

  • keat63
    Whilst we wait for a tech to come along, could you provide the output from one of those messages /var/log/exim_mainlog . exigrep message_id_here /var/log/exim_mainlog
    If you have CSF firewall installed you could add the following to the IP deny list. (using the correct IP of course) 123.456.789.0/24 # do not delete - relay spammer
    0
  • Monto
    Thanks, however there are multiple ips. When I put the command in with either of the last 2 messages, I get a nil return.
    0
  • keat63
    123.456.789.0/24 would block everything coming from 123.456.789.### However, it would be good to learn what's causing these. Has the log rotated maybe ?
    0
  • Monto
    Yes, I would like to know, and ideally be able to block it without blocking any legit ips. Thanks for your input, it might get down to doing as you suggest.
    0
  • keat63
    I have a few of these types of rules. I work on the basis that there are potentially 4 billion IP4 addresses, so blocking just 256 of them is a drop in the ocean. If you are really concerned about dropping all 255, maybe consider researching which country they originate. If you've absolutely no dealings with Timbuktoo, then don't be afraid the block them. I apply these types of rules, then i'll remove them again in a few months time. They've usually gone by then.
    0
  • Monto
    They are from Miami, FL. But I think you are right.
    0
  • keat63
    jump on one when you next see it, see if you can grab the info with exigrep
    0
  • Monto
    Although I get no output from the command you gave, I searched the exim mainlog file via cfs, and got the following, which doesn't shed much light? redacted
    0
  • Monto
    I am still keen to find out anything more I can, but I have done as you suggested and done the 0/24 block. Will see how that goes, thanks.
    0
  • keat63
    if any of this info is unique to you, ie email address or IP address, it would be wise to obfuscate some of it. Do you have SPF and DKIM set up on your domain
    0
  • Monto
    None of it was, that is much the point. Not my email or domains, in or out and not my ip. But I have removed it to protect the guilty :)
    0
  • cPanelLauren
    I'd need to see the exigrep output to give you any more information, @keat63 was right to suggest it.
    0
  • Monto
    Hi Lauren, is this what you are after? 2020-09-21 17:56:38 H=(136833808.vectronicsappleworlds.com) [89.33.192.58]:48497 X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no F= rejected RCPT : Rejected relay attempt: '89.33.192.58' From: 'contact136833808@vectronicsappleworlds.com' To: 'mboconnect2019@hotmail.com'
    0

Please sign in to leave a comment.