Easy POP3 Account Tester

by damonp on March 1, 2006

in SysAdmin

I frequently need to test POP3 accounts to debug connection issues. Poptester is an expect script I wrote to do just this.

[root@calypso files]# ./poptester.exp
Usage: ./poptester.exp hostname username password [msgid]

Drop poptester.exp into a directory in your path. Execute it by passing the mailserver hostname and the username and password to test all on the command line. It will connect to the POP server, authenticate through plaintext authentication and retrieve a list of the messages available. You can also supply an optional msgid to test retrieving a specific message.

Popularity: 5%

Most Popular Posts

Damon Parker is a freelance sysadmin and web developer in Texas. He specializes in server setup, server security and high performance server configurations. Need help setting up a web server or getting a server back online after a crash or hack? Email Damon

{ 2 comments… read them below or add one }

flame August 18, 2009 at 11:05 pm

this script rocks
very simple but so much easier than stuffing around in a telnet session

Reply

visor December 31, 2010 at 6:29 am

Thank you very much. I searched for a POP3 tester a lot of time.

Reply

Leave a Comment

Previous post:

Next post: