Jump to content

Email Piping


BPmedia-David

Recommended Posts

I cant for the life of me figure out how to get email piping to work. I edited the filter list in /etc/valiases/ to add the redirect, since cpanel 11 is retarded, then I added the cron job... I've tried it several times, it won't work.

 

 

I've heard it might be a PHP bug. I'm running 4.4.7 if that helps at all.

 

Can anyone help me?

Link to comment
Share on other sites

  • WHMCS CEO

It's unlikely to be a PHP bug, but cPanel 11 does screw around with piping commands. My advice is to switch to the x2 theme when setting up forwarding in cPanel and add it using the command WHMCS gives you to use in the admin area.

 

Matt

Link to comment
Share on other sites

I switched to x2. A screenshot of the "forwarders" section is included, and heres the exact line from /etc/valiases:

support@bluepipes.net: | php -q /home/bluepipe/public_html/client/pipe/pipe.php

 

Heres the screenshot, since I cant include the text "h t t p" until I've made 15 posts. Nice rule.

 

i12.tinypic.com/5zlki1d.jpg

Link to comment
Share on other sites

  • 3 weeks later...

Can you perhaps let us know how was it solved please?

 

I cant for the life of me figure out how to get email piping to work. I edited the filter list in /etc/valiases/ to add the redirect, since cpanel 11 is retarded, then I added the cron job... I've tried it several times, it won't work.

 

Also switched to x2 and x themes and tested the different solutions on this and cpanel forum several times. (Both piping, cron and pop3 - Send about 20 test messages)

 

I use a pretty standard whm 11 installation but for some reason never get piping to work (for other program too) so will also submit ticket to our support company.

Link to comment
Share on other sites

I changed to appropriate /etc/valiases/ domain file several times without any success. For example

 

email: "|php -q /home/onlineb/public_html/test/pipe/pipe.php "

email: "| php -q /home/onlineb/public_html/test/pipe/pipe.php "

email: "|php -q /home/onlineb/public_html/test/pipe/pipe.php"

email: |php -q /home/onlineb/public_html/test/pipe/pipe.php

email: | php -q /home/onlineb/public_html/test/pipe/pipe.php

 

I also send the email from email address from other domain and even from other servers too.

 

Also changed the pipe.php permissions to 755 (as suggested on cpanel forums) without any success either.

 

Also test it with cron and email polling.

 

All that I can think of is that there is either other problem somewhere or that exim must for example be restarted after a change or something. (I restarted exim but not after each change)

Link to comment
Share on other sites

Thanks for the advice.

 

I however already setup the support departments with two email addresses, one for support and one for accounts.

 

During testing I used both with different settings so the various tests was actually double tests. (i.e. change the settings of one according some suggestions and the settings of the other according other set of suggestions and then test to see which one work.)

 

Oh well. Once I am done with everything and purchase the program I will submit a support ticket to get this fixed.

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