Propack - Imapsync - Centos7 - IMAPUTF7

dmtinc

Verified User
Joined
May 10, 2008
Messages
153
Location
Chile
Hi,

The package perl-Encode-IMAPUTF7 available. its needed by imapsync and isnt available in Centos Base repo or epel

Code:
./build imapsync
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package perl-IO-Tee-0.64-1.el7.noarch already installed and latest version
Package perl-Mail-IMAPClient-3.37-1.el7.noarch already installed and latest version
Package perl-Sys-MemInfo-0.91-7.el7.x86_64 already installed and latest version
Package perl-Readonly-1.03-22.el7.noarch already installed and latest version
No package perl-Encode-IMAPUTF7 available.
Package perl-File-Copy-Recursive-0.38-14.el7.noarch already installed and latest version
Package perl-Unicode-String-2.09-29.el7.x86_64 already installed and latest version
Package perl-Regexp-Common-2013031301-1.el7.noarch already installed and latest version
Package perl-File-Tail-0.99.3-21.el7.noarch already installed and latest version
Package perl-IO-Socket-INET6-2.69-5.el7.noarch already installed and latest version

So , you get the following error:

Code:
Can't locate Encode/IMAPUTF7.pm in @INC (@INC contains: /root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi /root/perl5/lib/perl5/5.16.3 /root/perl5/lib/perl5/x86_64-linux-thread-multi /root/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/bin/imapsync line 970.

The package needs to be manually compiled using cpan:

Code:
cpan install Encode/IMAPUTF7.pm

After that imapsync works fine:

Code:
# imapsync --version
2.178

This its only and advice to add the conditional to custombuild, for build this packages manually if the distro its centos 7.

Additionally the custombuild plugin still showing an update available for imapsync:

1662561568376.png

But if I check with the cli version:

Code:
# ./build versions
Latest version of DirectAdmin: 1.642 build f42272a9ea817a0fc6f470e3d8746802cedcd36a
Installed version of DirectAdmin: 1.642 build f42272a9ea817a0fc6f470e3d8746802cedcd36a

Latest version of LetsEncrypt: 2.0.30
Installed version of LetsEncrypt: 2.0.30

Latest version of CustomBuild plugin: 1.0.37
Installed version of CustomBuild plugin: 1.0.37

Latest version of OpenLiteSpeed: 1.7.16
Installed version of OpenLiteSpeed: 1.7.16

Latest version of Comodo ModSecurity Rule Set: 1.233
Installed version of Comodo ModSecurity Rule Set: 1.233

Latest version of Pure-FTPD: 1.0.49
Installed version of Pure-FTPd: 1.0.49

Latest version of Redis: 7.0.4
Installed version of Redis: 7.0.4

Latest version of ImageMagick: 7.1.0-24
Installed version of ImageMagick: 7.1.0-24

Latest version of imagick: 3.7.0
Installed version of imagick: 3.7.0

Latest version of WP-CLI: 2.6.0
Installed version of WP-CLI: 2.6.0

Latest version of Imapsync: 2.178
Installed version of Imapsync: 2.178

Latest version of composer: 2.4.0
Installed version of composer: 2.4.0

Latest version of AWstats: 7.8
Installed version of AWstats: 7.8

Latest version of awstats_process.sh: 2.9
Installed version of awstats_process.sh: 2.9

Latest version of dovecot: 2.3.19.1
Installed version of dovecot: 2.3.19.1

Latest version of dovecot.conf: 0.4
Installed version of dovecot.conf: 0.4

Latest version of Exim: 4.96
Installed version of Exim: 4.96

Latest version of lego: 953d5c85145b6a2b9a52f2d919faf23e04a359b3
Installed version of lego: 953d5c85145b6a2b9a52f2d919faf23e04a359b3

Latest version of s-nail: 14.9.23
Installed version of s-nail: 14.9.23

Latest version of exim.conf: 4.5.41
Installed version of exim.conf: 4.5.41

Latest version of BlockCracking: 1.12
Installed version of BlockCracking: 1.12

Latest version of Easy Spam Fighter: 1.32
Installed version of Easy Spam Fighter: 1.32

Latest version of Rspamd Config: 0.4
Installed version of Rspamd Config: 0.4

Latest version of MariaDB: 10.4.26
Installed version of MariaDB: 10.4.26

Latest version of PHP 5.3: 5.3.29
Installed version of PHP 5.3: 5.3.29

Latest version of PHP 7.4: 7.4.30
Installed version of PHP 7.4: 7.4.30

Latest version of RoundCube: 1.6.0
Installed version of RoundCube: 1.6.0

Latest version of Nginx Unit: 1.27.0
Installed version of Nginx Unit: 1.27.0

Latest version of phpMyAdmin: 5.2.0-all-languages
Installed version of phpMyAdmin: 5.2.0-all-languages

Latest version of ionCube: 12.0.1
Installed version of ionCube: 12.0.1



Regards
 
Last edited:
Even with the package manually installed , still having problems with custombuild

Code:
/etc/cron.daily/custombuild:

Can't locate Encode/IMAPUTF7.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/bin/imapsync line 970.
BEGIN failed--compilation aborted at /usr/local/bin/imapsync line 970.
Can't locate Encode/IMAPUTF7.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/bin/imapsync line 970.
BEGIN failed--compilation aborted at /usr/local/bin/imapsync line 970.
Can't locate Encode/IMAPUTF7.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/bin/imapsync line 970.
BEGIN failed--compilation aborted at /usr/local/bin/imapsync line 970.
[1mUpdating Imapsync(B[m
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package perl-IO-Tee-0.64-1.el7.noarch already installed and latest version
Package perl-Mail-IMAPClient-3.37-1.el7.noarch already installed and latest version
Package perl-Sys-MemInfo-0.91-7.el7.x86_64 already installed and latest version
Package perl-Readonly-1.03-22.el7.noarch already installed and latest version
No package perl-Encode-IMAPUTF7 available.
Package perl-File-Copy-Recursive-0.38-14.el7.noarch already installed and latest version
Package perl-Unicode-String-2.09-29.el7.x86_64 already installed and latest version
Package perl-Regexp-Common-2013031301-1.el7.noarch already installed and latest version
Package perl-File-Tail-0.99.3-21.el7.noarch already installed and latest version
Package perl-IO-Socket-INET6-2.69-5.el7.noarch already installed and latest version
Nothing to do
Found /usr/local/directadmin/custombuild/imapsync-2.178.tar.gz
Extracting ...
Done.
Configuring imapsync-2.178...
Installing imapsync-2.178...
imapsync 2.178 installed
 
still having problems with custombuild
Seems to me cause is that the build script is only looking for the locations where the rpm would put it.

In which directory is your IMAPUTF7 present at the moment? Possible workaround is to symlink it to one of the mentioned locations until the build script is fixed (if needed fixing).
 
Seems to me cause is that the build script is only looking for the locations where the rpm would put it.

In which directory is your IMAPUTF7 present at the moment? Possible workaround is to symlink it to one of the mentioned locations until the build script is fixed (if needed fixing).
I will try this, but i'm still thinking this needs to be fixed at custombuild level.

Thanks!
 
I wanted to know if I can get help moving my cpanal over I have the domains but all the email address are not there and I just need some honest help please
 
Back
Top