Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th December 2006, 16:09
mccyberix mccyberix is offline
Member
 
Join Date: Aug 2006
Posts: 74
Thanks: 0
Thanked 1 Time in 1 Post
Default Per User Attachment filter

Hi,
I'm running Debian(Sarge) with ISPConfig and Postfix as MTA. I need to filter out certain attachments (like: .ppt, .exe) and drop it. I have found the 'DEFANG' settings in '.html-trap.rc' where I'm able to define for each user a different MIME-Type defanging, that's exactly what I was looking for but now I need to drop Attachments with a certain MIME-Type and send instead of the attachment a message which informs the recipient about the droped attachment. But it should also be per user, not Systemwide. Please can you tell me how to manage this, thanks in advance!
Rix
Reply With Quote
Sponsored Links
  #2  
Old 12th December 2006, 14:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

The current recipe is already per-user, and it notifies the recipient if an attachment was removed.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 16th December 2006, 19:45
mccyberix mccyberix is offline
Member
 
Join Date: Aug 2006
Posts: 74
Thanks: 0
Thanked 1 Time in 1 Post
Default

I see, but how can I define particular extensions like the .pps, .exe to be dropped rather then defanged, cause I need some extensions to be defanged some dropped and some delivered as they are.
Thanks in advance
Reply With Quote
  #4  
Old 17th December 2006, 19:37
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

You can do this with the Anomy Sanitizer: http://directory.fsf.org/anomysanitizer.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 19th December 2006, 16:35
mccyberix mccyberix is offline
Member
 
Join Date: Aug 2006
Posts: 74
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Thanks Falko, that's it!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Anything I can do against illegal login-requests? schmidtedv Installation/Configuration 17 7th November 2008 09:25
SpamAssassin Mail Filter on user UUCP, NOBODY and MAIL edge Server Operation 1 18th October 2006 16:30
php script injections Grizzly General 21 18th July 2006 08:55
perfect setup suse 10 - phpmyadmin & mysql question reddog Server Operation 7 17th June 2006 12:59


All times are GMT +2. The time now is 14:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.