I can't have individual maildrop .rc files...just database. So I was thinking about detect attachments inside spamassassin, tag message and strip attachments in the maildrop.
I know that mimeheader do what I need, but I couldn't insert mimeheader into database (sql userpref) rules at user level. Regards, Fernando > > Please respond to LIST not to personal e-mail. > > On Fri, 26 Jun 2009, ferna...@dfcom.com.br wrote: >> I would like spamassassin does: >> Read attach extensions from userpref (database), >> filter that mime and set a message header, >> maildrop (that is my mda), drops this attach and delivery only text >> part. >> (this is the easier part - it is ready). > > Does maildrop not have a 'user preferences' or '.rc' file? > It has to 'find' these attachments and strip them out anyway. > Why involve SA at all? > >> I don´t know to do this mime filtering using userpref configuration. I >> thouth create an eval function, but I don´t know how to pass function >> parameters from userpref database. > > Just create 'mimeheader' rules. > > http://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Plugin_MIMEHeader.html > > - C