[Users] Processing Rules: Header defined

wwp subscript at free.fr
Fri Feb 3 17:07:09 CET 2012


Hello RW,


On Fri, 3 Feb 2012 15:44:37 +0000 RW <rwmaillists at googlemail.com> wrote:

> On Wed, 1 Feb 2012 11:42:28 +0100
> wwp wrote:
> 
> > Hello Christian,
> > 
> > 
> > On Wed, 1 Feb 2012 11:33:18 +0100 Christian Hesse <list at eworm.de>
> > wrote:
> > 
> > > Hello everybody,
> > > 
> > > when creating processing rules for headers you can choose whether
> > > they contain a string or do not contain a string.
> > > 
> > > My mobile phone stores sent Mails without a Date header set.
> > > Therefore I would like to have check "header exists". Is there
> > > something like that? Any reason not to implement it?
> > 
> > There's no such rule, you can you use a regexp rule to match "." (w/o
> > the quotes, . meaning any character in regexp). That way only an
> > existing, non-empty value will match.
> 
> You can use "^" instead of "." to get a true  "header exists" test.

Right, "." is to test if it exists and is not empty. I don't know
exactly what the OP really wants, and I also wonder if a header can be
there and be empty (and then if he/we should care about it).

Anyway, thanks for this regexp precision!


Regards,

-- 
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20120203/4c585abf/attachment.sig>


More information about the Users mailing list