Custom Query (332 matches)


Show under each result:

Results (304 - 306 of 332)

Ticket Resolution Summary Owner Reporter
#33 duplicate Using long name for post bas anonymous

I have tom@… and scott@… that are involved with a ticket. When "Scott Serr <scott@…>" uses email2trac to reply to this ticket, it shows in Trac as being changed by "Scott Serr" and not "scott" which is his short name (user name) in trac. This is not bad, but now the email notifications are not going to just tom and scott, they also go to "Serr@…" also... which doesn't exist.

I'm looking at get_author_emailaddrs() at about line 334-353 in the latest release of email2trac.

        # Look for email address in registered trac users
        users = [ u for (u, n, e) in self.env.get_known_users(self.db)
                         if e == self.email_addr ]

        if len(users) == 1:
             self.email_from = users[0]
             self.email_from =  self.email_to_unicode(message['from'])
             #self.email_from =  self.email_to_unicode(self.email_addr)

Yes, "scott" has filled out his Trac settings name "Scott Serr" and email "scott@…". I'm not a Python programmer, but it seems the users variable is not filled with the right stuff. Help?

#32 fixed permissions issue, email2trac config bas acgoss@…

I am currently attempting to implement trac on my system which is a CentOS 5 server, running Trac 0.10.4 and the newer email2trac from the svn. I am getting the following errors in my syslog when attempting to send mails via email2trac. When configured using postfix and run_email2trac in the aliases file I get:

TracError?: The user trac requires read _and_ write permission to the database file /var/www/trac/CNSEHelp/db/trac.db and the directory it is located in.

I installed using ./configure --with-trac_user=apache, which corresponds to my apache account.

When configured using postfix and a direct call to email2trac, I get the following error in syslog:

IOError: [Errno 13] Permission denied: '/var/www/trac/CNSEHelp/VERSION'

I have even gone so far as to chmod my trac project's db file and folder to 777 as well as the VERSION file, and in both cases with both the run_email2trac and email2trac calls, I still get the same errors, so I see no conceivable way this could be a security issue.

#31 fixed set owner for new ticket bas michela@…

Is there any way to set an owner for a new ticket? The method documented appears only to work for an updated ticket.

Note: See TracQuery for help on using queries.