[development] Procmail rule.

Uwe Hermann uwe at hermann-uwe.de
Tue Dec 13 22:20:58 UTC 2005


Hi,

On Tue, Dec 13, 2005 at 08:58:02PM +0100, Piotr Krukowiecki wrote:
> List-Id: A list for Drupal consultants and Drupal service/hosting providers
>         <consulting.drupal.org>
> 	
> That is, a List-Id that spans over two lines. This makes it harder for
> me to sort incoming mail, I can't just do 
> * ^List-Id: .* <consulting.drupal.org>
> Could this be changed by either removing some of the text or not
> wrapping the line?

You can use something like

:0:
* ^X-BeenThere:\ \/[^@]*@drupal.org
IN.DRUPAL.`echo $MATCH | sed -e 's/@drupal.org//'`

to automatically sort mail from any Drupal mailing list using procmail.

The mailboxes will be named
  IN.DRUPAL.development
  IN.DRUPAL.security
  etc.


HTH, Uwe.
-- 
Uwe Hermann <uwe at hermann-uwe.de>
http://www.hermann-uwe.de                 | http://www.crazy-hacks.org
http://www.it-services-uh.de              | http://www.phpmeat.org
http://www.unmaintained-free-software.org | http://www.holsham-traders.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.drupal.org/pipermail/development/attachments/20051213/5bf861df/attachment.pgp


More information about the development mailing list