Displaying 1 result from an estimated 1 matches for "some_other_maildir".
2007 Aug 27
4
processing Dovecot maildirs with shell scripts
...dirs which Dovecot sees and serves to local or remote imap
users. Basically, I need to write some shell scripts that, from cron
jobs, regularly do this:
foreach file in some_incoming_mailbox/new/
do
#process the file and/or set some variable according to its content
delete the file or
mv it to some_other_maildir/new/
where the actual action and value of some_other_maildir is set every
time by the "process the file" part of the script.
The part that I still miss is guidelines to do these things safely,
that is without losing or corrupting messages or doing anything else
that would confuse doveco...