ACCORD5
Add a reply

ACCORD5 Company Forums » Trellis Desk » Peer-to-Peer Support

pipe.php problems with IMAP setup

 
  • Started 9 months ago by favery
  • 3 posts in this topic
  • Latest reply from favery
  1. User has not uploaded an avatar

    favery

    offline
    Member

    So I've gotten our setup working so far with fetchmail getting mail from our server over IMAP (the only option available, apparently) and passing it to pipe.php with postfix aliases. This seems to be working:


    Jul 26 10:11:34 solutions postfix/local[18741]: BD9C92E23E4: to=<root@localhost>, relay=local, delay=1.5, delays=1.5/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to command: /usr/bin/php -q /home/favery/tdesk/sources/pipe.php)
    Jul 26 10:11:34 solutions postfix/qmgr[18721]: BD9C92E23E4: removed
    Jul 26 10:11:35 solutions postfix/smtpd[18735]: disconnect from localhost[127.0.0.1]

    However, there's nothing in my tdesk/logs/errors.log to indicate that the tickets aren't making it to Trellis, but they aren't.

    This is the output from php -q on pipe.php:


    root@solutions:/home/favery/tdesk# /usr/bin/php -q /home/favery/tdesk/sources/pipe.php
    PHP Notice: Undefined index: REMOTE_ADDR in /home/favery/tdesk/includes/ifthd.php on line 277

    Notice: Undefined index: REMOTE_ADDR in /home/favery/tdesk/includes/ifthd.php on line 277
    PHP Notice: Undefined index: act in /home/favery/tdesk/includes/ifthd.php on line 57

    Notice: Undefined index: act in /home/favery/tdesk/includes/ifthd.php on line 57
    PHP Notice: Undefined property: ifthd::$member in /home/favery/tdesk/includes/ifthd.php on line 490

    Notice: Undefined property: ifthd::$member in /home/favery/tdesk/includes/ifthd.php on line 490
    PHP Notice: Undefined property: ifthd::$skin in /home/favery/tdesk/includes/ifthd.php on line 497

    Notice: Undefined property: ifthd::$skin in /home/favery/tdesk/includes/ifthd.php on line 497
    PHP Notice: Trying to get property of non-object in /home/favery/tdesk/includes/ifthd.php on line 497

    Notice: Trying to get property of non-object in /home/favery/tdesk/includes/ifthd.php on line 497
    PHP Notice: Trying to get property of non-object in /home/favery/tdesk/includes/ifthd.php on line 497

    Notice: Trying to get property of non-object in /home/favery/tdesk/includes/ifthd.php on line 497

    Anybody offer some help on this one?

    Posted 9 months ago #
  2. User has not uploaded an avatar

    favery

    offline
    Member

    Purchased a support plan. Hopefully it gets us up and running soon. :)

    Posted 9 months ago #
  3. User has not uploaded an avatar

    favery

    offline
    Member

    So this was entirely my fault. Should have checked the 'Error logs'. Silly me.

    Anywho, the email was being piped properly to tdesk, but it couldn't determine which department to create the ticket for because the email I was fetching it from didn't match the email I had setup in the Department's config

    So I fetch the mail from support_solutions@mydomain.com

    and I had favery@localhost.local (or other permutations) in the dept config rather than support_solutions@mydomain.com

    Fixed it right up, hope this helps somebody else. If nothing else, make sure you're checking logs. :)

    -Frank

    Posted 9 months ago #

RSS feed for this topic

Reply to this topic

You must log in to post.