Re: user filtering attachments

2009-06-28 Thread Matus UHLAR - fantomas
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

Re: user filtering attachments

2009-06-28 Thread Jonas Eckerman
Matus UHLAR - fantomas wrote: 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. That would depend on wich milter. With MIMEDefang SA itself can't add headers

Re: user filtering attachments

2009-06-26 Thread Matus UHLAR - fantomas
On 24.06.09 22:56, ferna...@dfcom.com.br wrote: I'm trying to find a solution allowing user filtering attachments. My environment uses sql user tables. I was using mimeheader, it works at local.cf but no inside userpref table. Spamassassin shows the rules at debug, but it doesn't work (with

Re: user filtering attachments

2009-06-26 Thread Charles Gregory
On 24.06.09 22:56, ferna...@dfcom.com.br wrote: I'm trying to find a solution allowing user filtering attachments. My environment uses sql user tables. Um, do you mean 'reject if mail has attachment of a certain type'? Or do you mean you want to run an actual filtering program to examine the

Re: user filtering attachments

2009-06-26 Thread Charles Gregory
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.

Re: user filtering attachments

2009-06-26 Thread fernando
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.