Custom Query (332 matches)
Results (148 - 150 of 332)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#206 | fixed | email2trac bombs when attachment contains umlaut characters | bas | karsten.rohrbach@… |
Description |
From bounce message produced by postfix MTA: TD: saving email to /tmp/tmpKadtCi.email2trac TD: writing body to /tmp/tmpsgE73w.email2trac TD: part1: Content-Type: application/octet-stream Traceback (most recent call last): File "/usr/bin/email2trac", line 2151, in <module> tktparser.save_email_for_debug(m, True) File "/usr/bin/email2trac", line 575, in save_email_for_debug self.debug_attachments(message_parts) File "/usr/bin/email2trac", line 519, in debug_attachments print 'TD: part%d: filename: %s' % (n, filename) UnicodeEncodeError: 'ascii' codec can't encode character u'\xc4' in position 33: ordinal not in range(128) The filename causing this behaviour is AUFTRAGSBESTÄTIGUNGS-FORMULAR_115886.PDF, containing a German umlaut. Deployed Version of email2trac is 1.4.3 |
|||
#150 | fixed | One email address per project | bas | julio.martinez@… |
Description |
Hello, Thanks for this great project, it is very useful for us. I have various Trac projects working well on the same box and I would like to use a different email address per project. up until now we have only need to use email2trac in one project, is it possible to use for another one? As I said before /etc/email2trac.conf is setup and happily working for the "trac-systems" and I would like to add "trac-sdlc" (the last 5 lines) but no luck. These are the config files Thank you. [DEFAULT] project: /home/trac/trac-environments/trac-systems/ debug: 0 umask: 011 spam_level: 0 reply_all : 1 mailto_link: 0 ticket_update : 1 email_header: 0 trac_version: 0.11 enable_syslog : 1 alternate_notify_template : alternate_notify_template_update : drop_spam : 0 verbatim_format: 1 strip_signature: 1 email_quote: > strip_quotes: 0 ignore_trac_user_settings: 0 black_list: MAILER-DAEMON@ binhex: warn applesingle: warn appledouble: warn [trac-systems] default_componenet : Desktop default_priority : 5 - Lowest default_type : Issue default_version : 0.70 [trac-sdlc] default_componenet : Unknown default_priority : major default_type : defect default_version : 0.70 $ cat /home/sdlcmail2trac/.fetchmailrc server mail.example.org proto IMAP user sdlc-trac pass passwd mda "/usr/bin/email2trac" # cat trac-sdlc/conf/trac.ini ... [notification] smtp_always = true smtp_from = sdlc-trac@example.org smtp_replyto = sdlc-trac@example.org smtp_server = localhost ticket_subject_template = Auto Generated Ticket #$ticket.id: $summary ... $ /usr/bin/fetchmail -v fetchmail: 6.3.6 querying mailserver.us.org (protocol IMAP) at Tue 22 Sep 2009 12:59:55 PM BST: poll started Trying to connect to 192.9.200.18/143...connected. fetchmail: IMAP< * OK (Linux/i686) IMAP4rev1 service is ready fetchmail: IMAP> A0001 CAPABILITY fetchmail: IMAP< * CAPABILITY IMAP4rev1 CHILDREN IDLE LITERAL+ MULTIAPPEND NAMESPACE UIDPLUS QUOTA STARTTLS AUTH=CRAM-MD5 AUTH=LOGIN AUTH=PLAIN AUTH=DIGEST-MD5 AUTH=GSSAPI ACL RIGHTS=texkbn fetchmail: IMAP< A0001 OK Done CAPABILITY fetchmail: IMAP> A0002 STARTTLS fetchmail: IMAP< A0002 OK Done STARTTLS fetchmail: Issuer Organization: fetchmail: Issuer CommonName: mail.example.org fetchmail: Server CommonName: mail.example.org fetchmail: mail.example.org key fingerprint: F7:3E:B1:27:57:05:E1:D5:93:7A:DB:51:CD:0F:73:57 fetchmail: Server certificate verification error: self signed certificate fetchmail: IMAP> A0003 CAPABILITY fetchmail: IMAP< * CAPABILITY IMAP4rev1 CHILDREN IDLE LITERAL+ MULTIAPPEND NAMESPACE UIDPLUS QUOTA AUTH=CRAM-MD5 AUTH=LOGIN AUTH=PLAIN AUTH=DIGEST-MD5 AUTH=GSSAPI ACL RIGHTS=texkbn fetchmail: IMAP< A0003 OK Done CAPABILITY fetchmail: mail.example.org: upgrade to TLS succeeded. fetchmail: IMAP> A0004 AUTHENTICATE GSSAPI fetchmail: IMAP< A0004 NO Failed AUTHENTICATE fetchmail: Sending credentials fetchmail: Error exchanging credentials fetchmail: IMAP< * BAD Error: Parsing string fetchmail: IMAP> A0005 * fetchmail: IMAP> A0006 AUTHENTICATE CRAM-MD5 fetchmail: IMAP< A0005 BAD Error: Unexpected item fetchmail: could not decode BASE64 challenge fetchmail: IMAP> A0007 * fetchmail: IMAP> A0008 LOGIN "sdlc-trac" * fetchmail: IMAP< + PDMzNjM4NTIzMDEuMTIxMDY4ODZAbWFpbC5tYWdsYWJzLm5ldD4= fetchmail: IMAP< A0006 BAD Error: Expected char CR not found fetchmail: IMAP< A0008 OK Done LOGIN fetchmail: IMAP> A0009 SELECT "INBOX" fetchmail: IMAP< * FLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent) fetchmail: IMAP< * 1 EXISTS fetchmail: IMAP< * 0 RECENT fetchmail: IMAP< * OK [UNSEEN 1] First unseen message fetchmail: IMAP< * OK [PERMANENTFLAGS (\Seen \Answered \Flagged \Deleted \Draft $MDNSent)] Permanent flags fetchmail: IMAP< * OK [UIDNEXT 2] Predicted next UID fetchmail: IMAP< * OK [UIDVALIDITY 1530465953] UIDs valid fetchmail: IMAP< A0009 OK [READ-WRITE] Done SELECT fetchmail: IMAP> A0010 EXPUNGE fetchmail: IMAP< A0010 OK Done EXPUNGE fetchmail: IMAP> A0011 SEARCH UNSEEN NOT DELETED fetchmail: IMAP< * SEARCH 1 fetchmail: IMAP< A0011 OK Done SEARCH 1 message for sdlc-trac at mail.example.org. fetchmail: IMAP> A0012 FETCH 1 RFC822.SIZE fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 557) fetchmail: IMAP< A0012 OK Done FETCH fetchmail: IMAP> A0013 FETCH 1 RFC822.HEADER fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {551} reading message sdlc-trac@mail.example.org:1 of 1 (551 header octets) # fetchmail: IMAP< ) fetchmail: IMAP< A0013 OK Done FETCH fetchmail: IMAP> A0014 FETCH 1 BODY.PEEK[TEXT] fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {6} (6 body octets)* fetchmail: IMAP< ) fetchmail: IMAP< A0014 OK Done FETCH fetchmail: MDA returned nonzero status 1 not flushed fetchmail: IMAP> A0015 LOGOUT fetchmail: IMAP< * BYE AXIGEN IMAP4rev1 service is logging out fetchmail: IMAP< A0015 OK Done LOGOUT fetchmail: 6.3.6 querying mail.example.org (protocol IMAP) at Tue 22 Sep 2009 12:59:56 PM BST: poll completed fetchmail: normal termination, status 0 |
|||
#81 | fixed | email2trac chokes if debug is on and From header has non-ASCII characters | bas | jsoderba@… |
Description |
I sent a test mail with Mozilla Thunderbird with the sender set to "Jan Söderback <jsoderba@…>" in UTF-8. The server is CentOS 5.2 with Postfix 2.3.3 and trac 0.10.4 Raw mail header: From: =?UTF-8?B?SmFuIFPDtmRlcmJhY2s=?= <jsoderba@llsdata.fi> From syslog: Sep 2 13:28:28 alfa email2trac: Traceback (most recent call last): Sep 2 13:28:28 alfa email2trac: File "/usr/local/bin/email2trac", line 1227, in ? tktparser.parse(sys.stdin) Sep 2 13:28:28 alfa email2trac: File "/usr/local/bin/email2trac", line 807, in parse self.new_ticket(m, spam_msg) Sep 2 13:28:28 alfa email2trac: File "/usr/local/bin/email2trac", line 683, in new_ticket self.set_ticket_fields(tkt) Sep 2 13:28:28 alfa email2trac: File "/usr/local/bin/email2trac", line 665, in set_ticket_fields print u'user_dict[%s] = %s' %(name, value) Sep 2 13:28:28 alfa email2trac: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 35: ordinal not in range(128) If debug is 0 everything works as expected. |