Micha Krause
2012-Feb-24 16:26 UTC
[Dovecot] Mail delivery to subfolders via address extension, and prefered lda method
Hi, I want to deliver mails directly to subfolders, based on address extensions. Example: Emails sent to: micha+test at example.com Should be stored into user micha, folder INBOX.test I was able to reproduce this with exim and dovecot-lda: command = /usr/lib/dovecot/dovecot-lda -e -m "INBOX.${substr_1:$local_part_suffix}" But I was wondering if I could do this within dovecot, which would enable me to use LMTP instead of dovecot-lda. Which brings me to my second question: Which method is "better" for dovecot, lda or LMTP? Micha Krause
Timo Sirainen
2012-Feb-25 00:47 UTC
[Dovecot] Mail delivery to subfolders via address extension, and prefered lda method
On 24.2.2012, at 18.26, Micha Krause wrote:> I want to deliver mails directly to subfolders, based on address extensions...> I was able to reproduce this with exim and dovecot-lda: > > command = /usr/lib/dovecot/dovecot-lda -e -m "INBOX.${substr_1:$local_part_suffix}" > > > But I was wondering if I could do this within dovecot, which would enable me to use > LMTP instead of dovecot-lda.lmtp_save_to_detail_mailbox = yes> Which brings me to my second question: > > Which method is "better" for dovecot, lda or LMTP?LMTP is often easier to setup and faster.