Kayako logo
E-mail Piping Issues E-mail piping issues and related configuration questions are posted here,

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
justincataldo Offline
New Member
 
Posts: 2
Join Date: Dec 2007
Location: Townsville
Piping not working on CentOS 4 - 08-01-2008, 08:20 AM

Hi all,

I'm new to Kayako and am trying to get it installed and working at work.

Setup and information:
- Email is hosted on a separate machine (running Microsoft Exchange).
- Kayako is hosted on dedicated helpdesk machine (running CentOS 4).
- I tried unsuccessfully to use POP3/IMAP so now I'm trying piping.

I realise that piping can only be used on the same machine that the mail is on, so I am using fetchmail to get it from the exchange server and put it in the mailbox of a local user on the linux box called 'support'. This appears to be working so far as I can run the script (.fetchmailrc):
Code:
poll 192.168.127.54
with protocol pop3
username support password support is support
tail -f /var/log/maillog shows this when a message is retrieved:
Code:
Jan  8 17:49:26 qccu-helpdesk sendmail[18930]: alias database /etc/aliases rebuilt by root
Jan  8 17:49:26 qccu-helpdesk sendmail[18930]: /etc/aliases: 79 aliases, longest 40 bytes, 870 bytes total
Jan  8 17:50:17 qccu-helpdesk sendmail[18939]: m087oHXd018939: from=<jcataldo@qccu.com.au>, size=5731, class=0, nrcpts=1, msgid=<F4D175BF16401840B52D7C3CD31ADE78019E4CD3@lynx-exch.lynx-fs.com.au>, bodytype=8BITMIME, proto=ESMTP, daemon=MTA, relay=qccu-helpdesk [127.0.0.1]
Jan  8 17:50:17 qccu-helpdesk sendmail[18940]: m087oHXd018939: to=<support@localhost>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=35916, dsn=2.0.0, stat=Sent
/etc/aliases has the piping I believe I need (I needed to use the smrsh method as the mail was being forwarded to root by postmaster if I didn't):
Code:
# Piping the helpdesk mail
From: support:  "|/var/www/html/cli/index.php"
To: support:    "| php -q /etc/smrsh/index.php"
Now if I use mutt to view the mail via command line on the CentOS machine I can view the email messages. The question is how do I get them into Kayako from there?

Also, what will I need in the Kayako E-mail Queue?
Just support for the email address and piping for the fetch type?

Justin
   
Reply With Quote
  (#2) Old
justincataldo Offline
New Member
 
Posts: 2
Join Date: Dec 2007
Location: Townsville
09-01-2008, 04:10 AM

It's working now. I discovered that I needed to have:

support: "|/etc/smrsh/index.php"

and not the example from the manual, haha! Whoops.

Also needed to set up bind/named and add the some domains to that so that it would email the reply tickets.
   
Reply With Quote
  (#3) Old
Crk Offline
New Member
 
Posts: 4
Join Date: Jan 2008
PIPE? When configure? - 10-01-2008, 12:36 AM

I having the equal problem ...
   
Reply With Quote
  (#4) Old
craigbrass Offline
Senior Member
 
Posts: 5,328
Join Date: Jun 2005
Location: Cumbria, UK
10-01-2008, 08:54 AM

Did you try what Justin suggested?

Quote:
It's working now. I discovered that I needed to have:

support: "|/etc/smrsh/index.php"

and not the example from the manual, haha! Whoops.

Also needed to set up bind/named and add the some domains to that so that it would email the reply tickets.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
Reply

Tags
centos, piping

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
email piping has stopped working Timetabler E-mail Piping Issues 2 05-12-2007 09:34 AM
piping not working after upgrading AlternateImage Installation & Upgrading 3 04-09-2007 02:23 PM
Cpanel Piping not working infoweb E-mail Piping Issues 5 21-04-2007 03:54 PM
Piping not working...support response cryptic at best... sigh. shed49 E-mail Piping Issues 9 18-02-2007 01:02 AM
Plesk 8 and Email Piping not working bigmaggot E-mail Piping Issues 1 23-07-2006 09:06 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46