On 27Nov15 16:33 +0200, Danny wrote: > O.k ... I tried various combinations but it does not seem to work > > folder-hook .FreeBSD push 'T~s>5d<enter>;s/incoming/os/bsd/FreeBSD-OLD<enter> > is > what I tried last ...
Right. Of course I inserted some typo. ~s is the metachar for the subject of the mail. Try it with a ~d which corresponds to the date received. folder-hook .FreeBSD push 'T~d>5d<enter>;s/incoming/os/bsd/FreeBSD-OLD<enter> Watch out: The first argument to folder-hook is a regexpr. So be careful with that. .FreeBSD will (most probably) match both of your mailboxes FreeBSD and FreeBSD-OLD. Better try first: folder-hook FreeBSD$ push 'T~d>5d<enter>;s/incoming/os/bsd/FreeBSD-OLD<enter> Here, the '$' marks the end of a line, thus the folder FreeBSD-OLD will not be matched. Cheers, -- Bastian