Hugh T. Ranalli wrote:
We are currently using one of the older SVN (before the latest release) versions of listen (yes, updating is on the to-do list).

In the footer of e-mails sent by listen, if there is an archive, we get the following:

Archive: http://localhost:8080/dot/www/global-teams/...

The problem, of course, is that the link is to localhost:8080/dot/www rather than the site name of www.dotrust.net.

The footer seems to be coming from: portal_skins/listen/mail_footer using the variable <dtml-var absolute_url>. Is there another variable we should use instead of absolute_url, to ensure the address gets rewritten by Apache (we are using VHM with Apache)?

absolute_url is the right variable, and it's generally very smart; it returns the correct URL based on how the site is being accessed at any given time.

Or is there another configuration setting we need to change?

almost certainly. is your mail server on the same machine as the Plone site? if so, then i bet the smtp2zope.py script is configured to hit the site at localhost:8080, thus generating the incorrect URL. if you can find the place where this is happening, and change the config to hit the site using the canonical URL, it should start sending the correct URLs out in the messages.

-r


--
Archive: 
http://www.openplans.org/projects/listen/lists/listen-dev/archive/2007/07/1185472818510
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]  
Please contact [EMAIL PROTECTED] for questions.

Reply via email to