[Dovecot] deliver: select destination folder
2 Oct
2005
2 Oct
'05
1 p.m.
Hello,
I wanted a commandline switch within deliver to select the destination
folder within an IMAP account, so I added the -f switch, heres the diff,
the implementation is only "proof of concept" hehe, I didnt checked if
theres any security riscs in doing this. Could we add something like this
to dovecot?
diff deliver.c.orig deliver.c 342c342 < const char *destination, *mail;
const char *destination, *mail, *folder;
355a356
folder = NULL;
364a366,373
378a388,391
449c462 < if (save_mail(storage, "INBOX", input) < 0)
if (save_mail(storage, folder, input) < 0)
bye! Dominik
7143
Age (days ago)
7157
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dominik Werder
-
Timo Sirainen