D
D
Dmitry2017-01-10 21:54:16
linux
Dmitry, 2017-01-10 21:54:16

How to find out which process is connected to port 25?

Greetings. Costs EXIM (sendmail stood before). In general, pret spam from the localhost.
Here's what's in the queue message headers:
......
-host_address 127.0.0.1.42120
-received_protocol esmtps
......
268P Received: from localhost ([127.0.0.1]:42120 helo=mysite.ru)
by myhostname .ru with esmtps (TLSv1:DHE-RSA-AES256-SHA:256)
Some process sends letters through port 25 of the localhost.
How to calculate it? I can say for sure that this is not a php script.
Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
W
Wexter, 2017-01-10
@Wexter

sudo netstat -tanp | grep :25

M
MustDie95, 2017-01-11
@MustDie95

It didn't work with EXIM, but maybe this way www.inmotionhosting.com/support/email/exim/find-sp... will help you find the source of the problem

A
Andrey Mikhalev, 2017-01-11
@Endru9

and it's definitely not php?
just if it's not php - then you've been hacked! and that's even worse! here it's simple - we'll clean up the scripts!

A
Alexander Valle, 2017-01-12
@v1pby

If the connection is not permanent, run tcpdump and listen on port 25.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question