[Mimedefang] how to block jpg and gif attachements for some users

Michiel Brandenburg apex at prezent.nl
Thu Jun 26 03:42:40 EDT 2008


Indunil Jayasooriya wrote:

> I am running postfix, Spam Assassin, ClamAV, MailScanner on CentOS 5.
> Now, I need to  block jpg and gif attachements for some users . No
> rescritions for the rest of users .
> 
> Can mimedefang do it?
Mimedefang can do that, the question is, does your version of postfix 
understand a milter ? If so no problems.  Take a look at how "bad" 
attachments are handled in the documentation, you can set something up 
that works the same to handle blocking/dropping email with images for 
some users.  Or alternatively removing the image and telling the user 
you removed it.

-- 
With kind regards,
Michiel Brandenburg



More information about the MIMEDefang mailing list