[Zope] MailBoxer, Qmail and smtp2zope.py

beno zope at 2012.vi
Thu Aug 24 10:48:21 EDT 2006


Hi;
Apparently, MailBoxer must be configured a little differently for qmail:

http://www.zope.org/Members/adytumsolutions/docs/MailBoxer

Following their advice, I created the following file:

server167# vi /var/qmail/alias/.qmail-rejoice
rejoice:                "| smtp2zope.py         
http://202.71.106.119:7080/rejoice.2012.vi/rejoice/manage_mailboxer 20000"

where "rejoice" is the name of the list, the IP and port are correct, 
"rejoice.2012.vi" is the folder and "rejoice" the instance of MailBoxer.
Incidentally, surfing to that URL throws an error (see below).

I have put a copy of smtp2zope.py here:

/var/qmail/bin/smtp2zope.py

Is that correct?

My mailto is
rejoice at mail.rejoice.2012.vi
where "mail" is the smtp and "rejoice.2012.vi" is the URL.
I try subscribing by sending an email to that address with "subscribe" 
in the subject, but I collect it in the email box I set up for that 
address in vpopmail. I have also tried this without said mailbox in 
vpopmail, but then the email just bounces. Either way, nothing ever ends 
up in the "maillist", nor do I ever get an email telling me I've been 
subscribed. What am I doing wrong?
TIA,
beno

PS. Error from surfing to 
http://202.71.106.119:7080/rejoice.2012.vi/rejoice/manage_mailboxer

*KeyError*

Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 175, in publish_module_standard
    * Module Products.PlacelessTranslationService.PatchStringIO, line
      34, in new_publish
    * Module ZPublisher.Publish, line 132, in publish
    * Module Zope.App.startup, line 204, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 101, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Products.MailBoxer.MailBoxer, line 348, in manage_mailboxer
    * Module Products.MailBoxer.MailBoxer, line 661, in checkMail
    * Module Products.MailBoxer.MailBoxer, line 975, in getMailFromRequest
    * Module ZPublisher.HTTPRequest, line 1217, in __getitem__

KeyError: 'Mail' (Also, an error occurred while attempting to render the 
standard error message.)
------------------------------------------------------------------------



More information about the Zope mailing list