Jump to content

Problem with email piping


bosco07

Recommended Posts

I'm struggling to get the email piping function to work, but i didn't succeeded 'till now.

 

I have created my support email adress, suport@mycompany.com, and in cPanel i have created a forwarder with the command " | php -q /home/user/public_html/clienti/pipe/pipe.php" wich i copied form WHMCS. I can open tickets as a user, and i can respond to tickets from my WHMCS admin panel with no problems, but the problems appear when the user tries to reply from within its email account not from the Client Area using the built in email form, the Message Delivery Failed email comes right after the reply was sent, even if the reply is actually sent to the system cause it appears in the WHMCS ticket system, so even with the error the reply still arrives.

 

Also if I access my suport email account separately from my email client i dont see any ticket email, and i really want to have the possibility to reply the tickets form other computers or my phone when i'm not logged in the WHMCS panel.

 

I tried all instructions form the Wiki page, but i stii get that Mail Delivery Error message.

 

Here it is

 

The following text was generated during the delivery attempt:

 

------ pipe to |/home/user/public_html/clienti/pipe/pipe.php

generated by suport@mycompany.com ------

 

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0

 

How can i fix this ?

Link to comment
Share on other sites

Guys i can't get this email piping think to work, I tried several command lines, switched my cPanel theme to X1, chmoded pipe.php with different codes, deleted the first line from pipe.php, i'm out of options, i'm really sick of it, I don't know how to get this thing working, i keep getting Local Delivery failed or different types of errors.

I'm desperate, this is the only thing that is stalling me and my business.

 

Please help !!

Link to comment
Share on other sites

try the POP import method thats what i use without any issues support tickets can be responded to via emails from either admins or clientsd and support area gets updated accordingly

 

And how will i do that ? Where do i put the command line ? Create a Cron Job with it or ?

Link to comment
Share on other sites

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0

 

Seems you have apc within your php.ini file but it dosnt actually exist on the server.

 

what does the following give you from SSH?...

 

ls -l /usr/local/lib/php/extensions/no-debug-non-zts-20060613/apc.so

Link to comment
Share on other sites

I have chmoded both files to 744, my webserver is LiteSpeed, and the OS is CentOS.

 

I have requested SSH access from my hosting company and then i will run the command suggested.

 

I will return with a reply soon.

 

How my pipe.php file should be ? What is your first line in that file guys ?

Link to comment
Share on other sites

Default for Litespeed on Centos is..

 

/opt/lsws/lsphp5/lib/php.ini

 

I don't have access to such folder form FTP, is there any way to access it by SSH somehow ?

 

I have sent an email to my hosting company regarding the apc.so file problem, I'm waiting for a reply.

Link to comment
Share on other sites

Its done, my hosting company solved it, i don't know what they did but the emails are working now, so i guess problem solved, at least for now.

 

P.S : I don't want to open another topic just for that so i'm asking here : Is the Pre-Sales contact form using the same email adress as the WHMCS System Emails adress ? Is there a way to set another email adress for the Pre-Sales Form ? Like contact@company.com ? Because I have system@company.com for WHMCS System Emails wich is an fictional adress and i want contact@company.com for the Pre-Sales Contact Form. Is that possible ?

 

Thank You for you support

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated