Results 1 to 3 of 3

Thread: Is my machine being used for spam?

  1. #1
    Join Date
    Nov 2009
    Beans
    20

    Red face Is my machine being used for spam?

    Hi.

    when i run
    Code:
    netstat -a
    i sometimes see
    Code:
    tcp6       0      1 10.0.0.10%1382977:34240 ew-in-f27.1e100.ne:smtp SYN_SENT
    So i'm wondering if this means my ubuntu server box is being used for spam or something? There are no other (human) users on the computer and i don't use it to send mails.

    i've run
    Code:
    sudo apt-get autoremove sendmail
    in paranoia, but still when i run
    Code:
    sudo lsof -w -n -i tcp:25
    i get
    Code:
    sendmail- 1643 root    3u  IPv4   6920      0t0  TCP 127.0.0.1:smtp (LISTEN)
    and sometimes
    Code:
    sendmail- 1643 root    3u  IPv4   6920      0t0  TCP 127.0.0.1:smtp (LISTEN)
    sendmail- 2629 root    8u  IPv6  54150      0t0  TCP 10.0.0.10:34121->74.125.91.27:smtp (SYN_SENT)
    Just thought i should ask before starting the tedious process of reinstalling and restoring the system.
    Last edited by Zyprexa; December 26th, 2010 at 10:44 AM.

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Is my machine being used for spam?

    Judging from the lsof and netstat, it looks like you've got a mail server listening on the lo interface - meaning it has no access from the local network.

    Is that there all the time?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: Is my machine being used for spam?

    You can easily look at port 25 traffic with tcpdump or wireshark.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •