-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 18 May 2010, Phil Howard wrote:
What I need is a program that already has all the logic to do IMAP as a client already in it. This isn't about testing IMAP logic per-se. It's
That're the IMAP libraries for.
about making sure mail is going through OK, and logins that should fail will fail, and mail deliveries that should fail will fail (for example mail from a computer listed as blocked should never show up in the mailbox designated to test that, along with mail that has keywords specifically marked as "is always spam"). It's testing at a higher level than seeing if a given IMAP command gives the expected response (which is more of a diagnostic tool than the monitoring tool I need).
IMHO, you would need a pretty complex language to describe, what action is to fail and how (server response) and which includes stuff like "scan all messages in mailbox XYZ and search for SPAM tags", that this is probably not far away from using an IMAP lib itself.
Back in the time, when one dialed up via modem, there had been a tool called "expect", http://www.redhat.com/mirrors/LDP/LDP/nag2/x6675.html . Maybe you find something more generic by combing an IMAP library and a general purpose pattern matching tool.
BTW: It's more an configuration testing suite in my eyes and quite useful.
Regards,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBS/OiFL+Vh58GPL/cAQK3kQgAu8Jkse3puny9IBQC5g4GjjVyJ+jM0Jyt /7iXI3il8MIR7jbvzdJ0IChUkCc59zSQUUWofOC27X6O6Mgav+hoI93VPk+qa9sz pAHyRITXdlQYze6H8LvojzoaLIHLAtLKA0H6y7AyYy95dxvNyWj9Ztf0oLVOwpcN TAY6XKnCrM/D2aZeX4rVTryXwRqqRWzCYht/+Mu80GYmKdSqWBQYnL6+1vDqUPyJ uWICaAmcgw3c7HJGdzMNbbf6SfleOwTGQN+Iv1SDkfNuXM+mHTnSH4uFKfzAEgNU K8njLGCvcl9d+ZyT6+y7d226mSa45z64mZmrFyJEE2one30BNd7JGg== =GVZT -----END PGP SIGNATURE-----