OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: store email with subject filename

From: Robert Schetterer (robertschetterer.org)
Date: Thu Jul 16 2009 - 05:06:35 CDT


gianlucabrtinterfree.it schrieb:
> Hi
>
>
> My mailserver store mail in Maildir format, is possible through postfix, mailscanner or procmail to store mail with subject filename so i can find mail more quicly on server?
>
>
>
> -------------------------------------------------------------------------------
> Valore legale alle tue mail
> InterfreePEC - la tua Posta Elettronica Certificata
> http://pec.interfree.it
> -------------------------------------------------------------------------------
>

as my small knowledge of procmail you need formail for that

like i.e
.procmailrc
...
FORMAIL="/usr/bin/formail"
...
SUBJECT=`formail -xSubject:

then you may short the subject with sed etc

you may ask on the procmail list, or maybe here is someone that has
better procmail knowledge

--
Best Regards

MfG Robert Schetterer

Germany/Munich/Bavaria