List:Eventum General Discussion« Previous MessageNext Message »
From:Bryan Alsdorf Date:October 4 2005 8:21pm
Subject:Re: Email Routing Setup
View as plain text  
Hi,

sorry for the delay in responding. Hopefully you have already figured 
this out, if not hopefully my response will help.

Vadim wrote:
> After a few days of playing around with the system I have managed to get
> most of the e-mail integration to work. The problem that I'm having is
> with routing e-mails to the proper issue. When I reply to an issue from
> the system, it properly attaches the issue number to the email address
> (issue+XXX@stripped). When the user replies to this e-mail, the e-mail
> properly ends up in the issue@stripped inbox. (I had to set this up
> with a filter that looks for issue+ and routes it to the
> issue@stripped, this was the only way I could figure out how to do it
> because setting up Address Extensions 
> with Exim mail server & Cpanel didn't seem to work for me.)
>  
> None of the emails in the issue@stripped inbox get picked up by
> Eventum. When the cron runs download_emails.php, or when I run it
> manually I get the following error:
>  
> Error: Another instance of the script is still running for the specified
> account. If this is not accurate, you may fix it by running this script
> with 'fix-lock=1' in the query string or you may unlock ALL accounts by
> running this script with 'fix-lock=1' as the only parameter.
>  
> If I rerun the script with 'fix-lick=1', it fixes it, and lets me run
> the download_emails.php without the error. But, this error comes back
> the next time the corn job runs the script. Also, even though it lets me
> run the script, the e-mail is never actually checked, it remains unread
> in my inbox.

This is a sign that the script is terminating abnormally. Are there any 
errors in the error log (logs/errors.log)? Try turning the level of 
error reporting in PHP all the way up and run the script again. See this 
link for instructions on how to change this for Eventum: 
http://eventum.mysql.org/wiki/index.php/Displaying_PHP_errors

>  
> Just a final note. When I uncheck the 'Use account for email/note/draft
> routing' option the emails do get picked up in the system and go to the
> 'Associate Emails' section. I can then manually assign the email to the
> proper issue, but I wish I could get the system to do this by itself.

Something having to do with routing the emails isn't working right. Once 
you follow the steps above I will have a better idea on what needs to be 
done.

Regards,
/bryan
Thread
Email Routing SetupVadim15 Sep
  • Re: Email Routing SetupBryan Alsdorf4 Oct
RE: Email Routing SetupVincent Iovino4 Oct
  • Re: Email Routing SetupBryan Alsdorf5 Oct