creating user acls in amavis-new

view full story

http://www.linuxquestions.org – Hi I run a mailserver I use amavis to filter e-mail extensions. I need to implement a more fine grained policy in the file extensions that are allowed to pass. For example if I have user1, user2 and user3, I want to block some file extension to all the users (like exe, mp3, avi, etc). For user3 I want to block some additional formats like .ppt, .jpeg, .gif. User1 and User2 must be able to send/receive emails with attachments that user3 can't. Additionally, I must inlude a mail notification nmessage to the sender that the message was blocked due (HowTos)