Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Phil Howard
On Wed, May 19, 2010 at 12:49, Mailing List wrote: > Hi Phil, > > I've got an hack piece of regression perl code that we might be a good > starting point. I'd love to turn it into a better piece of hack code > that we could offer up. It does SSL/TLS. > > Right now it is pretty basic and forks 1K-

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Phil Howard
On Wed, May 19, 2010 at 10:04, Brian Candler wrote: > If you can do SMTP, you can do IMAP. This should get you started: > > a login f...@bar.com xyzzy > a select inbox -- or "a examine inbox" for read-only > a fetch 1:15 (rfc822) > a store 1:15 +flags (\Deleted) > a expunge > a logo

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Brian Candler
On Wed, May 19, 2010 at 09:48:02AM -0400, Phil Howard wrote: >Yes, that is what I want to be testing. So I need a way to send mail >via SMTP (including TLS and login authentication) as well as picking it >up via IMAP. But I chose to only ask for the IMAP piece of it here >(and the

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Phil Howard
On Wed, May 19, 2010 at 07:52, William Blunn wrote: > It sounds like you want a sort of "toolbox" of ready-made and tested > components, such as an IMAP client, but with rich programmatic interfaces so > that you only need to write a little bit of "glue" code to make it do > exactly what you want

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Phil Howard
On Wed, May 19, 2010 at 05:24, Brian Candler wrote: > Then you're testing the whole environment: you'll need to deliver mail > either by making SMTP connections or by invoking your LDA (e.g. sendmail) > and piping the mail in - with some way of forcing it to look "spammy" or > "not spammy" - to

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread William Blunn
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 about making sure mail is going through OK, and logins that should fail will fail, and mail deliveries that should fail will fail (fo

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Brian Candler
On Tue, May 18, 2010 at 05:32:14PM -0400, 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 > about making sure mail is going through OK, and logins that should fail will > fail, an

Re: [Dovecot] looking for IMAP testing tool

2010-05-19 Thread Steffen Kaiser
-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 go

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Nick Osborn
On 18 May 2010, at 22:32, Phil Howard wrote: > On Tue, May 18, 2010 at 15:50, Timo Sirainen wrote: > >> imaptest actually allows something similar to that. It has possibility to >> "expect" kind of scripts where it sends some commands and expects something >> specific in return. There's a tests/

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 15:50, Timo Sirainen wrote: > imaptest actually allows something similar to that. It has possibility to > "expect" kind of scripts where it sends some commands and expects something > specific in return. There's a tests/ directory that tests a lot of imap > commands replie

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Timo Sirainen
On 18.5.2010, at 19.31, Phil Howard wrote: >> http://imapwiki.org/ImapTest > > > What I'm looking for is not something that just tries commands. What I want > to do is actually try to pick up mail and store it in some directory. My > script would then check to see if it got the mail it was exp

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread William Blunn
Phil Howard wrote: Those all looked like libraries/modules. Any complete commands? Writing Perl code is not an option for me. From what origin comes your restriction on Perl? Bill

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 13:17, Mark Moseley wrote: > I haven't used it much but it looked useful: > http://bc-bd.org/blog/imapfoo/ > Hmmm. That (inserting mail into folders) can have it uses. But I'm really looking for something to do, in a very basic way, what is expected of an IMAP client, w

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 11:42, Hugo Monteiro wrote: > Replying myself in this one. Should have looked a bit further into it. > > > http://imapwiki.org/ImapTest What I'm looking for is not something that just tries commands. What I want to do is actually try to pick up mail and store it in some

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Mark Moseley
On Tue, May 18, 2010 at 8:42 AM, Hugo Monteiro wrote: > On 05/18/2010 04:40 PM, Hugo Monteiro wrote: >> >> On 05/18/2010 04:33 PM, Phil Howard wrote: >>> >>> On Tue, May 18, 2010 at 10:17, Steffen >>> Kaiser>>> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On T

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Hugo Monteiro
On 05/18/2010 04:40 PM, Hugo Monteiro wrote: On 05/18/2010 04:33 PM, Phil Howard wrote: On Tue, May 18, 2010 at 10:17, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 18 May 2010, Phil Howard wrote: Anyone ever heard of such a tool? Open source would be preferre

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Hugo Monteiro
On 05/18/2010 04:33 PM, Phil Howard wrote: On Tue, May 18, 2010 at 10:17, Steffen Kaiser wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 18 May 2010, Phil Howard wrote: Anyone ever heard of such a tool? Open source would be preferred (better http:/

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
On Tue, May 18, 2010 at 10:17, Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On Tue, 18 May 2010, Phil Howard wrote: > > Anyone ever heard of such a tool? Open source would be preferred (better >> > > http://search.cpan.org/search?mode=dist&query=imap > Those al

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Heiko Schlittermann
Phil Howard (Di 18 Mai 2010 16:04:14 CEST): > I'm looking for an IMAP testing tool, suitable to use with Dovecot IMAP. It > needs to support TLS, STARTTLS, and login/authentication. It needs to be > able run from command line, shell scripts, and even do so under cron jobs > (e.g. a way to supply

Re: [Dovecot] looking for IMAP testing tool

2010-05-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 18 May 2010, Phil Howard wrote: Anyone ever heard of such a tool? Open source would be preferred (better http://search.cpan.org/search?mode=dist&query=imap :) Regards, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG

[Dovecot] looking for IMAP testing tool

2010-05-18 Thread Phil Howard
I'm looking for an IMAP testing tool, suitable to use with Dovecot IMAP. It needs to support TLS, STARTTLS, and login/authentication. It needs to be able run from command line, shell scripts, and even do so under cron jobs (e.g. a way to supply the password to use w/o a terminal prompt). Typical