Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
maildrop "mark as read" recipe question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
JC Denton
Apprentice
Apprentice


Joined: 16 Apr 2003
Posts: 151
Location: USA

PostPosted: Sun Sep 19, 2010 9:06 am    Post subject: maildrop "mark as read" recipe question Reply with quote

Hello all,

I found an interesting maildrop recipe the other day that allows mail to be marked as "read" during the delivery process:
Code:
cc "${MAILDIR}.box/"
`for x in ls ${MAILDIR}/.box/new/*; do mv $x ${MAILDIR}/.box/${x##*/}:2,S; done`
to "/dev/null"

I'm curious... Couldn't the "to" command simply be an "exit?" Also, wouldn't this rule affect concurrent deliveries matching this rule?

Any insight would be greatly appreciated. Thanks :) !

EDIT- Fixed wrong path names...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum