Help Desk Software & Beyond
May 22, 2012, 12:26:39 AM *
Welcome, Guest. Please login or register.
To post messages you need to register. We apologize for inconvenience, but this is to prevent spam.
Registration is instant (no email verification) and we do not ask for any personal information.

Login with username, password and session length
News: Welcome to Help Desk Software forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: problems getting mailboxpro to work  (Read 2074 times)
jweiss
Newbie
*

Karma: 0
Posts: 16


View Profile
« on: March 13, 2008, 01:06:41 PM »

Problem: emails aren't being pipped.

History: installed the mailboxpro script. Updated the my $cfgdir variable. Logged into my hosting company's control panel and created an email account, set it up to pipe the the mailboxpro script. Sent a couple emails, replied to a ticket. Checked the ticket system, nothing was added. Nothing happened. 2 days later my emails are returned with the following error:

Quote
Can't locate TTXConfig.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/i386-freebsd /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i386-freebsd /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /usr/www/users/servername/example.com/tickets/mailboxpro.cgi line 58.
BEGIN failed--compilation aborted at /usr/www/users/servername/example.com/tickets/mailboxpro.cgi line 58.
I'm not going to try again; this message has been in the queue too long.

So I searched through the forums. Found a post where something was said about setting the lib variable. So I went back and changed that. Sent a couple new emails. Replied to a couple open tickets. Still nothing was added to the system. I've waited 3 days to see if the emails would be returned with a new error, but they haven't.

Plea For Help: Does anyone have any ideas as to what my next step should be? Any advice would be appreciated.

Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #1 on: March 13, 2008, 01:09:39 PM »

http://forum.unitedwebcoders.com/index.php/topic,518.0.html

Send a trouble ticket to Alex at his help desk.

Find the link in one of the sticky threads then come back and let us know how you solved it.
Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
jweiss
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #2 on: March 17, 2008, 10:35:08 AM »

Just to keep everyone updated on this, I've asked my hosting company to search the logs and see if there was any error messages there. They sent me the following

Quote
grep /usr/www/users/servername/example.com/tickets/mailboxpro.cgi /var/log/maillog Mar 15 16:47:40 wedhans qmail: 1205614060.858800 delivery 2228759: success:
Fatal_error:_File_does_not_exist_[config]_at_/usr/www/users/servername/example.com/tickets/mailboxpro.cgi_line_97./did_0+0+1/

Line 97 is in the block where it reads the config file. But I've set the permissions as follows:
use lib '/usr/www/users/servername/example.com/tickets';
my $cfgdir = '.'; # '/usr/www/users/servername/example.com/tickets';
which is correct to the best of my knowledge.

I've started the trouble ticket, but the only response I've gotten so far was a message telling me to set lib to the value it was already set to. But I guess I should have told them what it was set to up front.

so, the saga continues....
Logged
Sparky
Moderator
Hero Member
*****

Karma: 83
Posts: 2,228


stop pushing all those buttons


View Profile
« Reply #3 on: March 17, 2008, 10:48:05 AM »

Just to keep everyone updated on this, I've asked my hosting company to search the logs and see if there was any error messages there. They sent me the following

Quote
grep /usr/www/users/servername/example.com/tickets/mailboxpro.cgi /var/log/maillog Mar 15 16:47:40 wedhans qmail: 1205614060.858800 delivery 2228759: success:
Fatal_error:_File_does_not_exist_[config]_at_/usr/www/users/servername/example.com/tickets/mailboxpro.cgi_line_97./did_0+0+1/

Line 97 is in the block where it reads the config file. But I've set the permissions as follows:
use lib '/usr/www/users/servername/example.com/tickets';
my $cfgdir = '.'; # '/usr/www/users/servername/example.com/tickets';
which is correct to the best of my knowledge.

I've started the trouble ticket, but the only response I've gotten so far was a message telling me to set lib to the value it was already set to. But I guess I should have told them what it was set to up front.

so, the saga continues....

You have the same problem as in this thread I previously quoted.

It's also item #2 in the Sticky FAQ here...

Quote from: sparky672

my $cfgdir = '.'; # '/usr/www/users/servername/example.com/tickets';
which is correct to the best of my knowledge.

Everything AFTER the "#" is ignored as a comment so essentially you have your config location as "." (nowhere) like this...

my $cfgdir = '.';

You are supposed to replace the dot, "." with your path. 

my $cfgdir = '/usr/www/users/servername/example.com/tickets';

Instead you accidently replaced the example in the comment.... common issue.
« Last Edit: March 17, 2008, 10:54:07 AM by sparky672 » Logged

Did you update the paths in ttxcfg.cgi after moving TTX to your new location?   Undecided
To those seeking help.... please report back when you figure it out.  Cheesy
jweiss
Newbie
*

Karma: 0
Posts: 16


View Profile
« Reply #4 on: March 17, 2008, 11:04:20 AM »

** smacks forehead *** doh!!

I didn't even notice the # in the middle of the line. I was looking at the beginning of the lines. It's fixed. Thank you.

-jeremy
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 19 queries.