Modify

Opened 18 years ago

Closed 18 years ago

#1063 closed defect (worksforme)

email2trac not generating tickets

Reported by: anonymous Owned by: Bas van der Vlies
Priority: normal Component: EmailtoTracScript
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Trac 0.10.2 with Postfix on OS X.

I've installed/configured email2trac as per the instructions here:

http://trac-hacks.org/wiki/EmailtoTracScript

Everything seems setup and running ok, except for the fact that no tickets are being created. Looking through logs it shows that mail is correctly being forwarded to/process by run_email2trac and i've verified that the script is actually running by adding some logging to the start of the script. Unfortunately no ticket gets created...

mail < tracproj msg.txt also generates no output (ie error msg etc) but doesn't generate any tickets.

Not sure where to look to figure out what's broken/not working.

Attachments (0)

Change History (2)

comment:1 Changed 18 years ago by anonymous

It looks like the email2trac script is dying when it tries to do:

from trac import attachment

I guess the script cant find the trac python modules?

comment:2 Changed 18 years ago by vesty

Resolution: worksforme
Status: newclosed

Managed to solve this.

I'd followed the 'note for postfix' on the email2trac page which resulted in the email2trac script being run as a user different to the trac user. This meant that the email2trac script didn't have write access to the trac logs, so would die when it tried to run. Unfortunately it didn't really provide any error messages to say this was the problem..

nevertheless, all clear now.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Bas van der Vlies.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.