perl-Net-Ident looks up the username on the remote end of a TCP/IP connection. perl-Net-Ident is recommended for spamassassin.