Custom Query (332 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (79 - 81 of 332)

Ticket Resolution Summary Owner Reporter
#94 fixed Support for RFC 3676 (format=flowed) bas ben@…
Description

Most email clients wrap long lines to <80 characters. In some cases, this breaks Trac wiki formatting (when verbatim_format is off). For example:

  * This is a very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very long list item

may get incorrectly rendered as

  • This is a very very very very very very very very very very very very

very very very very very very very very very very very very very very very very very very very very long list item

Format=flowed property of plain-text email, specified in RFC 3676, deals with this problem.

The attached patch (against email2trac 0.5) implements format=flowed support.

When this patch is applied, the following should be added to [wiki/Email2tracConfiguration]:

reflow: 1 OPTIONAL, if set then soft line breaks will be removed from [format:flowed] email when creating the ticket with verbatim_format turned off
#95 fixed Items being dropped or indefinately que'd by mailman when email2trac has an error bas anonymous
Description

In our syslogs we have been seeing this error:

Oct 22 04:02:22 sun email2trac: Traceback (most recent call last): Oct 22 04:02:22 sun email2trac: File "/usr/local/email2trac/bin/email2trac", line 1240, in <module> tktparser.parse(sys.stdin) Oct 22 04:02:22 sun email2trac: File "/usr/local/email2trac/bin/email2trac", line 818, in parse self.new_ticket(m, spam_msg) Oct 22 04:02:22 sun email2trac: File "/usr/local/email2trac/bin/email2trac", line 719, in new_ticket self.set_reply_fields(tkt, msg) Oct 22 04:02:22 sun email2trac: File "/usr/local/email2trac/bin/email2trac", line 458, in set_reply_fields if mail_list: Oct 22 04:02:22 sun email2trac: UnboundLocalError?: local variable 'mail_list' referenced before assignment

Connected to these issue we get errors similar to: Oct 24 04:02:20 sun sendmail[20474]: m9O8279H020473: to="|/usr/local/email2trac/bin/run_email2trac --project=PNIInternal --component=Tesla", ctladdr=<tesla-help@…> (47/0), delay=00:00:13, xdelay=00:00:13, mailer=prog, pri=60635, dsn=2.0.0, stat=Sent Oct 24 04:02:20 sun sendmail[20474]: m9O8279H020473: to=<lewing@…>, delay=00:00:13, xdelay=00:00:00, mailer=esmtp, pri=60635, relay=emfw4.xxxx.zzz. [128.112.131.23], dsn=2.0.0, stat=Sent (Ok: queued as A547D904E00)

This is causing some of our emails to not be processed into the ticket system.

We think it's because these are emails being generated en-masse to notify us and users of their ID's expiring. It could be a timing or threading issue but we arn't quite sure what's going on.

If you have any testing or suggestions we welcome them as this needs to be fixed.

#96 fixed QMail can't use sudo method in documentation bas sweeney@…
Description

I'm running email2trac 0.9.40 with Qmail. I've built the application as an rpm package and installed it. My web user is apache and my QMail user is nobody. I've tested the app using the local command line method and it works:

/usr/bin/email2trac --project=info < msg.txt

However, I tried the first method of setting up Qmail and it didn't work. It fails with a return message:

preline: fatal: unable to run /usr/bin/run_email2trac --project=info: file does not exist

I'm assuming that this is the failure noted in the documentation under the Qmail heading:

https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracMta#QmailSetup

And so, I try the optional method. I've added an entry to sudoers:

nobody ALL = (apache)NOPASSWORD: /usr/bin/run_email2trac

and I change the execute command in the mail user's .qmail file to the following:

|PYTHON_EGG_CACHE=/var/trac/tracenv/attachments /var/qmail/bin/preline /usr/bin/sudo -u apache /usr/bin/run_email2trac --project=info

This produces an error:

sudo: sorry, you must have a tty to run sudo

Very frustrating. What am I doing wrong?

Note: See TracQuery for help on using queries.