Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 5 of 5

This is a discussion on security: someone using IMAP on my server? in the VPS & Dedicated forum
Hi, I just saw this in my latest logwatch report: --------------------- Connections (secure-log) Begin ------------------------ Connections: Service imap: 127.0.0.1: 1 Time(s) 218.252.52.39: 3 Time(s) ---------------------- ...

  1. #1
    cef
    cef is offline
    JPC Member
    Join Date
    Apr 2006
    Location
    NYC
    Posts
    16

    security: someone using IMAP on my server?

    Hi,

    I just saw this in my latest logwatch report:

    --------------------- Connections (secure-log) Begin ------------------------

    Connections:
    Service imap:
    127.0.0.1: 1 Time(s)
    218.252.52.39: 3 Time(s)

    ---------------------- Connections (secure-log) End -------------------------

    The IP isn't mine -- it's from Hong Kong. I just banned it in iptables.

    What exactly does the message mean? Did someone use IMAP on my server to send mail? Did they actually log into a mail account via IMAP?

    How would I go about investigating this on my machine? Where would I look?

    Thanks in advance for any help.

  2. #2
    Friendly rainboy's Avatar
    Join Date
    Apr 2006
    Location
    Eindhoven, The Netherlands
    Posts
    546
    logwatch doesn't show that much information in your log here, so i would look to the original log files for details.

    However connecting to your imap service is possible for everyone, just hope they are not able to authenticate, then you would have another problem.

    I wouldnt worry to much about this though, probably just someone knocking on your imap port and got a response from it.

    Kind regards,
    Patrick

  3. #3
    cef
    cef is offline
    JPC Member
    Join Date
    Apr 2006
    Location
    NYC
    Posts
    16
    Rainboy, thanks for the help.

    Quote Originally Posted by rainboy
    logwatch doesn't show that much information in your log here, so i would look to the original log files for details.
    That's what I don't know. What's the mail log file? I'm running CentOS. I guess I can poke in the logwatch source and try and find it.

    Quote Originally Posted by rainboy
    However connecting to your imap service is possible for everyone, just hope they are not able to authenticate, then you would have another problem.
    I didn't know if the logwatch notification meant that someone *had* authenticated, or if they were merely *trying* to log in. That's the key, and hence my question here.


    Quote Originally Posted by rainboy
    I wouldnt worry to much about this though, probably just someone knocking on your imap port and got a response from it.

    Kind regards,
    Patrick
    That's what I figured, but I wanted to be sure.

    Thanks again.

  4. #4
    Friendly rainboy's Avatar
    Join Date
    Apr 2006
    Location
    Eindhoven, The Netherlands
    Posts
    546
    Cef,

    I think you need the /var/log/maillog for that, not 100% sure though. Otherwise do a grep in the /var/log for that IP address and i am sure the correct logfile will popup.

    Kindest regards,
    Patrick

  5. #5
    cef
    cef is offline
    JPC Member
    Join Date
    Apr 2006
    Location
    NYC
    Posts
    16
    Thanks Patrick. I did some digging, it's in /var/log/secure and was written by xinetd.

    I couldn't find the IP referenced in any of exim's logs, so I am assuming that no one got in from that IP and sent mail.

    You're right; I think it was just someone sniffing around.

    Thanks again for the help.

    Charles.

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
  •