Mail-Box-IMAP4
view release on metacpan or search on metacpan
t/10client-read.t view on Meta::CPAN
#!/usr/bin/env perl
#
# Test reading of IMAP4 folders.
# The environment has some requirements:
# On Debian:
# adduser -d /tmp/imaptest imaptest
# /etc/cram-md5.pwd:
# imaptest<tab>testje
# touch /var/mail/imaptest
# chown imaptest.users /var/mail/imaptest
# chmod 0664 /var/mail/imaptest # user running the tests
# .... and a running imapd
#
# On SuSE 8.2
# useradd -d /tmp/imaptest imaptest
# /etc/cram-md5.pwd:
# imaptest<tab>testje
# touch /var/spool/mail/imaptest
# chown imaptest.users /var/mail/imaptest
# chmod 0664 /var/mail/imaptest # user running the tests
# .... and a running imapd, which requires the start of xinetd and
# enabling the imap service via YaST2
use strict;
use warnings;
use Mail::Box::Test;
use Mail::Box::IMAP4;
t/11client-write.t view on Meta::CPAN
#!/usr/bin/env perl
#
# Test reading of IMAP4 folders.
# The environment has some requirements:
# On Debian:
# adduser -d /tmp/imaptest imaptest
# /etc/cram-md5.pwd:
# imaptest<tab>testje
# touch /var/mail/imaptest
# chown $USER /var/mail/imaptest # user running the tests
# .... and a running imapd
#
# On SuSE 8.2
# useradd -d /tmp/imaptest imaptest
# /etc/cram-md5.pwd:
# imaptest<tab>testje
# touch /var/spool/mail/imaptest
# chown $USER /var/spool/mail/imaptest # user running the tests
# .... and a running imapd, which requires the start of xinetd and
# enabling the imap service via YaST2
use strict;
use warnings;
use Mail::Box::Test;
use Mail::Box::IMAP4;
use Test::More;
( run in 0.955 second using v1.01-cache-2.11-cpan-71847e10f99 )