Allowing connections from other computers

By default, DesktopEdition only allows connection from localhost (i.e. the computer where you run MoinMoin).

If you want to allow connections from other computers (say in your home network), please open the file wikiserverconfig.py and find the line

# use '' for all interface or "1.2.3.4" for some specific IP

and add the following line after this:

hostname = ''

This will enable connection to your wiki from everywhere. Please use firewall to restrict access.

(!) Please note DesktopEdition is pre-configured for your personal use. Please read HelpOnConfiguration and look into wiki/config/more_samples to find a snippet for your need.

Incoming emails in Desktop Edition

Can a MoinMoin Desktop Edition Wiki be configured to receive emails? If so, can you tell me where should I insert the command 'moin xmlrpc mailimport' and where should the parameter '--config /path/to/dir' go?

If there are step-by-step instructions for setting up Moinmoin to receive email, then they would be extremely useful to novice users.

* Thanks for your reply. I did the following:

1. Added a file 'mailimportconf.py' in '../moin-1.9.3/wiki/config/' containing:

mail_import_secret = u"some long string" 
mail_import_url=u"http://localhost:8080/?action=xmlrpc2"

2. Added to wikiconfig.py the following:

    actions_excluded = list(multiconfig.DefaultConfig.actions_excluded)
    actions_excluded.remove('xmlrpc')
    mail_import_subpage_template = u"$from-$date-$subject"
    mail_import_pagename_search = ['subject', 'to', ]
    mail_import_pagename_envelope = u"%s"
    mail_import_pagename_regex = r'\[\[([^\]]*)\]\]'
    mail_import_wiki_addrs = [me@somemail.com]
    secrets = "same secret as in ../moin-1.9.3/wiki/conf/mailimportconf.py"

How do I enable xmlrpc? What else do I need to do? Thanka again.

Any suggestions?

MoinMoin: DesktopEdition/HowToConfigure (last edited 2010-12-06 06:09:47 by pool-71-111-134-18)