Jason wrote:

> I would like to prevent .jpg and .gif attachments from coming into my 
> mail server for my domain. The objective of this is to prevent any 
> potential pornographic images that may get through the spam filters. 
> However, I want my internal users to be able to send .jpg images as 
> attachments, as they have a legitimate purpose. Can this be accomplished 
> by somehow whitelisting our internal IP address subnets such as 
> 192.168.10.0/24? I am running postfix and clamav as well. Thank you in 
> advance for any suggestions.

> ///Jason

Your best bet is to use the policy bank MYNETS

http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks
http://www.ijs.si/software/amavisd/amavisd-new-docs.html#pbanks-ex
http://marc.theaimsgroup.com/?l=amavis-user&m=113415019700881&w=2

There are also examples in amavisd.conf-sample.

Hopefully you are using version 2.0 or newer.

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to