List:Eventum General Discussion« Previous MessageNext Message »
From:Joao Prado Maia Date:April 15 2004 9:09pm
Subject:FW: auto-associate incoming email with issue
View as plain text  
Forwarding to list so we have some information about this problem later on.

Jason: next time, please reply to eventum-users@ :)

--Joao


-----Original Message-----
From: Jason Etheridge [mailto:jasone@stripped]
Sent: Thursday, April 15, 2004 3:31 PM
To: Joao Prado Maia
Subject: Re: auto-associate incoming email with issue


> Yes, it should. Why? Are you having problems making it work?

Yeah, but I'm sure I'm just missing something. [later edit: I was 
right. ;)]

> Please send some details on what's going on, if that is the case.

Okay, thanks.  I'll start from the top here. :-)

After copying the files, /eventum/setup gives me Configuration Error:

	The GD extension needs to be enabled in your PHP.INI file in order for 
Eventum to work properly.
	Directory 'templates_c' does not exist. Please create it and try again.
	File 'error_handler.log' does not exist. Please create it and try 
again.
	File 'setup.conf.php' does not exist. Please create it and try again.

So I mkdir templates_c, touch error_handler.log and touch setup.conf.php

I then edit setup/index.php and change line 100 from

	if (!stristr($contents, 'GD Support </td><td class="v">enabled')) {

to

	if (!stristr($contents, 'GD Support</b></td><td 
align="left">enabled')) {

Then I finish the installation and do  chmod -r setup/*	

I logon as the admin, choose Administration, choose General Setup, and 
I fill in these values:

	SMTP (Outgoing Email) Settings:
		Sender: Helpdesk
		Hostname: localhost
		Port: 25

	Email Routing Interface:
		Enabled
		Email Address Prefix: issue+   (this sort of routing is already 
configured in my smtp server, which is postfix)
		Address Hostname: open-ils.org

	Email Integration Feature:
		Enabled

I save those, and and go to Manage Email Accounts.

	Associated Project: Default Project
	Type: POP3
	Hostname: localhost
	Port: 110
	Username: eventum  (issue is aliased to eventum in postfix)
	Password: *****
	Advanced Options: (uncheck) Leave Copy of Messages on Server

Test Settings, Success.  Create Account.

Then I do Create Issue.  Issue created successfully.  ID# 1

List Issue, go into Issue, go to Send Email and send myself an email.

Full headers:
	Return-Path: <issue+1@stripped>
	Delivered-To: phasefx@stripped
	Received: by penguin (Postfix, from userid 1002)
		id 65014D347D; Thu, 15 Apr 2004 16:12:18 -0400 (EDT)
	Received: from localhost (localhost [127.0.0.1])
		by penguin (Postfix) with ESMTP id 2938ED347A
		for <phasefx@stripped>; Thu, 15 Apr 2004 16:12:18 -0400 (EDT)
	MIME-Version: 1.0
	Message-Id: <issue_1@stripped>
	From: "Admin User []" <issue+1@stripped>
	To: phasefx@stripped
	Subject: boo
	Content-Type: text/plain; charset="ISO-8859-1"
	Content-Transfer-Encoding: 7bit
	Date: Thu, 15 Apr 2004 16:12:18 -0400 (EDT)
	X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on
		penguin.georgialibraries.org
	X-Spam-Status: No, hits=1.8 required=2.5 tests=AWL autolearn=ham 
version=2.63
	X-Spam-Level: *

I see that Message-Id has issue_ hardcoded, but I don't know if that 
matters.  I reply to the email.

Full headers:
	From phasefx@stripped  Thu Apr 15 16:16:10 2004
	Return-Path: <phasefx@stripped>
	Delivered-To: issue+1@stripped
	Received: by penguin (Postfix, from userid 1002)
	        id D5C3DD347D; Thu, 15 Apr 2004 16:16:10 -0400 (EDT)
	Received: from [192.168.0.2] (unknown [66.168.184.244])
	        by penguin (Postfix) with ESMTP id 5AF73D347A
	        for <issue+1@stripped>; Thu, 15 Apr 2004 16:16:10 -0400 
(EDT)
	Mime-Version: 1.0 (Apple Message framework v613)
	In-Reply-To: <issue_1@stripped>
	References: <issue_1@stripped>
	Content-Type: text/plain; charset=US-ASCII; format=flowed
	Message-Id: <BAD9DC4D-8F19-11D8-BA38-0003938AF64A@stripped>
	Content-Transfer-Encoding: 7bit
	From: Jason Etheridge <phasefx@stripped>
	Subject: Re: boo
	Date: Thu, 15 Apr 2004 16:16:07 -0400
	To: "Admin User []" <issue+1@stripped>
	X-Mailer: Apple Mail (2.613)
	X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on
	        penguin.georgialibraries.org
	X-Spam-Status: No, hits=0.1 required=2.5 tests=AWL autolearn=ham 
version=2.63
	X-Spam-Level:

Ooh, didn't notice this before.  Is Eventum testing the In-Reply-To?

I go to Associate Emails, Check for Emails
	Email Account: eventum@localhost

It pulls in.. and gets associated.  hahahaha.  Oy vey. :D

So it has to be a reply for issue routing to work?

Sending directly to issue+1 doesn't appear to work.  But in practice, I 
think most people would be replying?  Excellent.

Sorry for making you go through all that.

What's the best way to get Eventum to poll for email on its own?

-- Jason

Thread
FW: auto-associate incoming email with issueJoao Prado Maia15 Apr
  • RE: auto-associate incoming email with issueJoao Prado Maia16 Apr
    • Re: auto-associate incoming email with issueJason Etheridge16 Apr
      • RE: auto-associate incoming email with issueJoao Prado Maia16 Apr
        • Re: auto-associate incoming email with issueJason Etheridge16 Apr
          • RE: auto-associate incoming email with issueJoao Prado Maia16 Apr
            • Re: auto-associate incoming email with issueJason Etheridge19 Apr
              • RE: auto-associate incoming email with issueJoao Prado Maia7 May
                • Re: auto-associate incoming email with issueJason Etheridge8 May
                  • RE: auto-associate incoming email with issueJoao Prado Maia10 May
                    • Re: auto-associate incoming email with issueJason Etheridge11 May
                      • RE: auto-associate incoming email with issueJoao Prado Maia11 May