Hello again Is there a way to filter some attachments with dovecot ? I don't want my users to keep video files in the IMAP folders anymore ( disk is almost full ) . Thank you.
On Tue, 2011-03-08 at 17:42 +0100, Frank Bonnet wrote:> Is there a way to filter some attachments with dovecot ?I think there are some generic IMAP tools for that..
On Tue, 08 Mar 2011 17:42:32 +0100, Frank Bonnet <f.bonnet at esiee.fr> wrote:> Is there a way to filter some attachments with dovecot ?These are generic: altermime (very easy to setup, low resource usage, may be used as a pipe filter: /usr/bin/altermime --removeall /path/to/email/10, poorly documented: but 'man altermime' will be most of what you need) mimedefang (more complex setup, resources hungry: cpu and memory intensive, more powerful at manipulating the extracted attachments) M.