Countering phishing attacks by automated responses