ورود

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل در pipe/pop.php سیستم whmcs



a.mousavi.a
December 11th, 2013, 13:32
سلام
یک سرور دایرکت ادمین دارم که روش whmcs بالا آوردم
وقتی میخوام pipe/pop.php رو ران کنم در کران جاب این خطارو میده.

IMAP needs to be compiled into PHP for this to function

مثل این که در imap مشکلی وجود داره چون با Mozilla Thunderbird به ایمل ها که میخوام وصل بشم خطا میده.

کسی میتونه کمک کنه من رو؟

Metalik
December 11th, 2013, 14:37
سلام
روی سرو extention imap باید بر روی php کامپایل و نصب باشه. و روش نصب و فعال کردنش بستگی به سیستم عامل سرور، کنترل پنل سرور داره.

a.mousavi.a
December 11th, 2013, 14:41
سلام
روی سرو extention imap باید بر روی php کامپایل و نصب باشه. و روش نصب و فعال کردنش بستگی به سیستم عامل سرور، کنترل پنل سرور داره.


centos 5.8 64bit هستش و پنل directadmin.
میشه کمکم کنید بد جوری لنگشم

Metalik
December 11th, 2013, 15:02
How to Install PHP-Imap (http://forum.directadmin.com/showthread.php?t=37357)
IMAP installation. (http://forum.directadmin.com/showthread.php?t=30675)

a.mousavi.a
December 13th, 2013, 10:12
How to Install PHP-Imap (http://forum.directadmin.com/showthread.php?t=37357)
IMAP installation. (http://forum.directadmin.com/showthread.php?t=30675)

درست نشد.
میتونید برام انجام بدین؟

alipour66m
December 15th, 2013, 15:01
سلام
شما باید 2 کار انجام بدید اولا اشتباه تایپی داشتید pipe صحیح است نه pop
این را در cron job قرار بدید
/usr/local/bin/php -q /home/hostk/domains/hostkade.com/public_html/pipe/pipe.php
و همچنین می توانید از curl یا wget استفاده کنید
فعلا امتحان کنید خبر بدید
برای نصب imap
مراحل زیر را دقیق بروید

Reported for custombuild:

1) install c-client.
Debian:
apt-get install libc-client-dev

rpm systems (CentOS, fedora):
yum install libc-client libc-client-devel

Reported for CentOS 64-bit, also run:
yum install krb5-appl-clients.x86_64
yum install krb5-appl-servers.x86_64

2) Use this guide:
http://help.directadmin.com/item.php?id=252

to add these 2 lines to the bottom (don't forget the \ on the previous line before them)

--with-imap=/usr/lib/dovecot/imap \
--with-imap-ssl

3) Then build php:
./build php n

and that's it.


Note: as per usual, making customizations to the default install will be beyond our support.
If there are any issues with this, we'll not be able to provide assistance to make the customization.


------

Reported fix for a keberos compile issue on 64-bit systems:
ln -s /usr/lib64 /usr/kerberos/lib

------
On CentOS 64-bit, if you see the error:
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.

and cannot find libc-client.a anywhere on your box:
updatedb
locate libc-client.a

Download a uw-imap src.rpm from the internet. They can be found on rpmfind.net, eg:
http://rpmfind.net/linux/rpm2html/search.php?query=uw-imap&submit=Search+...&system=&arch=src

Then type (using the relevant src.rpm package url for your system, when possible):
wget http://files.directadmin.com/services/uw-imap-2007e-10.el6.src.rpm
rpmbuild --rebuild uw-imap-2007e-10.el6.src.rpm
cd /usr/src/redhat/RPMS/x86_64/
rpm -ivh uw-imap-static-2007e-10.el6.x86_64.rpm uw-imap-devel-2007e-10.el6.x86_64.rpm libc-client-2007e-10.el6.x86_64.rpm

Note, you may need to remove the newer version of libc-client and libc-client-devel, if the above conflict.
Also, link the .a file:
ln -s /usr/lib64/libc-client.a /usr/lib/libc-client.a
----------
Reported issue with the spec file in uw-imap-2007e-10.el6.src.rpm, which may prevent the build of the rpm:
You must change in SPEC file

%if 0%{?fedora}
%define _with_devel 1
# ship static lib, matches default upstream config
# as convenience to users, since our hacked shlib can potentially break
# abi semi-often
%define _with_static 1
%endif

To

%define _with_devel 1
# ship static lib, matches default upstream config
# as convenience to users, since our hacked shlib can potentially break
# abi semi-often
%define _with_static 1


----------
Reported for libc-client.a issue:
"The installation off libc-client.i686 and libc-client.x86_64 is enough to resolve the libc-client.a issue.
Sometimes yum install libc-client-devel.i686 and libc-client-devel.x86_64 is needed to."


===============================================
===============================================
older oudated option for customapache:

cd /home

mkdir build

cd build

wget http://files.directadmin.com/services/imapback.tar.gz

tar -zxvf imapback.tar.gz

cd imap-2002e

./buildit

cd c-client

make slx EXTRACFLAGS=-I/usr/kerberos/include EXTRALDFLAGS=-I/usr/kerberos/lib

mkdir /usr/local/imap-2000e/

mkdir /usr/local/imap-2000e/lib

mkdir /usr/local/imap-2000e/include

cp *.h /usr/local/imap-2000e/include

cp *.c /usr/local/imap-2000e/lib

cp c-client.a /usr/local/imap-2000e/lib

mv /usr/local/imap-2000e/lib/c-client.a /usr/local/imap-2000e/lib/libc-client.a

cd /usr/local/directadmin/customapache

nano -w configure.php (Add --with-imap=/usr/local/imap-2000e \ to php config)

./build php n



Details for freebsd version:
http://forum.directadmin.com/showthread.php?s=&threadid=11043

FreeBSD: edit c-client/LDFAGS and set:
-lcrypt
-L/usr/lib -lssl -lcrypto

CentOS 64-bit systems:
http://forum.directadmin.com/showthread.php?p=99453#post99453

Report that --with-kerberos needs to be removed from the configure.php|php5

satrapit
December 17th, 2013, 06:42
centos 5.8 64bit هستش و پنل directadmin.
میشه کمکم کنید بد جوری لنگشم

yum install php-imap

a.mousavi.a
December 17th, 2013, 14:07
yum install php-imap

این کار انجام شده اما مشکل حل نشد.

satrapit
December 17th, 2013, 20:29
چرا از روش pipe به جای pop استفاده نمی‌کنی؟
پیشنهاد whmcs برای کنترل‌پنل‌های cPanel و DirectAdmin روش pipe هست. روش pop بیشتر وقتی استفاده میشه که whmcs روی دامنه دیگری باشد یا کنترل‌پنل غیر از این دو باشد.
با pipe سیستم نسبت به تیکت در لحظه پاسخ میده ولی در pop بستگی به زمان cron داره که معمولا 5 دقیقه‌ای تنظیم میشه.

a.mousavi.a
December 18th, 2013, 17:02
چرا از روش pipe به جای pop استفاده نمی‌کنی؟
پیشنهاد whmcs برای کنترل‌پنل‌های cPanel و DirectAdmin روش pipe هست. روش pop بیشتر وقتی استفاده میشه که whmcs روی دامنه دیگری باشد یا کنترل‌پنل غیر از این دو باشد.
با pipe سیستم نسبت به تیکت در لحظه پاسخ میده ولی در pop بستگی به زمان cron داره که معمولا 5 دقیقه‌ای تنظیم میشه.

میشه بیشتر توضیح بدین؟
با این روش کار نکردم

satrapit
December 18th, 2013, 19:24
در بخش forward ایمیل در کنترل پنل در پایین صفحه pipe to program وجود داره

17354

با انتخاب اون و تنظیمش روی " | php -q /home/username/public_html/whmcs/pipe/pipe.php" بدون (") کاراکتر دایل کوتیشن و البته با مسیری که whmcs در بخش support department به شما میده این امکان فراهم میشه که هر ایمیلی که به آدرس مورد نظر شما ارسال میشه pipe بشه به اسکریپت pipe.php
به cron هم نیاز نیست فقط پرمیشن pipe/pipe.php باید 755 باشه

a.mousavi.a
December 18th, 2013, 19:33
در بخش forward ایمیل در کنترل پنل در پایین صفحه pipe to program وجود داره

http://www.webhostingtalk.ir/attachments/f85/17354-%D9%85%D8%B4%DA%A9%D9%84-%D8%AF%D8%B1-pipe-pop-php-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-whmcs-forwarder_config-png

با انتخاب اون و تنظیمش روی " | php -q /home/username/public_html/whmcs/pipe/pipe.php" بدون (") کاراکتر دایل کوتیشن و البته با مسیری که whmcs در بخش support department به شما میده این امکان فراهم میشه که هر ایمیلی که به آدرس مورد نظر شما ارسال میشه pipe بشه به اسکریپت pipe.php
به cron هم نیاز نیست فقط پرمیشن pipe/pipe.php باید 755 باشه

واسه directadmin نداره این رو

satrapit
December 18th, 2013, 19:43
در Destination email وارد کن اما دابل کوتیشن رو داشته باشه

a.mousavi.a
December 18th, 2013, 20:16
در Destination email وارد کن اما دابل کوتیشن رو داشته باشه




Error creating forwarder












Details
String contains an invalid email address: " | php -q /home/paraserver/domains/paraserver.net/public_html/portal/pipe/pipe.php"




خطا میده

a.mousavi.a
December 18th, 2013, 21:58
مجبور شدم ساب دومین رو به یه سرور دیگه منتقل کنم.
اوکی شد

hastak
December 23rd, 2013, 00:38
سلام
آقا منم همین مشکل رو دارم هر کاری می کنم بر طرف نمی شه

lordvps.ir
January 10th, 2014, 15:06
این مشکل رو من هم دارم کسی میتونه کمک کنه؟هزینش رو هم میدم