Hi;
I believe I have traced the mailboxer problem I am having. I have caught the following seemingly innocuous error in the ZMI error log:

Time    2006/09/04 14:16:02.371 Universal
User Name (User Id)     beno (beno)
Request URL     http://202.71.106.119:7080/error_log/manage_workspace
Exception Type  Redirect
Exception Value         http://202.71.106.119:7080/error_log/manage_main

Traceback (innermost last):

   * Module ZPublisher.Publish, line 101, in publish
   * Module ZPublisher.mapply, line 88, in mapply
   * Module ZPublisher.Publish, line 39, in call_object
   * Module App.Management, line 85, in manage_workspace

Redirect: http://202.71.106.119:7080/error_log/manage_main

Display traceback as text59 <http://202.71.106.119:7080/error_log/getLogEntryAsText?id=1157379362.370.195668928932>

51


     REQUEST


     form


     cookies

dtpref_rows     '20'
dtpref_cols     '95%'
tree-s  'eJzTyCkw5NLIKTDiClZ3hANPW3WuAmOuxEQ9AIO2B9g'
_ZopeId         '79820811A2fzfXbQQGY'


     lazy items

SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager instance at cf4faa0>>


     other

TraversalRequestNameStack       []
AUTHENTICATED_USER      beno
URL     'http://202.71.106.119:7080/error_log/manage_workspace'
SERVER_URL      'http://202.71.106.119:7080'
AUTHENTICATION_PATH     ''
PUBLISHED <bound method SiteErrorLog.manage_workspace of <SiteErrorLog at /error_log>>
URL1    'http://202.71.106.119:7080/error_log'
ACTUAL_URL      'http://202.71.106.119:7080/error_log/manage_workspace'
URL0    http://202.71.106.119:7080/error_log/manage_workspace
URL1    http://202.71.106.119:7080/error_log
URL2    http://202.71.106.119:7080
BASE0   http://202.71.106.119:7080
BASE1   http://202.71.106.119:7080
BASE2   http://202.71.106.119:7080/error_log
BASE3   http://202.71.106.119:7080/error_log/manage_workspace


     environ

HTTP_COOKIE 'dtpref_cols="95%"; dtpref_rows="20"; tree-s="eJzTyCkw5NLIKTDiClZ3hANPW3WuAmOuxEQ9AIO2B9g"; _ZopeId="79820811A2fzfXbQQGY"' SERVER_SOFTWARE 'Zope/(Zope 2.7.8-final, python 2.3.5, freebsd5) ZServer/1.1 Plone/Unknown'
SCRIPT_NAME     ''
REQUEST_METHOD  'GET'
PATH_INFO       '/error_log/manage_workspace'
SERVER_PROTOCOL         'HTTP/1.1'
channel.creation_time   1157378993
CONNECTION_TYPE         'keep-alive'
HTTP_ACCEPT_CHARSET     'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6'
HTTP_REFERER    'http://202.71.106.119:7080/error_log/manage_main'
SERVER_NAME     'localhost.web.vi'
REMOTE_ADDR     '67.46.93.3'
PATH_TRANSLATED         '/error_log/manage_workspace'
SERVER_PORT     '7080'
HTTP_HOST       '202.71.106.119:7080'
HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
GATEWAY_INTERFACE       'CGI/1.1'
HTTP_ACCEPT_LANGUAGE    'en-us,en;q=0.5'
HTTP_ACCEPT_ENCODING    'gzip,deflate'
HTTP_KEEP_ALIVE         '300'


Now, that error is definitely from the email I sent. Even the REMOTE_ADDR matches. Here's where the problem arises: * I don't use Apache, and I'd rather not have to if I can get away with it. Just one more program to maintain. * I use Pound on my front end, which passes requests to Squid, which in turn passes them to Zope. This is a pretty common procedure for people using Pound/Zope. * As a result, if I want to send requests *directly* to Zope, I need to use the IP address. That's why I've entered the following in my /etc/aliases file (which is also now in my /var/qmail/aliases/.qmail-l33tm4il file, which one how-to said to use if qmail is your mail server, as mine is): rejoice: "|smtp2zope.py http://202.71.106.119:7080/rejoice.2012.vi/rejoice/manage_mailboxer 20000"

Apparently, MailBoxer doesn't like that. Apparently, it wants a web address, like rejoice.2012.vi, in my case. But that won't get past Pound :( What do? Which file should I hack to get it to accept the IP address?
TIA,
beno
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to