12 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Problems with regular...
FromSent OnAttachments
Christian LerrahnMar 29, 2006 10:35 pm 
Thorsten HaudeMar 30, 2006 4:22 am 
moussMar 30, 2006 12:12 pm 
Christian LerrahnMar 30, 2006 1:54 pm 
Thorsten HaudeMar 30, 2006 4:35 pm 
Christian LerrahnApr 2, 2006 11:33 pm 
Thorsten HaudeApr 3, 2006 12:07 am 
Christian LerrahnApr 3, 2006 6:37 am 
Thorsten HaudeApr 3, 2006 12:09 pm 
Christian LerrahnApr 20, 2006 4:47 am 
Devin RubiaApr 20, 2006 7:08 am 
Sam VarshavchikApr 20, 2006 3:57 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Problems with regular expressionsActions...
From:mouss (mou@netoyen.net)
Date:Mar 30, 2006 12:12:43 pm
List:net.sourceforge.lists.courier-maildrop

Christian Lerrahn wrote:

Hi, I'm trying to set up rules based on regular expressions but can't get it to work. I checked the documentation several times but I just can't get it to run. Let's say I want to filter out all emails coming from ab@def.com. I tried the following.

/From:\s+.*abc@def\.com/ /From: *ab@def.com/

However, the only thing I ever got to work was something like

/From: ab@def.com/

Now the line might also be "ABC" <ab@def.com> and this doesn't match any more. From what the documentation said, everything looked to me pretty much like perl regexps but obviously this is not exactly true. How would the correct rule be written?

why not use getaddr?