[Zope] ZmailIn

David Kyte david.kyte@microamps.com
Thu, 2 May 2002 19:12:09 +0100


Hi,

Wonder if you can help me.

Using ZmailIn - zope 2.3.0 ZmailIn.1.0.0
linux redhat 6.2

The email appears to get into zope by the look of the
traceback, but fails for some reason.

/zm1 is the MailClient and it executes a python script
doMail.

Currently this does absolutley nothing - it was trying to
create a dtml document.

Any suggestions gratefully received as my head now hurts :-(

TIA

David Kyte

>From root  Thu May  2 17:37:27 2002
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
	by uknl.net (8.9.3/8.9.3) with internal id RAA24086;
	Thu, 2 May 2002 17:37:27 +0100
Date: Thu, 2 May 2002 17:37:27 +0100
From: Mail Delivery Subsystem <MAILER-DAEMON@microamps.com>
Message-Id: <200205021637.RAA24086@uknl.net>
To: root@uknl.net
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
	boundary="RAA24086.1020357447/uknl.net"
Subject: Returned mail: unknown mailer error 1
Auto-Submitted: auto-generated (failure)
Status: RO

This is a MIME-encapsulated message

--RAA24086.1020357447/uknl.net

The original message was received at Thu, 2 May 2002 17:37:27 +0100
from root@localhost

   ----- The following addresses had permanent fatal errors -----
|/etc/smrsh/eg1
    (expanded from: zope@uknl.net)

   ----- Transcript of session follows -----
<html><head><title>zm1</title></head><body bgcolor="#FFFFFF">


<table border="0" width="100%">
<tr valign="TOP">

<td width="10%" align="center">
<img src="http://www.uknl.net:8080/p_/ZButton" alt="Zope">
</td>

<td width="90%">
  <h2>Zope Error</h2>
  <p>Zope has encountered an error while publishing this resource.</p>

  <p>
  <strong>Error Type: TypeError</strong><br>
  <strong>Error Value: no arguments expected</strong><br>
  </p>

  <hr noshade>

  <p>Troubleshooting Suggestions</p>

  <ul>
    <li>The URL may be incorrect.</li>
  <li>The parameters passed to this resource may be incorrect.</li>
  <li>A resource that this resource relies on may be encountering an
error.</li>
  </ul>

  <p>For more detailed information about the error, please
  refer to the HTML source for this page.
  </p>

  <p>If the error persists please contact the site maintainer.
  Thank you for your patience.
  </p>
</td></tr>
</table>


<p><a href="http://www.zope.org/Credits" target="_top"><img
src="http://www.uknl.net:8080/p_/ZopeButton" width="115" height="50"
border="0" alt="Powered by Zope" /></a></p></body></html>

<!--
Traceback (innermost last):
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 222, in
publish_module
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 187, in
publish
  File /usr/share/zope/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
    (Object: zm1)
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 171, in
publish
  File /usr/lib/python1.5/site-packages/ZPublisher/mapply.py, line 160, in
mapply
    (Object: postZMailMessage)
  File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 112, in
call_object
    (Object: postZMailMessage)
  File /usr/share/zope/lib/python/Products/ZMailIn/ZMailIn.py, line 119, in
postZMailMessage
    (Object: zm1)
  File /usr/share/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 324,
in __call__
    (Object: doMail)
  File /usr/share/zope/lib/python/Shared/DC/Scripts/Bindings.py, line 353,
in _bindAndExec
    (Object: doMail)
  File /usr/share/zope/lib/python/Products/PythonScripts/PythonScript.py,
line 330, in _exec
    (Object: doMail)
    (Info: ({'script': &lt;PythonScript instance at 88e1a58&gt;, 'context':
&lt;ZMailIn instance at 884f0e8&gt;, 'container': &lt;Application instance
at 878b240&gt;, 'traverse_subpath': []}, (), {'theMail': {'attachments': {},
'localpart': 'zope', 'headers': {'date': 'Thu, 2 May 2002 17:37:27 +0100',
'from': 'root &lt;root@uknl.net&gt;', 'message-id':
'&lt;200205021637.RAA24084@uknl.net&gt;', 'to': 'zope@uknl.net', 'received':
'(from root@localhost)\012 by uknl.net (8.9.3/8.9.3) id RAA24084\012 for
zope@uknl.net; Thu, 2 May 2002 17:37:27 +0100'}, 'body': 'hello\012'}},
None))
TypeError: (see above)

-->
554 |/etc/smrsh/eg1... unknown mailer error 1

--RAA24086.1020357447/uknl.net
Content-Type: message/delivery-status

Reporting-MTA: dns; uknl.net
Arrival-Date: Thu, 2 May 2002 17:37:27 +0100

Final-Recipient: RFC822; zope@uknl.net
X-Actual-Recipient: RFC822; |/etc/smrsh/eg1@uknl.net
Action: failed
Status: 5.0.0
Last-Attempt-Date: Thu, 2 May 2002 17:37:27 +0100

--RAA24086.1020357447/uknl.net
Content-Type: message/rfc822

Return-Path: <root>
Received: (from root@localhost)
	by uknl.net (8.9.3/8.9.3) id RAA24084
	for zope@uknl.net; Thu, 2 May 2002 17:37:27 +0100
Date: Thu, 2 May 2002 17:37:27 +0100
From: root <root>
Message-Id: <200205021637.RAA24084@uknl.net>
To: zope@uknl.net

hello

--RAA24086.1020357447/uknl.net--