Skip to main content

SMTP Relay usage

Comments

13 comments

  • Lillike
    As I wrote, Exim was dead but now running. Naturally the sending emails are limited. The root (Cron Daemon) send many emails me. Here's: Date: Thu, 31 May 2018 05:42:01 -0700 From: root@ip-192xxxx.secureserver.net (Cron Daemon) To: gc@ip-192xxxx.secureserver.net --2018-05-31 05:41:01-- http://example.com/zz1.php?reboot=yes Resolving example.com... 192.xxxxx Connecting to example.com|192.xxxx|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: "zz1.php?reboot=yes.5868" 0K 2.21K=0.4s 2018-05-31 05:42:01 (2.21 KB/s) - "zz1.php?reboot=yes.5868" saved [943]
    0
  • rpvw
    A quick Google search for zz1.php turned up lots of sites (most seemed to be WordPress) and indexes, with a fair number marked with the
    0
  • cPanelLauren
    I would also suggest running a malware scan - cPanel offers ClamAV but there are others, if you're not sure what to use. Thanks!
    0
  • Lillike
    Thanks. The problem solved.
    0
  • cPanelLauren
    Hi @Lillike I'm happy to hear that! Thank you for letting us know.
    0
  • Lillike
    Today server's over quota... :( ClamAv installed and working... zz1.php... over. Mail delivery reports checked. A lots of file found with the following messages: SMTP error from remote mail server after initial connection: 554 p3plsmtpout00xxx.prod.phx3.secxx.net : HOSTING RELAY : Pn5Jf0EURyedJ : DED : You've reached your daily relay quota - 192.xxxx Before above messages: Event: defer warning Sender User: gc Sender Domain: gc.com From Address: gc@ip-192-xxxxx.secureserver.net Sender: gc Sent Time: Jun 4, 2018, 12:51:12 PM Sender Host: localhost Sender IP: 127.0.0.1 Authentication: localuser Spam Score: Recipient: zv393@mail.ru Delivered To: Delivery User: -system- Delivery Domain: Router: send_to_smart_host Transport: remote_smtp Out Time: Jun 4, 2018, 5:07:17 PM ID: 1fPn4s-0005Zl-Cg Delivery Host: Delivery IP: Size: 11.96 KB Result: retry time not reached for any host for 'mail.ru' (all notice is from same domain and recipients from RU.) Sent Summery Report from 6/1 to 6/5. Domain User Successful Deferrals Failures Failed and Deferred Total Messages Data Sent gc.com gc 211 1,095,507 35,783 1,131,290 10,738 542.97 KB root 30 236 6 242 18 774.79 KB Please, advice.
    0
  • cPanelLauren
    Hi @Lillike It sounds like you still have a compromised PHP script on the account. What is the output of the following: exigrep 1fPn4s-0005Zl-Cg /var/log/exim_mainlog
    0
  • Lillike
    A long list reveived with the following (it's not all): stem196@gmail.com sin.antihrista666@mail.ru nikolay.kamenskiy @list.ru artem-ushenin@mail.ru dazzingdemon@mail.ru 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == pavkov1969@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == nadegdam@list.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'list.ru' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == www.promodj@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 03:51:06 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1fPn4s-0005Zl-Cg +++ 1fPn4s-0005Zl-Cg has not completed +++ 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg <= gc@ip-192-xxxxx.secxxxxx.net U=gc P=local S=12242 id=595CEAB9B26648EB37327BC0E46C5BB6@spartascie nce.ru T="\320\237\321\200\320\276\321\205\320\276\320\264\320\270 \320\276\320\277\321\200\320\276\321\201\321\213, \320\277\320\276\320\273\321\203\321\207\320\260\32 0\271 \320\264\320\265\320\275\321\214\320\263\320\270" for pavkov1969@gmail.com nadegdam@list.ru www.promodj@mail.ru badashov50@mail.ru aleninaalena1989@gmail.com sant alovanm@mail.ru vladimir.bandin@yandex.ru zv393@mail.ru nikkuningas@rambler.ru esina.irina1549@gmail.com rustem196@gmail.com sin.antihrista666@mail.ru nikolay.kamenskiy @list.ru artem-ushenin@mail.ru dazzingdemon@mail.ru 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == pavkov1969@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == nadegdam@list.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'list.ru' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == www.promodj@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == zv393@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == nikkuningas@rambler.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'rambler.ru' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == esina.irina1549@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == rustem196@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == sin.antihrista666@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == nikolay.kamenskiy@list.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'list.ru' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == artem-ushenin@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == dazzingdemon@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == pavkov1969@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == nadegdam@list.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'list.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == www.promodj@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == badashov50@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == aleninaalena1989@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == santalovanm@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == vladimir.bandin@yandex.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'yandex.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == zv393@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == nikkuningas@rambler.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'rambler.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == esina.irina1549@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == rustem196@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == sin.antihrista666@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == nikolay.kamenskiy@list.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'list.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == artem-ushenin@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 04:03:58 1fPn4s-0005Zl-Cg == dazzingdemon@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 06:02:38 1fPn4s-0005Zl-Cg == pavkov1969@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com' 2018-06-04 06:02:38 1fPn4s-0005Zl-Cg == nadegdam@list.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'list.ru' 2018-06-04 06:02:38 1fPn4s-0005Zl-Cg == www.promodj@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 06:02:38 1fPn4s-0005Zl-Cg == badashov50@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 06:02:38 1fPn4s-0005Zl-Cg == aleninaalena1989@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'gmail.com' 2018-06-04 06:02:38 1fPn4s-0005Zl-Cg == santalovanm@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru' 2018-06-04 06:02:38 1fPn4s-0005Zl-Cg == vladimir.bandin@yandex.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'yandex.ru' /bin/bash: -c: line 0: syntax error near unexpected token `(' /bin/bash: -c: line 0: `lessecho -p0x22 -d0x22 -e\\ -n0x3b -n0x20 -n0x2a -n0x3f -n0x9 -n0xa -n0x27 -n0x22 -n0x28 -n0x29 -n0x3c -n0x3e -n0x5b -n0x5d -n0x7c -n0x26 -n0x5e -n0x60 -n0x23 -n0x5c -n0x24 -n0x25 -n0x3d -n0x7e -- -0005Zl-Cg == pavkov1969@gmail.com R=send_to_smart_host T=remote_smtp defer (-53): retry time not 2018-06-04 08:07:49 1fPn4s-0005Zl-Cg == dazzingdemon@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru'
    0
  • cPanelLauren
    Hi @Lillike Can you run the command again but omit these lines? 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg == www.promodj@mail.ru R=send_to_smart_host T=remote_smtp defer (-53): retry time not reached for any host for 'mail.ru'
    0
  • rpvw
    If you are constantly getting the symptoms of malware manifesting on your server, you may need to consider the two following resources: Tips to Make Your Server More Secure - cPanel Knowledge Base - cPanel Documentation Why can't I clean a hacked machine - cPanel Knowledge Base - cPanel Documentation
    0
  • Lillike
    rpvw: ClamAv, ModSecurity, firewall etc. are working... Lauren: exigrep 1fPn4s-0005Zl-Cg /var/log/exim_mainlog run the command: +++ 1fPn4s-0005Zl-Cg has not completed +++ 2018-06-04 03:51:06 1fPn4s-0005Zl-Cg <= gc@ip-192-xxxx.secureserver.net U=gc P=local S=12242 id=595CEAB9B26648EB37327BC0E46C5BB6@spartascience.ru T="\320\237\321\200\320\276\321\205\320\276\320\264\320\270 \320\276\320\277\321\200\320\276\321\201\321\213, \320\277\320\276\320\273\321\203\321\207\320\260\320\271 \320\264\320\265\320\275\321\214\320\263\320\270" for pavkov1969@gmail.com nadegdam@list.ru www.promodj@mail.ru badashov50@mail.ru aleninaalena1989@gmail.com santalovanm@mail.ru vladimir.bandin@yandex.ru zv393@mail.ru nikkuningas@rambler.ru esina.irina1549@gmail.com rustem196@gmail.com sin.antihrista666@mail.ru nikolay.kamenskiy@list.ru artem-ushenin@mail.ru dazzingdemon@mail.ru .....
    0
  • cPanelLauren
    Hi @Lillike This shows us is that the user gc is sending mail but that is most likely because a script is responsible for it. Since the message hasn't sent yet can you can view the headers: exim -Mvh 1fPn4s-0005Zl-Cg
    But ultimately what you need to find is where the message originated from within the user's account something we use to quickly identify the source of spam mail: perl <(curl -s https://raw.githubusercontent.com/cPanelTechs/SSE/master/sse.pl) -s
    It should point out where that mail is coming from though I think the entire gc user directory needs to be audited at this point.
    0

Please sign in to leave a comment.