Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my Logwatch logs I found 3 lines that look weird to me, I speculate that they are hacking attempts.

IMAP connect from @ [::ffff:]DEBUG: Connection, ip=[::ffff:]: 6 Time(s)

The address is a Korean IP, not ours, and is probably the attacker. The other address,, is our IP. I have 3 more similar lines with the same Korean IP but with a different IP of our clients.

IMAP connect from @ [::ffff:]checkmailpasswd: FAILED: admin - short names not allowed from @ [::ffff:]DEBUG: Connection, ip=[::ffff:]: 1 Time(s)

This time a source IP of, from an Iranian registrar, and our client IP

IMAP connect from @ [::ffff:]checkmailpasswd: FAILED: admin - short names not allowed from @ [::ffff:]IMAP connect from @ [::ffff:]INFO: LOGIN,, ip=[::ffff:]: 1 Time(s)

I changed the use to

Can anyone help me understand this? I understand that someone is trying to bruteforce us but how is our IP address involved in this?

share|improve this question
up vote 1 down vote accepted

The first couple of lines are remote connections trying to bruteforce an attack (all the ones with obviously remote IP addresses)

Do you have a webmail interface on your mailserver? If you do, connections from webmail will show up as from the local IP address. The last entr, which originates from your IP address and uses a user@domain format, is probably someone logging into webmail and getting their password wrong.

(Edited in response to your comment)

You logfiles are showing the connecting IP address and the IP address that is being connected to. This is why there is an 'attacking ip' and 'your ip'. This is normal logging syntax for postfix as far as I can tell.

share|improve this answer
about the bruteforce of the first line - i know that. but the is ip of my client (for sure) so why there is an attacker ip and my client ip in the same line? what it's mean? i have webmail interface yes. but still it's the same thing: 1 ip of the attacker and 1 ip of my client. that what scare me. – Jack Deeds Jul 27 '13 at 2:09
so it's mean that the ip address from iran is the attacker and it's try to connect to my client? it's make no sense because it should connect to the server. i got it all wrong? – Jack Deeds Jul 27 '13 at 12:24
I'm not that familiar with postfix. At a guess, it's actually collapsing multiple lines: You have one IMAP line showing the connection attempt, and one DEBUG line appended to it showing a connection from your client. Your original post suggested that 'your ip' was your server ip, not a client IP, and I misread that. I still think these are unrelated log messages – Daniel Lawson Jul 27 '13 at 21:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.