Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (151 - 153 of 332)

Ticket Resolution Summary Owner Reporter
#158 fixed Need Help:Struggling to get Email2Trac working on Debian bas roshan_shankar@…
Description
Hi,
I have Debian with exim4 installed and I am trying to use Email2Trac
to email tickets into Trac.

I have confirmed that emails can be sent and received by the Debian
box - emails to root@mydebainbox.mycompany.com get to it and likewise
emails I send from there get to external email addresses.

I have two projects - a project called test whose email is
test@mydebianbox.mycompany.com and a project called "real" whose email
is real@mydebianbox.mycompany.com

The projects are all under /var/lib/trac - in test and real folder,
respectively.

A few issues I have are

1. I do not know how to configure Email2Trac.conf for multiple
projects. An example would help. I, for now, changed the project
entry's value on the [default] to point to my test project.

2. Per the MTA configuration page, I am not supposed to enter entries
in /etc/aliases but use the router and transport files to set up the
forward to email2trac. The problem is I do not understand router/
transport files well enough. I copied the example on the page and that
did not work.

So, I went ahead and created the aliases in /etc/aliases. And, tested
it from the box using  - mail test < msg.txt and that did create a
ticket on the test project.

Then, I tried to email to test@mydebianbox.mycompany.com and I get a
message after a few hours saying

This message was created automatically by mail delivery software.

A message that you sent has not yet been delivered to one or more of
its recipients after more than 24 hours on the queue on
stastepagl01.dillonkane.com.



The message identifier is:     1N3ui2-0001J3-LH

The date of the message is:    Fri, 30 Oct 2009 11:52:18 -0500

The subject of the message is: test



The address to which the message has not yet been delivered is:



  pipe to |"/usr/bin/email2trac --project=test --ticket_prefix=test"

    generated by test@mydebianbox.mycompany.com



No action is required on your part. Delivery attempts will continue
for some time, and this warning may be repeated at intervals if the
message remains undelivered. Eventually the mail delivery software
will give up, and when that happens, the message will be returned to
you.



Please help me to get the Email2Trac working either using
router/transport or using aliases.



TIA

Roshan
#159 worksforme update ticket problem and sample solution bas tomasz.kloc@…
Description

Hi,

I'm using trunk version of Your plugin with Trac 0.11 and Postfix.

Create ticket via e-mail works great, but when i try to reply(update) ticket i got following error:

email2trac: Traceback (most recent call last):
email2trac:   File "/usr/local/bin/email2trac", line 1616, in ?     tktparser.parse(sys.stdin)
email2trac:   File "/usr/local/bin/email2trac", line 992, in parse     self.ticket_update(m, result.group('reply'), spam_msg)
email2trac:   File "/usr/local/bin/email2trac", line 705, in ticket_update     tkt.save_changes(self.author, body_text, when, None, str(

email2trac:   File "/usr/lib/python2.4/site-packages/trac-0.10.4-py2.4.egg/trac/ticket/model.py", line 197, in save_changes     when = i
e())
email2trac: TypeError: int() argument must be a string or a number

My quick fix:

$ diff email2trac.py.in.orig email2trac.py.in
704a705,708
>                               try:
>                                       int(when)
>                               except ValueError:
>                                       when = time.mktime(when.timetuple())

i've used "try" block, because i wasn't sure if 'when' will always be a datetime.datetime instance.

#160 fixed Command died with status 1 bas alexander.sieke@…
Description
postfix/local[7510]: 29C2939C004: to=<ticket@ffff.de>, relay=local, delay=0.95, delays=0.04/0.
01/0/0.9, dsn=5.3.0, status=bounced (Command died with status 1: "/usr/local/bin/run_email2trac". Command output: TD: saving
 email to /tmp/tmpAQf2AX.email2trac )

Ticket is correctly in the ticketsystem, but the sender gets a undelivered mail back of the mail system.

Note: See TracQuery for help on using queries.