[Dovecot] Run command when moving messages
Hi Is it possible to run a command when a message is moved from a folder to another? I want this to simulate the antispam plugin, so one script would be ran when a message is moved to/from the spam folder, so the sa-learn command would be called. Thanks
Re: [Dovecot] Feature Request - starting dovecot, config file behavior
On 4/18/2008 7:32 AM, Timo Sirainen wrote: On Fri, 2008-04-18 at 06:43 -0400, Charles Marcus wrote: Postfix: If postfix encounters the same setting defined more than once, the last one wins. This is how Dovecot also works, just tested.. Dovecot: If dovecot encounters the same setting defined more than once it gives an error (also when using the 'dovecot -n' command). This is how I wish Dovecot worked. :) So what setting exactly do you see giving an error, and what error? Weird... This was an email I had started in my drafts folder... but I just tested, and you're right, its working now... Either I'm crazy, or it didn't *used* to work that way - or maybe I had a typo in it... Sorry for the noise... -- Best regards, Charles
Re: [Dovecot] Run command when moving messages
Hi, The easiest way to do this seems to me is adapting the dspam backend of the antispam plugin to a generic exec backend, that calls some program. The antispam plugin was designed to do exactly this, monitoring moving messages, so you better make use of it ;) Alexander Juan Asensio Sánchez wrote: Hi Is it possible to run a command when a message is moved from a folder to another? I want this to simulate the antispam plugin, so one script would be ran when a message is moved to/from the spam folder, so the sa-learn command would be called. Thanks
[Dovecot] Moving Maildir email messages and backing things up.
I just moved to dovecot with Maildir. I think this is probably a stupid question, but I couldn't find an answer after an hour of googling and searching the wiki. What would happen if I ran a script that did this: mv ~/Maildir/.folder_one/cur/* ~/Maildir/.folder_two/cur/ My hunch is it might break things. What if dovecot was stopped? ,.,.,. Where can I find a list of files in ~/Maildir/ and a note on what they are? (And similarly for a ~/Maildir/.folder) I'm wondering if everything needs to be backed up, or if I can/should skip the indexes. What happens if any of these files changes during the backup? (I'm thinking I shouldn't have to stop dovecot for a backup). Karl Schmidt EMail [EMAIL PROTECTED] Transtronics, Inc. WEB http://xtronics.com 3209 West 9th StreetPh (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 Give me four parameters and I can fit an elephant; Give me five and I can wag its tail. (The source of the above quote?? Variants have been attributed to C.F. Gauss, Niels Bohr, Lord Kelvin, Enrico Fermi.)
[Dovecot] Sharing Folders - or views?
Hi All Running Dovecot v1.0.3 on FC 6. We have a Dovecot account which contains folders used by all staff. Think of the account as Customers and the folders as Customer-1, Customer-2, Customer-3 and so on. We currently have around 650 of these customer folders. The problem is that there are currently 12 members of staff who need to see a subset of these folders (i.e. the customers that they are the manager for) but who also need to see (sometimes) the entire range of customer folders. Ideally what they would like to see is this kind of layout: +Personal Folders Inbox Trash Copies + My Customers Cust-1 Cust 7 Cust-25 Cust 33 + All Customers Cust-1 Cust-2 Cust-3 Cust-4 Cust-5 Cust-6 Cust-7 etc I suppose we could achieve this with symlinks but thought I would ask in case there is a clever way to achieve the same end. Thanks and Regards Nigel. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.