Re: [Mailman-Users] openID enabled mailman

2009-06-13 Thread Malveeka Tewari
Hi Brad,

Can I also take a look at the code that the OpenID folks sent you?
It'll be great if you can send me any pointers to that code.
I asked on their mailing lists too but haven't received any promising
response.

Looking at the code might give me an idea about how to start implementing
openID support fr the mailman setup I am running,

Thanks
Malveeka

On Sun, Jun 7, 2009 at 11:08 PM, Brad Knowles wrote:

> on 6/7/09 12:14 PM, Malveeka Tewari said:
>
>  I want to know if there's already an openID enabled version of
>> mailman available And what files would I need to make changes to
>> include openID support in mailman
>>
>
> The OpenID project uses Mailman themselves, and they have hacked it to
> allow OpenID logins.  They even shared with us the code that they have.  I
> took a look at trying to bring this into the main codebase, and I was not
> able to figure out how to do that -- when they put in OpenID, they broke
> everything else, and I could never figure out how to get the two to co-exist
> at the same time.
>
> IMO, this may be a better question to ask on their mailing lists, or to ask
> the people who maintain their mailing lists.
>
> --
> Brad Knowles 
> LinkedIn Profile: <http://tinyurl.com/y8kpxu>
>
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] [Mailman-Developers] openID enabled mailman

2009-06-13 Thread Malveeka Tewari
Hi Stephen

Thanks for your reply.
W want to implement the OpenID Provider for the mailman set up we are
running on our servers.
The idea is to use OpenID with mailman to provide single sign on for our
other user accounts like our wiki etc.
Our focus is on providing Single Sign On but we do not want to delegate
authentication to a third party. Hence we want to implement OpenID provider
for our Mailman service. and OpenID relying party for our wiki etc.

Now for the OpenID provider we may choose to have new passwords or use the
mailman passwords. For ease of users, we want to use the mailman passwords
for the OpenID provider.

I hope I have conveyed what I am trying to do. I will be thankful for any
suggestions

Thanks
Malveeka

On Sat, Jun 13, 2009 at 12:03 PM, Stephen J. Turnbull wrote:

> Malveeka Tewari writes:
>
>  > 2. Sign in with existing openID login for your subscription
>  >
>  > *1. Enable/Disable openID login for your subscription* *account*
>  > For enabling and diabling the openID feature, the users login their
>  > subscribed accounts as they do now for changing any of the subcription
>  > options.
>  > On this page if they enable the openID feature, they recieve an
> automated
>  > reply with their openID identifier.
>  >
>  > The password for the openID identifier is the same as that for the
>  > subscription accounts. If they change their subscription passwords,
> their
>  > openID password gets changed too.
>
> I don't understand what you're trying to do.  The whole point of open
> ID is delegating authorization to a third party.  If you want, you can
> provide that service as well, but once you've enabled OpenID, you
> shouldn't need a password for Mailman.  In fact, the Mailman password
> should be disabled, as it is certainly less secure than OpenID at this
> point in time.
>
>  > I want to know if there's already an openID enabled version of
>  > mailman available
>
> The OpenID project has OpenID-enabled Mailman lists, but according to
> Brad Knowles in the process of adapting Mailman to OpenID they broke a
> lot of other features, and integrating their changes is non-trivial.
>
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


[Mailman-Users] openID enabled mailman

2009-06-07 Thread Malveeka Tewari
Hi

I am working on implementing openID server for the mailman setup I am
running.
I have started using mailman only recently and need help/feedback on my
approach.

We want to provide the list users an option whether or not to have enable
openID.
 On the "" page, the users will see an option for

1. Enable/Disable openID login for your subscription
2. Sign in with existing openID login for your subscription

*1. Enable/Disable openID login for your subscription* *account*
For enabling and diabling the openID feature, the users login their
subscribed accounts as they do now for changing any of the subcription
options.
On this page if they enable the openID feature, they recieve an automated
reply with their openID identifier.

The password for the openID identifier is the same as that for the
subscription accounts. If they change their subscription passwords, their
openID password gets changed too.

*2. Sign in with existing openID login*
The user gets redirected to a page where it enters it's openID identifer and
the password and can now manage its account settings with the openID
identifier. This authentication and further logging, modification of
subscription configurations will be handled by the openID server.

As I understand, the *changes that need to be made to the existing mailman
code* include the following:

Changing the MemberAdaptor.py and UserDesc.py for including information
whether or not openID identifier is enabled for a paricular user.
Propogating changes made to openID-identified-accounts to the subscription
configurations.
Changing the webpage interfaces for provinding and allowing users to access
these options

I want to know if there's already an openID enabled version of mailman
available
And what files would I need to make changes to include openID support in
mailman

Thanks
Malveeka
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Install question - was: Errors on mailman startup

2009-06-03 Thread Malveeka Tewari
Now I have managed to get mailman working correctly but for one small
problem.
Users can subscribe to a list, confrm the subcription, create new lists.

But they can't post to the list. I think I need to fix my postfix settings.
I am able to send mails to local users and also to other Internet mail
accounts but can only receive local mails but not from external mail
accounts.

Can you please tell me how to fix this?

Thanks
Malveeka

On Mon, Jun 1, 2009 at 9:16 PM, Mark Sapiro  wrote:

> Malveeka Tewari wrote:
> >
> >Yes I meant DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST.. Sorry about that
> >
> >Postfix seems to be working fine..
> >I am able to send and recieve mails to the local users
> >
> >I do not have a fixed IP address. Is there anywhere I can get a free
> domain
> >name for my laptop fr sometime ( 1 week or so) so that I can test my
> mailman
> >setup on my laptop?
>
>
> You could check out <http://www.dyndns.com/services/dns/dyndns/>. I am
> not recommending either for or against using such a service, just
> pointing it out.
>
>
> >Since don't have any FQDN for my laptop, If I want to run mailman on my
> >laptop what should i give the value of DEFAULT_URL_HOST and
> >DEFAULT_EMAIL_HOST ?
>
>
> You can use an IP address for testing purposes if you add it to the
> VIRTUAL_HOSTS dictionary as I indicated in my prefious reply., but you
> can't actually run a real list in this way.
>
> Note also that even with a domain name as provided by dyndns or
> equivalent, many ISPs will not accept mail from such a domain.
>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
>
>
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Install question - was: Errors on mailman startup

2009-06-01 Thread Malveeka Tewari
Hi Mark

Yes I meant DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST.. Sorry about that

Postfix seems to be working fine..
I am able to send and recieve mails to the local users

I do not have a fixed IP address. Is there anywhere I can get a free domain
name for my laptop fr sometime ( 1 week or so) so that I can test my mailman
setup on my laptop?

Since don't have any FQDN for my laptop, If I want to run mailman on my
laptop what should i give the value of DEFAULT_URL_HOST and
DEFAULT_EMAIL_HOST ?



On Mon, Jun 1, 2009 at 4:48 PM, Mark Sapiro  wrote:

> Malveeka Tewari wrote:
> >
> >I trying to run mailman on my own laptop.
> >I have been able to install mailman and it's running (i can view the
> mailman
> >start up pages)
> >
> >I have specified the DEFAULT_URL_HOST and DEFAULT_URL_HOST to be my
> laptop's
> >ip addresses in mm_cfg.py
> >
> >But am not able to send/recieve mails
> >I am also not able to create new lists.
> >(When trying to create new lists, I get an error: *Unknown virtual host )
> >*
> >Is there something wrong with my postfix installation or with the
> mm_cfg.py
> >values?
>
>
> Did you mean DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST?
>
> Note that these should be defined as domain names, not IP addresses. IP
> addresses may work in some contexts, but if you don't have a domain
> name, you will have problems sending and receiving mail. Note these
> are generic problems with mail, and not specific to Mailman.
>
> In order to be able to send mail reliably, you need a non-generic
> domain name with a fixed IP address and a rDNS pointing from that IP
> to the domain name. Without these, you will find your mail blocked by
> many services.
>
> After defining DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST in mm_cfg.py,
> you need
>
> VIRTUAL_HOSTS.clear()
>
> to remove the Defaults.py values from the VIRTUAL_HOSTS dictionary, and
>
> add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>
> to add the new values.
>
> Can you send mail from your laptop through the local Postfix? E.g.,
> with Postfix's 'sendmail' command.
>
> Can your laptop receive any mail at all, e.g. for a local user?
>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
>
>
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Install question - was: Errors on mailman startup

2009-06-01 Thread Malveeka Tewari
Hi

I trying to run mailman on my own laptop.
I have been able to install mailman and it's running (i can view the mailman
start up pages)

I have specified the DEFAULT_URL_HOST and DEFAULT_URL_HOST to be my laptop's
ip addresses in mm_cfg.py

But am not able to send/recieve mails
I am also not able to create new lists.
(When trying to create new lists, I get an error: *Unknown virtual host )
*
Is there something wrong with my postfix installation or with the mm_cfg.py
values?




On Sat, May 30, 2009 at 12:11 AM, Malveeka Tewari wrote:

> Thanks a lot!
> Now atleast my mailman is running
>
> Malveeka
>
>
> On Fri, May 29, 2009 at 11:50 PM, Mark Sapiro  wrote:
>
>> Malveeka Tewari wrote:
>> >
>> >I tried creating a newlist using bin/newlist
>> >
>> >It asked me for an email address and password which I enetered but I got
>> an
>> >error
>> >Illegal list name: mailman-ad...@localhost
>>
>>
>> The instructions you are following are no good. DEFAULT_EMAIL_HOST and
>> DEFAULT_URL_HOST and the host names you supply to configure have to be
>> fully qualified domain names. 'localhost' won't work.
>>
>> --
>> Mark Sapiro The highway is for gamblers,
>> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
>>
>>
>
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Install question - was: Errors on mailman startup

2009-05-31 Thread Malveeka Tewari
Thanks a lot!
Now atleast my mailman is running

Malveeka

On Fri, May 29, 2009 at 11:50 PM, Mark Sapiro  wrote:

> Malveeka Tewari wrote:
> >
> >I tried creating a newlist using bin/newlist
> >
> >It asked me for an email address and password which I enetered but I got
> an
> >error
> >Illegal list name: mailman-ad...@localhost
>
>
> The instructions you are following are no good. DEFAULT_EMAIL_HOST and
> DEFAULT_URL_HOST and the host names you supply to configure have to be
> fully qualified domain names. 'localhost' won't work.
>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
>
>
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Install question - was: Errors on mailman startup

2009-05-31 Thread Malveeka Tewari
Sorry for replying in an already running thread.
Will not happen again.

I tried creating a newlist using bin/newlist

It asked me for an email address and password which I enetered but I got an
error
Illegal list name: mailman-ad...@localhost


On Fri, May 29, 2009 at 11:28 PM, Mark Sapiro  wrote:

> Malveeka Tewari wrote:
> >
> >I installed mailman on localhost using the following instructions on
> >
> http://systers.org/systers-soc/doku.php/step_by_step_system_installation_-_production
> >
> >But on starting mailman I get an error:
> >Site-list is missing: mailman-admin
> >
> >Can anyone help me here?
>
>
> Please do not hijack existing threads for new topics. Post an original
> message, not a reply.
>
> The instructions you reference above are old. They reference mailman
> 2.1.10. The current version is 2.1.12. They are also incomplete
> because they don't mention creating the site list.
>
> The error message you got says you didn't create the site list, which
> is normally named 'mailman', not 'mailman-admin', but in your case you
> have declared its name to be mailman-admin by putting
>
> MAILMAN_SITE_LIST = 'mailman-admin'
>
> in mm_cfg.py.
>
> Our installation manual is in the tarball and also at
> <http://www.list.org/mailman-install/index.html>. See section 8.
>
> --
> Mark Sapiro The highway is for gamblers,
> San Francisco Bay Area, Californiabetter use your sense - B. Dylan
>
>
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9


Re: [Mailman-Users] Errors on mailman startup

2009-05-31 Thread Malveeka Tewari
Hi

I installed mailman on localhost using the following instructions on
http://systers.org/systers-soc/doku.php/step_by_step_system_installation_-_production

But on starting mailman I get an error:
Site-list is missing: mailman-admin

Can anyone help me here?

Thanks
Malveeka

On Fri, May 29, 2009 at 10:41 PM, Dave Filchak  wrote:

> Mark Sapiro wrote:
>
>> Dave Filchak wrote:
>>
>>
>>
>>> Mark Sapiro wrote:
>>>
>>>
 Did you actually do the test described in the post at
 
 (linked from the FAQ) as the Mailman user?


>>> Yes. This test was fine.
>>>
>>>
 Did you actually try to send mail as described in the post at
 
 (linked from the FAQ) as the Mailman user?


>>> This worked as well although, as I mention below, I am not logged in a
>>> mailman as mailman has no login shell and no password. Do I need to create
>>> one for mailman and try it again?
>>>
>>>
 If you did those as the Mailman user and they didn't show any error,
 then I can't explain why it fails when OutgoingRunner does the exact
 same thing.



>>> Did not do them as the mailman user but as another user (not root). User
>>> mailman has no login shell (/sbin/nologin) Should mailman need a login shell
>>> and passwd? It never has before and mailman was working. Again, there was a
>>> UPS failure at my ISP and the servers lost power abruptly so something might
>>> have happened then. But everything else is working, including regular mail.
>>>
>>>
>>
>>
>> No. Mailman doesn't need a login shell or a password. You should be
>> able to do, e.g.
>>
>> sudo -u mailman /bin/bash
>>
>> in order to get a command shell running as mailman or
>>
>> sudo -u mailman python
>>
>> to get a python interpreter.
>>
>> It seems there is a permissions issue somewhere that is preventing
>> mailman from accessing something. Make sure /etc/hosts and
>> /etc/resolve.conf are world readable. If that isn't it, try to narrow
>> it down by running the tests as mailman using sudo as above.
>>
>>
>>
> OK .. ran both tests as mailman. First one was fine. Second one, while it
> shown no errors initially, I only received the email that was sent as a rcpt
> (secondary email address). The To: email address did not get delivered. The
> smtp-failure logs do not show a specific error for that email transaction
> but it still shows a ton of the same errors, i.e.:
>
> May 29 16:21:04 2009 (6489) Low level smtp error: (-2, 'Name or service not
> known'), msgid: 
> May 29 16:21:04 2009 (6489) delivery to some...@domain.org failed with
> code -1: (-2, 'Name or service not known')
>
> Both /etc/resolv.conf and /etc/hosts are world readable. I am truly
> stumped.
>
> Dave
>
>
>
> --
> Mailman-Users mailing list
> Mailman-Users@python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Searchable Archives:
> http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe:
> http://mail.python.org/mailman/options/mailman-users/malveeka%40gmail.com
>
> Security Policy: http://wiki.list.org/x/QIA9
>
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9