On 11/30/2010 10:27 AM, Gustavo Villaran wrote:
Hi, i just installed postfix on my company and is working fine, now
the company management has asked me to
implement a group security model that i dont know if i could do it in
postfix, it goes like this :
1. We want to have a group of persons that can send and receive emails
without restrictions
2. We want to have a group of persons that can send and receive emails
but they cannot send attachments ( based on extensions .exe, .pdf,.xls
etc)
3. We want to have a group of persons that can only send and receive
internal emails.
Can i configure postfix to handle that?
Thanks for your answer in advance.
Your requirements 1 and 3 are easily done by reading and combining
http://www.postfix.org/RESTRICTION_CLASS_README.html#external and using
SASL auth like
http://www.postfix.org/SASL_README.html#server_sasl_authz_envelope
Requirement 2 is much more difficult because Postfix itself will
generally accept any mail data. You probably will have to rely on an
external content filter or milter. Others may have better suggestions.