Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th September 2008, 14:00
abadi abadi is offline
Junior Member
 
Join Date: Nov 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASK: Amavisd-new+banned filename by username

Hi guys,

I got a problem with incoming mail in my office, the users in my office always send and receive maybe every minutes and now the ISP charge with big money and my boss asked me to make a filter at mail server, currently i am using postfix and amavisd-new. is there any one know how to banned filename (like pps, ppt) for receiving only by username (selected username) in amavisd-new?
Thanks and please help me!
Reply With Quote
Sponsored Links
  #2  
Old 9th September 2008, 17:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
Default

The problem is that the attachments have already arrived on the server when you try to filter them, so you won't save any traffic.
__________________
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 10th September 2008, 14:42
abadi abadi is offline
Junior Member
 
Join Date: Nov 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Falko,

I understand it wont save any traffic but do you know how to banned filename by username in amavisd, thanks!
Reply With Quote
  #4  
Old 11th September 2008, 14:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,726 Times in 2,565 Posts
 
Default

I think you can do this with a Postfix filter: http://www.postfix.org/FILTER_README.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
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
Setting Up A PXE Install Server For Multiple Linux Distributions With Ubuntu Edgy Eft flashback_pa HOWTO-Related Questions 2 23rd April 2008 17:11
Generate username from email-address julez Tips/Tricks/Mods 11 2nd June 2007 18:26
High Load (>4.00), Clamscan / SpamAssassin DOCK42 General 8 30th May 2007 17:02
amavisd dead but subsys locked asyadiqin Installation/Configuration 5 27th January 2007 14:09
Client username length bug bwragg Installation/Configuration 2 8th January 2007 12:41


All times are GMT +2. The time now is 06:49.


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