[siesta-dev] NoMail support (was Re: from "arse")

[prev] [thread] [next] [lurker] [Date index for 2003/05/30]

From: Richard Clamp
Subject: [siesta-dev] NoMail support (was Re: from "arse")
Date: 00:46 on 30 May 2003
On Thu, May 29, 2003 at 11:44:03PM +0100, Richard Clamp wrote:
> On Thu, May 29, 2003 at 11:36:41PM +0100, Nicholas Clark wrote:
> > Arse. I've just remembered that whatever mutt defaults From: to here isn't
> > what I'm subscribed to siesta-dev as.
> > 
> > So what happens to my message now? It festers in limbo until someone writes
> > approval?
> 
> I think that's a possibility.  What's more likely is I'll grab it out
> of the database and munge it, when I can figure out the incantations I
> need for mysql.

Option 3.  If I've done it right, then you should be subbed nomail
from that address.  It's as simple as:

Set up the list so people can sub nomail

 % nacho set-plugins siesta-dev Archive SubjectTag ListHeaders Send NoMail

 mysql> update list_plugins set personal = 1 where name = 'NoMail';

Sign someone up and set them nomail

 % nacho add-user-list siesta-dev nick@xxxxxxx.xxx
 % nacho set-plugin-config-userlist NoMail nick@xxxxxxx.xxx siesta-dev nomail 1

Which is to say, it needs to be a chunk simpler, but nacho is icky.

The other way to solve this, is to make the Siesta::User class know
about multiple email addresses per user, and teach
Siesta::List->is_member about that.  I think that's cleaner, and it's
what we've had in mind since the first day, but it's less simple and
doesn't help with stealing mailman users directly with bandito.

-- 
Richard Clamp <richardc@xxxxxxxxx.xxx>

Generated at 13:56 on 01 Jul 2004 by mariachi 0.52