David Woodhouse
2013-Apr-09 16:17 UTC
[Dovecot] How to exec /usr/libexec/dovecot/imap with specific maildir location
Once upon a time I could configure my mailer to access my historical archives by running something like ssh $mailserver MAIL=maildir:~/Maildir-archive dovecot --exec-mail imap I need to run /usr/libexec/dovecot/imap manually now, and I've fixed that a while ago for my normal email access. But I've just had cause to go back to my archives for the first time in a while... and realised that I don't know how to make it work any more. When invoking /usr/libexec/dovecot/imap, is there an environment variable or command line option which can set the mail location? -- dwmw2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6171 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20130409/6c9f3dd3/attachment-0001.bin>
Ben Morrow
2013-Apr-09 17:44 UTC
[Dovecot] How to exec /usr/libexec/dovecot/imap with specific maildir location
At 5PM +0100 on 9/04/13 you (David Woodhouse) wrote:> Once upon a time I could configure my mailer to access my historical > archives by running something like > > ssh $mailserver MAIL=maildir:~/Maildir-archive dovecot --exec-mail imap > > I need to run /usr/libexec/dovecot/imap manually now, and I've fixed > that a while ago for my normal email access. But I've just had cause to > go back to my archives for the first time in a while... and realised > that I don't know how to make it work any more. > > When invoking /usr/libexec/dovecot/imap, is there an environment > variable or command line option which can set the mail location?I don't know about an environment variable, but you can use the -o option to set configuration variables in the dovecot.conf format: /usr/libexec/dovecot/imap -o mail_location=maildir:~/Maildir-archive Ben
David Woodhouse
2013-Apr-09 19:48 UTC
[Dovecot] How to exec /usr/libexec/dovecot/imap with specific maildir location
On Tue, 2013-04-09 at 18:44 +0100, Ben Morrow wrote:> /usr/libexec/dovecot/imap -o mail_location=maildir:~/Maildir-archivePerfect. Thank you. -- dwmw2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 6171 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20130409/87472d7e/attachment-0001.bin>
Possibly Parallel Threads
- [LLVMdev] [RFC PATCH 1/2] x86: Fix ModR/M byte output in 16-bit addressing mode
- [Bug 1328] New: ControlClient uses wrong $DISPLAY.
- 1.2.13 QRESYNC crash.
- [Bug 1329] New: stale control sockets prevent connection.
- HCL: Zigor Danubio 2000 supported(ish) by blazer_usb