Skip to content

A couple of simple programs to reverse ProofPoint URL defense URLs in email using procmail.

Notifications You must be signed in to change notification settings

wjshamblin/proofpoint_rewrite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

proofpoint_rewrite

This program can be used in conjunction with procmail to remove the proofpoint url defense urls from an email. A simple rule like below should work.

:0 fw
* ^X-Proofpoint.*: .*
| python3.5 $HOME/bin/remove_proofpoint.py

If you would like to test this out to see how it works with a copy:

:0c
* ^X-Proofpoint.*: .*
{
        :0 fw
        | /usr/bin/python3 $HOME/proofpoint_rewrite-noppcheck.py
        :0
        non-proofpoint
}

The program will take stdin, and return the modified content on stdout.

This is a very basic script that assumes a lot. It should rewrite messages with a single part, or multiplart messages with plain text and html.

About

A couple of simple programs to reverse ProofPoint URL defense URLs in email using procmail.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages