[dokuwiki] Re: patch: Allow easier mail filtering

  • From: Robin Getz <rgetz@xxxxxxxxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 27 Jan 2011 13:56:25 -0500

On Thu 27 Jan 2011 08:30, Andreas Gohr pondered:
> > All the way back to RFC 822, and still included in RFC 5322, are optional
> > Informational Fields. This includes a "Keywords:" field, which is
> > described in RFC 5322 as:
> >
> >   The "Keywords:" field contains
> >   a comma-separated list of important words and phrases that might be
> >   useful for the recipient.
> >
> > +    $header .= 'Keywords: Dokuwiki 
@ '.parse_url(DOKU_URL,PHP_URL_HOST).MAILHEADER_EOL;
> 
> The question is how this could be used by end users and if this
> information would be enough. Since this accepts a comma separated
> list, should we add additional info? Here are a few things I could
> imagine:
> 
>   * type of change (create, edit, minor edit)
>   * the whole namespace hierarchy as one keyword
>   * each namespace as a separate keyword
> 
> Would this make sense?

Sure. Makes sense to me.

> Robin, how are you using this header? What does it provide that the
> mail subject and sender address does not?

The end user desire was filtering at the local mail client.

We send emails from :

$conf['mailfrom'] = '"@NAME@" <@USER@@'.parse_url(DOKU_URL,PHP_URL_HOST).'>';

to allow people to easily see in their mail client who did the change. Most 
people have these emails as "real", so that you can reply to them, and it 
works, without exposing people's real email address. (privacy issues and 
such).

Filtering on Subjects is difficult since most users that I talked to wanted 
the main diff to go to a wiki folder, but any discussion not to (so they 
don't miss discussion on email about a change to a page).

So - we added a keyword, which only is set by the originating email...

-Robin



--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: