> > 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 On 26.06.09 21:39, ferna...@dfcom.com.br wrote: > I can't have individual maildrop .rc files...just database. > > So I was thinking about detect attachments inside spamassassin, oh, dirty workaround, but doable. However, highly depend on the way your MTA calls the spamassasin. With milter, you can't push _any_ header to the mail, only those compiled in. > tag message and strip attachments in the maildrop. so, you can't have personal maildroprc but can force your maildrop to strip attachments??? > I know that mimeheader do what I need, but I couldn't insert mimeheader > into database (sql userpref) rules at user level. yes, per-user rules are deangerous thinh an ISP probably won't allow (unless not using spamd) -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Micro$oft random number generator: 0, 0, 0, 4.33e+67, 0, 0, 0...