| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
(#1)
|
| New Member Posts: 4 Join Date: Nov 2007 | set-up piping in directadmin - pls help -
06-11-2007, 08:46 AM
I have been reading through the posts and trying to get my email pipe working but I seem to be very unsuccessful. I am on a unix server using directadmin. There have been very few posts on setting-up pipe in directadmin. I'm a newbie at this so excuse any errors I make....or if I say anything stupid. I'm just trying to understand and make email pipe work. I tried using POP3 but I had to recompile (*NIX Users should recompile the PHP with the --with-imap flag) so I decided to use pipe instead. These are the steps that I've followed so far: 1. chmod cli/index.php to 755 (i also tried 777) 2. create an email queue: address - support@mydomain.com queue type - tickets fetch type - pipe and further down: department - general ticket status - open priority - medium 3. in directadmin, on forwarders: forwarder name - support@mydomain.com destination email - "|/domains/mydomain.com/public_html/cli/index.php" (my cli/index.php contains this #!/usr/local/bin/php -q so i also tried using "|/usr/local/bin/php /domains/mydomain.com/public_html/cli/index.php" ) 4. when i send an email to support@mydomain.com (when using "|/domains/mydomain.com/public_html/cli/index.php") the email bounces back with this: This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: pipe to |/domains/mydomain.com/public_html/cli/index.php generated by support@mydomain.com local delivery failed 5. when i send an email to support@mydomain.com (when using "|/usr/local/bin/php /domains/mydomain.com/public_html/cli/index.php") the email bounces back with this: This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: pipe to |/usr/local/bin/php /domains/mydomain.com/public_html/cli/index.php generated by support@mydomain.com local delivery failed The following text was generated during the delivery attempt: ------ pipe to |/usr/local/bin/php /domains/mydomain.com/public_html/cli/index.php generated by support@mydomain.com ------ Could not open input file: /domains/mydomain.com/public_html/cli/index.php What am i missing out? Do i have to configure something else? I read somewhere about changing something in the cli/index.php file - do i have to change #!/usr/local/bin/php -q to some other location? my php.ini file is in /usr/local/lib (tho i tried this already and i still didnt get any tickets). Please help and guide me, anyone? |
| | |
(#2)
|
| Member Posts: 195 Join Date: Oct 2007 Location: Jakarta, Indonesia |
06-11-2007, 10:30 AM
Quote:
+ Free: Ticket List & Search Mods | Dept. Display Names + Free: (Almost) Perfect Outlook/HTML Tickets + Tutorials: SLA System Explained | Using Template Groups Kayako v3.20.02 | PHP: 5.2.6 | MySQL: 5.0.58 | CentOS 4 | |
| | |
(#3)
|
| Senior Member Posts: 3,852 Join Date: Aug 2006 Location: Mumbai, India |
06-11-2007, 11:55 AM
I do not believe you need PHP compiled with IMAP if you are setting email piping. You need to make sure: 1) File permissions are set correctly 2) Piping path is set correctly 3) PHP path is set correctly in /cli/index.php - you can check this by SSHing to your server and running the command: whereis php HTH ![]() Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support Our Skins and Services - http://www.supportskins.com/store/ SupportSkins.com - http://www.supportskins.com/ |
| | |
(#4)
|
| New Member Posts: 4 Join Date: Nov 2007 |
07-11-2007, 12:55 PM
IT WORKED!!!!! I was finally able to receive a ticket after sending an email to support@mydomain.com. I didn't have to compile PHP with IMAP. I had my piping path wrong. THAT WAS ALL!!!! All the grief my boss gave me and it was that simple. Thank you!!!!!! |
| | |
(#5)
|
(#6)
|
| Senior Member Posts: 3,852 Join Date: Aug 2006 Location: Mumbai, India |
09-11-2007, 11:59 AM
Good to know the issue is resolved ![]() Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support Our Skins and Services - http://www.supportskins.com/store/ SupportSkins.com - http://www.supportskins.com/ |
| | |
![]() |
| Tags |
| directadmin, piping, pls, setup |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Directadmin email piping | jtabish | E-mail Piping Issues | 4 | 01-11-2007 10:23 AM |
| Another cpanel piping issue - pls HELP! | sebastian24 | E-mail Piping Issues | 2 | 04-05-2007 03:05 PM |
| Sorry to say, but yet another piping issue... | thernes | E-mail Piping Issues | 21 | 20-03-2007 08:38 AM |
| Set Up POP3 or Piping - Hosting on NetworkSolutions?? | olimits7 | E-mail Piping Issues | 1 | 15-09-2006 09:07 AM |
| Swift CLI problem | joshopkins | SupportSuite, eSupport and LiveResponse | 2 | 02-09-2006 07:12 AM |