[Users] Processing Rules: Header defined
list at eworm.de
Wed Feb 1 14:08:09 CET 2012
wwp <subscript at free.fr> on Wed, 1 Feb 2012 11:42:28 +0100:
> 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.
> Why isn't there a "header exists"? Well.. hmm, I don't have a precise
> answer - I remember this topic raising from time to time - because
> regexp . is enough to test it maybe?
Ok, makes sense if it works. I did not notice the regexp option.
I do have this now:
~header "Date" regexp "."
execute "/usr/lib/claws-mail/tools/fix_date.sh %F"
But it does not work. Are scripts not allowed to modify messages from
And would it make sense to allow actions for processing actions?
And even more important... If a local file changes, can I sync it back to the
IMAP server automatically?
O< ascii ribbon campaign
stop html mail - www.asciiribbon.org
More information about the Users