Renattach

Jul 20, 2023

Rename or remove certain attachments or kill entire messages

renattach is a fast and efficient e-mail stream filter written by Jem Berkes. It can rename or delete potentially dangerous attachments or even eliminate entire messages to help sites deal with resource strains caused by virus floods. Unlike conventional virus scanners, there are no specific virus or worm definitions. Instead, attachments are classified based on file extension and executable encoded body content.

Features

  • Fast, efficient, lightweight, little overhead, pure C code
  • Recognizes both MIME and uuencoded attachments
  • Compliant with RFC2047 and RFC2231, handles encoded filenames
  • Capable of reading filenames inside ZIP archives, on the fly
  • Can rename or delete attachments, or kill entire messages
  • Can detect executables that carry DOS/Windows signature
  • Supports list of banned filenames great for handling floods
  • Simple pipe/stream operation; can be used within many filtering systems
  • Can be used directly as a content_filter for Postfix MTA
  • Can be installed as a local delivery agent for Sendmail MTA


Checkout these related ports:
  • Xpbiff -
  • Xmailwatcher - Mailbox checker which displays sender and subject lines of mails
  • Xmailbox - Mailbox checker with sound and animation for X Window System
  • Xmail - X-based interface to the Berkeley mail program
  • Xfce4-mailwatch-plugin - Mail notification applet for the Xfce panel
  • Xfaces - Display shaped icons for mail spool contents
  • Xcite - Exciting Cite for any Mail/News reading modes on Emacs
  • Xbuffy - Replacement for xbiff that handles multiple mail files
  • X-face-e21 - X-Face utilities for Emacs
  • Wmmaiload - Incoming mail monitor dockapp with a similar look to wmcpuload
  • Wmbiff -
  • Whoson - Implementation of `WHO iS ONline' protocol
  • Websieve - Web based Cyrus IMAP user admin client
  • Wanderlust - Mail and news system for Emacs
  • Vrfy - Verify mail address