Re: [exim] Mark messages as read

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Troy Engel
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Mark messages as read
Michael Haardt wrote:
>
> I wouldn't like to see code in Exim for half-baken attempts like "deliver
> to cur instead of new", because that is just a fraction of a real solution
> to this problem.


Wouldn't the marking of a message as Read, then, be better implemented
at the filter command level? Perhaps another parameter to the save
command, or a new command (so as not to break old filters).

   if
     $header_to: contains "exim-users@"
   then
     savemark R $home/Maildir/.Lists.Exim/
     finish
   endif


Or something like that, leaving the mechanism open to future expansion
for flags other than Read (savemark RXYZ... $foo). Since the 'save'
command already understands if it's delivering to Maildir, mbox, etc it
could add the appropriate info at that time instead. Maybe?

-te

--
Troy Engel | Systems Engineer
Fluid, Inc | http://www.fluid.com