[Moin-user] Import Mails without Need for a Wiki-User

R.Bauer rb.proj at gmail.com
Thu Jan 29 11:19:51 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mela Eckenfels schrieb:
> Hello Reimar,
> 
> On Thu, Jan 29, 2009 at 10:06:16AM +0100, R.Bauer wrote:
>> you can create a user which isn't a normal user e.g. "mailimport" user
>> and set acl rights write only for this user on the page you want to
>> import mails.
>> Enabling xmlrpc and not protecting your wiki for anonymous attacks by
>> xmlrpc isn't a good idea.
> 
> You are obvisiously right, and I have to confess I'm counting on
> security by obscurity. 
> 
> Patching out the need for a wiki-user was mostly easy, even for a
> writer without python skills ;-) 
well you get skills by that :)

I started some years ago with a plugin I wanted to have added.

If you want to read and play a bit more look at examples in
http://moinmo.in/MoinAPI/Beispiele

> Patching in a specific mailimport user ... frankly I have no idea how
> this can be done.
> 
> Any suggestions?
> 
> 
> Mela
> 
> 

I thought about using the newaccount action on the theme
and to configure acl_rights_default = '... mailimport:write'
(the ... is reserved for your normal acl definition.)

Doesn't that not solve the problem of "
 I've discovered, only Wiki-Users are allowed to
send mail to the wiki. Now I'm searching for a configuration option to
disable the need of an
wiki-user, for mailimport. "

You can have an user which does nothing else than mailimport.

cheers
Reimar











-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkmB1x8ACgkQ5aOc3Q9hk/nyFgCfby/ce+qzvKFYlh4omujaXi9B
GcgAn3953ryoOM/ddyZcpyq7J4iYpEJU
=CzwU
-----END PGP SIGNATURE-----





More information about the Moin-user mailing list