Modify

Opened 12 years ago

Closed 12 years ago

#133 closed setup (fixed)

Emails contain an incorrect ticket URL

Reported by: thomasdn@… Owned by: bas
Priority: major Milestone:
Component: email2trac Version: 0.70
Keywords: Cc: software@…

Description

When receiving e-mails from email2trac the footer contains a URL to the ticket. The URL however is not valid.

Here is an example:

Ticket URL: </ticket/2201>
trac.sikkerhed.org <https://trac.sikkerhed.org/>
Sikkerhed.org ApS

The correct URL in this case is: https://trac.sikkerhed.org/ticket/2201

Attachments (2)

foo (474 bytes) - added by support@… 12 years ago.
email2trac config file
trac.ini (2.9 KB) - added by Christian Iversen <support@…> 12 years ago.
Our trac.ini

Download all attachments as: .zip

Change History (13)

comment:1 Changed 12 years ago by bas

  • Status changed from new to assigned
  • Type changed from defect to setup

What did you specify in the '[project]' section of trac.ini?:

I have specified for email2trac this:

[project]
descr = Documentation server for email2trac
name = email2trac
url = https://subtrac.sara.nl/oss/email2trac

Changed 12 years ago by support@…

email2trac config file

comment:2 Changed 12 years ago by support@…

I tried inlining the config file, but was disallowed by trac (it thought it was spam).

I have attached the config file above.

comment:3 Changed 12 years ago by bas

You have to edit these settings in trac.ini, not email2trac.conf!

comment:4 Changed 12 years ago by software@…

Oops, I misread that. In any case, we have had the following line the whole time:

url = https://trac.sikkerhed.org/

(Pretty much all comments are regarded as spam!)

Any other ideas?

comment:5 Changed 12 years ago by bas

instead of using anonymous, fill in a name or email address then the comment is not considered as SPAM. Can you sent or attach your trac.ini?

Changed 12 years ago by Christian Iversen <support@…>

Our trac.ini

comment:6 Changed 12 years ago by Christian Iversen <support@…>

As you can see, I've attached our trac.ini. I'm looking forward to any tips or comments you might have

comment:7 Changed 12 years ago by Christian Iversen <software@…>

  • Cc software@… added

I'm adding us to CC.

comment:8 Changed 12 years ago by Christian Iversen <software@…>

..bump? :)

comment:9 Changed 12 years ago by basv@…


I am clueless. So still no correct URL in the footer? Did you restart
apache when you did the changes?

comment:10 Changed 12 years ago by basv@…

I found the problem, add this to your trac.ini:
{{{
[trac]
base_url = https://subtrac.sara.nl/oss/email2trac
}}}

comment:11 Changed 12 years ago by Christian Iversen <software@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

Oh, brilliant! Thank you very much!

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain bas.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.