Re: [Mailman-Users] Getting users to confirm

2007-04-02 Thread Mark Sapiro
Jeffrey Goldberg wrote:
>
>On Apr 2, 2007, at 2:39 PM, Mark Sapiro wrote:
>
>> Jeffrey Goldberg wrote:

>>> Also is there a way to get a listing of all things pending
>>> confirmation (not just subscriptions, but address changes as well)?
>>
>>
>> bin/dumpdb lists//pending.pck
>>
>> will show them, albeit in a cryptic form.
>
>Thanks that works.
>
>> Also, it shows some that are
>> expired so you have to look at the timestamps in the 'evictions'
>> dictionary.
>
>Where do I find the evictions dictionary?  And how do I query it?


The 'evictions' dictionary is one of the attributes of the pickled
object in pending.pck.

Items you see in the dumpdb output mostly look like

 'c34dcd5ffbb70a207f4cac165fff807315aefadd': ('H', 16686),
 'c72443543da4ddd5fd2d4e13b3b33cc09d6ebb8d': ('H', 16704),
 'cbced5736c28706cf70b9106d2ab39ef02c05621': ('S', )

These are key:value pairs. The key is the confirm token and the value
is a 2-tuple consisting of a request type and data. The types are

# Types of pending records
SUBSCRIPTION = 'S'
UNSUBSCRIPTION = 'U'
CHANGE_OF_ADDRESS = 'C'
HELD_MESSAGE = 'H'
RE_ENABLE = 'E'
PROBE_BOUNCE = 'P'

The data depend on the request type. For a HELD_MESSAGE data is the
message number. For a SUBSCRIPTION it's a UserDesc instance (the
details of which are removed in my example); for an UNSUBSCRIPTION,
its just the address; for a CHANGE_OF_ADDRESS, it's a tuple of (old
addr, new addr, global flag), etc.

Amongst these entries (in hashed, i.e. virtually random sequence) is
one that looks like

 'evictions': {...}

i.e., the key is 'evictions' and the value is a (multi-line)
dictionary. The entries in this dictionary look like

  '0374376b960f19345b85b41e6abd9ea3d70319b1': 1175729853.4594159,

where the key is one of the confirm tokens and the value is the
expiration time of that token in floating point seconds since the
epoch.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   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://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Getting users to confirm

2007-04-02 Thread Jeffrey Goldberg
[mailed and posted]

On Apr 2, 2007, at 2:39 PM, Mark Sapiro wrote:

> Jeffrey Goldberg wrote:
>>
>> Where would I go about changing the subject line of the confirmation
>> requests, and what would people recommend.
>
>
> You may have already done this, but if the subject you are seeing is
> "confirm ", You can change it to "Your confirmation is
> required to join the %(listname)s mailing list" by setting
>
> VERP_CONFIRMATIONS = Yes
>
> in mm_cfg.py, assuming your MTA can handle the VERP like address in  
> the
> reply.

Great.  That does exactly what I want.  I believe that I've already  
set up postfix to do the right thing with "username+something"  
addresses.  Yes. I've just tested and it works like a charm.

>> Also is there a way to get a listing of all things pending
>> confirmation (not just subscriptions, but address changes as well)?
>
>
> bin/dumpdb lists//pending.pck
>
> will show them, albeit in a cryptic form.

Thanks that works.

> Also, it shows some that are
> expired so you have to look at the timestamps in the 'evictions'
> dictionary.

Where do I find the evictions dictionary?  And how do I query it?

   find /usr/local/mailman -name "evict*" -ls

turned up nothing.  (In my set-up, FreeBSD, the stuff that's  
typically in /var/lib/mailman is under /usr/local/mailman)

Cheers,

-j


-- 
Jeffrey Goldberghttp://www.goldmark.org/jeff/

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


Re: [Mailman-Users] Getting users to confirm

2007-04-02 Thread Mark Sapiro
Jeffrey Goldberg wrote:
>
>Where would I go about changing the subject line of the confirmation  
>requests, and what would people recommend.


You may have already done this, but if the subject you are seeing is
"confirm ", You can change it to "Your confirmation is
required to join the %(listname)s mailing list" by setting

VERP_CONFIRMATIONS = Yes

in mm_cfg.py, assuming your MTA can handle the VERP like address in the
reply.

If you have done this, and you are asking about changing the "Your
confirmation is required to join the %(listname)s mailing list"
subject, this requires patching the text in the
GetConfirmJoinSubject() definition in Mailman/MailList.py.

You can also edit the body of the message by making an edited version
of the verify.txt template. See
.


>Am I the only experiencing this?  I believe that I've made things  
>clear to users on my static pages
>
>   http://lists.shepard-families.org/
>
>and in all of the administrative messages I send to the list.  But  
>this just doesn't seem to be enough.
>
>Also is there a way to get a listing of all things pending  
>confirmation (not just subscriptions, but address changes as well)?


bin/dumpdb lists//pending.pck

will show them, albeit in a cryptic form. Also, it shows some that are
expired so you have to look at the timestamps in the 'evictions'
dictionary.

-- 
Mark Sapiro <[EMAIL PROTECTED]>   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://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] Getting users to confirm

2007-04-02 Thread Jeffrey Goldberg
I run list for some very non-technical users, with my site being  
their only experience with any MLM system for many of them.

The single biggest problem that I have is that users fail to  
recognize that they need to act on confirmation requests.  As far as  
I can tell, they treat the confirmation request as an actual  
confirmation that everything is done.

Where would I go about changing the subject line of the confirmation  
requests, and what would people recommend.

Am I the only experiencing this?  I believe that I've made things  
clear to users on my static pages

   http://lists.shepard-families.org/

and in all of the administrative messages I send to the list.  But  
this just doesn't seem to be enough.

Also is there a way to get a listing of all things pending  
confirmation (not just subscriptions, but address changes as well)?

-j

-- 
Jeffrey Goldberghttp://www.goldmark.org/jeff/

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp