[MacPorts] #19621: imapsync fails

MacPorts noreply at macports.org
Thu May 14 04:05:55 PDT 2009


#19621: imapsync fails
----------------------------------+-----------------------------------------
 Reporter:  martijn@…             |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.7.1                                
 Keywords:                        |        Port:  imapsync                             
----------------------------------+-----------------------------------------
 The command issued is:

  cat syncgmailinbox.sh
 #!/bin/bash

 /opt/local/bin/imapsync --syncinternaldates \
 --host1 blahblah.com \
 --user1 xxxx \
 --password1 xxx \
 --host2 imap.gmail.com --port2 993 --ssl2 \
 --user2 blahblah at gmail.com \
 --password2 xxx \
 --folder 'INBOX' \
 --regextrans2 's/INBOX/INBOX/'

 {{{
 TimeZone :[CEST]
 Will try to use CRAM-MD5 authentication on host1
 Will try to use CRAM-MD5 authentication on host2
 From imap server [blahblah.com] port [143] user [xxx]
 To   imap server [imap.gmail.com] port [993] user [blahblah at gmail.com]
 Banner : * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID STARTTLS AUTH=PLAIN
 AUTH=LOGIN AUTH=CRAM-MD5] blahblah.com Cyrus IMAP4 v2.3.8-OS X Server
 10.5:   9C31 server ready
 Host blahblah.com says it has CAPABILITY for AUTHENTICATE CRAM-MD5
 Internal CRAM-MD5 implementation not available: Can't locate
 Digest/HMAC_MD5.pm in @INC (@INC contains:
 /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level
 /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl
 /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level
 /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl
 /opt/local/lib/perl5/5.8.9/darwin-2level /opt/local/lib/perl5/5.8.9 .) at
 /opt/local/lib/perl5/vendor_perl/5.8.9/Mail/IMAPClient.pm line 124.
  at /opt/local/bin/imapsync line 2527
         main::__ANON__('Mail::IMAPClient=HASH(0x8a0218)', 'CRAM-MD5',
 undef) called at /opt/local/bin/imapsync line 2310
         main::__ANON__('Mail::IMAPClient=HASH(0x8a0218)') called at
 /opt/local/bin/imapsync line 791
         main::login_imap('blahblah.com', 143, 'xxx', 'xxx', undef, undef,
 0, undef, 'CRAM-MD5', ...) called at /opt/local/bin/imapsync line 731
 Use of uninitialized value in subroutine entry at /opt/local/bin/imapsync
 line 2534.
 Can't use string ("") as a subroutine ref while "strict refs" in use at
 /opt/local/bin/imapsync line 2534.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/19621>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list