Where did you see this message? It does not look exactly like an avast message.

It has nothing to do with someone trying to contact you. It does indicate that something in your system was trying to establish contact from your system to a server using port 143, which is the port typically used for IMAP mail connections.

If you have the logging set up that I recommended - what does the log show?