21 Dec
2008
21 Dec
'08
10:18 a.m.
On Sat, 2008-12-20 at 12:37 +0000, RW wrote:
On Fri, 19 Dec 2008 07:52:58 +0200 Timo Sirainen tss@iki.fi wrote:
No. But you could do something like:
export MAIL=maildir:/home/user/Maildir printf "1 select src\n2 copy 1:* dest\n3 store 1:* +flags.silent \\deleted\n4 close\n" | imap
That's easier than I thought. Is it possible to do that with virtual accounts, if I set the appropriate uid and path in MAIL, or do I need to give dovecot some additional user information?
Those should be enough. Perhaps also set USER just in case. Also if you're using some plugins they're not enabled when running like this (but with extra environment settings you could run them too).