Displaying 1 result from an estimated 1 matches for "some_incoming_mailbox".
2007 Aug 27
4
processing Dovecot maildirs with shell scripts
...vant here, I need to process/refilter/sort again the
content of these mailboxes before delivering the messages to the
_other_ maildirs 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 guide...