Following the attacks of September 11, 2001, the National Security Agency stepped up its efforts to collect intelligence domestically by filtering millions of phone conversations and e-mail messages.