Skip to content

hager/removeattach

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

removeattach

Remove all attachments from a MIME encoded message

Prerequisites

glib-2.0, gmime-2.4, zlib

Build Instructions

gcc `pkg-config --cflags --libs glib-2.0` `pkg-config --cflags --libs gmime-2.4` removeattach.c -o removeattach 

Usage

Pipe mime encoded e-mail message from procmailrc to removeattach.

Sample .procmailrc entry to handle Gmail illegal attachment bounces:

:0c:
*
{
    # Filer attachments from Gmail illegal attachment bounces
    :0Bf
    * 552-5.7.0
    |/usr/bin/removeattach 

    # Forward mail to gmail
    :0
    ! user@example.com
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages