Per User Attachment filter

Discussion in 'Tips/Tricks/Mods' started by mccyberix, Dec 11, 2006.

  1. mccyberix

    mccyberix Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    The current recipe is already per-user, and it notifies the recipient if an attachment was removed.
     
  3. mccyberix

    mccyberix Member

    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
     
  4. falko

    falko Super Moderator Howtoforge Staff

  5. mccyberix

    mccyberix Member

    Thanks Falko, that's it!
     

Share This Page