Custom Query (332 matches)
Results (214 - 216 of 332)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#125 | invalid | sendmail with email2trac problem | bas | anonymous |
Description |
Hi, I've been looking through the archives and have followed the instructions for setting up sendmail with email2trac. i'm still having problems though Mar 8 14:57:58 columbia sendmail[12261]: n28LvwGd012261: to=tracproj, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31888, relay=[ 127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n28LvwZD012262 Message accepted for delivery) Mar 8 14:57:58 columbia sendmail[12263]: n28LvwZD012262: alias <tracproj@…> => "|run_email2trac --project=versicUserDocs_trac --ticket _prefix=vsc_trac" Mar 8 14:57:58 columbia sendmail[12263]: n28LvwZD012262: to="|run_email2trac --project=versicUserDocs_trac --ticket_prefix=vsc_trac", ctladdr=<tracproj@col umbia.icmethods.com> (8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=32499, dsn=5.3.0, stat=unknown mailer error 254 Mar 8 14:57:58 columbia sendmail[12263]: n28LvwZD012262: n28LvwZC012263: DSN: unknown mailer error 254 i setup the smrsh dir as per the instructions: [root@columbia smrsh]# pwd /etc/smrsh [root@columbia smrsh]# ll total 24 8 drwxr-xr-x 2 root root 4096 Mar 8 05:21 . 16 drwxr-xr-x 112 root root 12288 Mar 8 15:00 .. 0 lrwxrwxrwx 1 root root 25 Mar 8 05:21 email2trac -> /usr/local/bin/email2trac 0 lrwxrwxrwx 1 root root 29 Mar 8 04:34 run_email2trac -> /usr/local/bin/run_email2trac running email2trac from the commandline worked correctly and i got a new ticket created [root@columbia smrsh]# email2trac --project=versicUserDocs_trac --ticket_prefix=vsc_trac < /opt/trac/email2trac/trunk/msg.txt Anyone got this working with sendmail? Have i missed something? |
|||
#124 | fixed | new ticket creation fails: AttributeError: 'NoneType' object has no attribute 'replace' | anonymous | gdh@… |
Description |
Hi - I've used dpkg-buildpackage on Ubuntu hardy to build email2trac 0.70 with trac 0.11. Trying either run_email2trac in /etc/aliases, or email2trac in /etc/aliases.nobody (chowned + postalias'd) fails with this error when I run 'mail tracproj <msg.txt' Feb 23 12:56:54 dev postfix/qmgr[25750]: F07E51F49FE: from=<root@…>, size=2214, nrcpt=1 (que ue active) Feb 23 12:56:55 dev email2trac: Traceback (most recent call last): Feb 23 12:56:55 dev email2trac: File "/usr/bin/email2trac", line 1466, in <module> tktparser.parse(sys .stdin) Feb 23 12:56:55 dev email2trac: File "/usr/bin/email2trac", line 835, in parse m.replace_header('Subje ct', mSubject?.replace('\r', ).replace('\n', )) Feb 23 12:56:55 dev email2trac: AttributeError?: 'NoneType?' object has no attribute 'replace' Feb 23 12:56:55 dev postfix/local[25758]: F07E51F49FE: to=<tracproj@…>, orig_to=<tracproj>, relay=local, delay=0.44, delays=0.02/0.01/0/0.42, dsn=5.3.0, status=bounced (Command died with status 1: "/usr/bin/email2trac ". Command output: TD: saving email to /tmp/tmpSOrsIb.email2trac ) If I run 'email2trac <msg.txt' manually from the commandline as root, then the new ticket is created OK :/ My /etc/aliases.nobody is this one line: tracproj: |"/usr/bin/email2trac " |
|||
#123 | fixed | NameError: global name 'parameter' is not defined | bas | tomasz.sterna@… |
Description |
I have a Trac 0.11.1 (easy_install trac) installed and running. I downloaded email2trac-0.70 and installed it from email2trac_0.70-1_amd64.deb. After configuring it, I get the following error in syslog when I send mails to the email2trac address: Feb 6 13:39:50 hetzner1 email2trac: Traceback (most recent call last): Feb 6 13:39:50 hetzner1 email2trac: File "/usr/bin/email2trac", line 1465, in <module> tktparser = TicketEmailParser(env, settings, float(version)) Feb 6 13:39:50 hetzner1 email2trac: File "/usr/bin/email2trac", line 228, in __init__ self.REFLOW = int(parameter['reflow']) Feb 6 13:39:50 hetzner1 email2trac: NameError: global name 'parameter' is not defined |