Opened 15 years ago

Closed 13 years ago

#19621 closed defect (duplicate)

imapsync fails

Reported by: martijn@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: imapsync

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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@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@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.

Change History (5)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 15 years ago by martijn@…

Any news? Possibly an ETA? I would love to be able to use it again.

comment:3 Changed 15 years ago by helmut@…

I had the same problem...

port install p5-digest-hmac

fixed it.

Good luck. Helmut

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.