[Dovecot] Looking for suggestions: How to strip attachments from mails

Patrick Nagel patrick.nagel at star-group.net
Fri May 16 13:02:31 EEST 2008


Hi,

I know this is not 100% on-topic, but I'll try anyway...

I'm looking for a way to strip attachments from incoming mails on the server. 
The attachments should be stored on a file server (where users have access 
via SAMBA) and only a link to the file (UNC path) should remain in the mail 
body. This is to prevent the mail storage from filling up with a large amount 
of big mails where at the same time the 'payload' (attached file) is not 
conveniently accessible by the users.

The current setup is postfix / dovecot deliver / dovecot (with sieve plugin). 
I'm considering piping the mails through something like mimeStrip.pl 
(http://freshmeat.net/projects/mimestrip.pl/), but therefore I'd probably 
need to bring procmail/maildrop into the game, right?

Or are there other (better) ways to accomplish this?

Patrick.

-- 
STAR Software (Shanghai) Co., Ltd.            http://www.star-group.net/
Phone:    +86 (21) 5427 7799 x 826             Fax:   +86 (21) 6485 0071

PGP key:         https://stshacom1.star-china.net/keys/patrick_nagel.asc
Fingerprint:           E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://dovecot.org/pipermail/dovecot/attachments/20080516/1335e2d1/attachment.bin 


More information about the dovecot mailing list