Re: SMTP proxy for masking credit card numbers

Top Page
Attachments:
Message as email
+ (text/plain)
+ signature.asc (application/pgp-signature)
+ (text/plain)
Delete this message
Reply to this message
Author: Joseph Sinclair
Date:  
To: Main PLUG discussion list
Subject: Re: SMTP proxy for masking credit card numbers
This is a somewhat unusual requirement, so I couldn't find a quick out-of-the-box solution, but there is a way to do this.
The general-purpose approach is to add a filter on the mail processing path. There are many listed here (https://www.milter.org/) that work with sendmail, postfix, and similar common MTA's.
You will probably need to write a regex matcher or a small python script (using pymilter http://pymilter.sf.net/) to match anything that looks like a credit card and replace the digits with 'x' or similar.
Keep in mind this will probably be a bit "fuzzy", as there are many things that look enough like a credit card number to result in some mistaken filtering.

Hunter Kreie wrote:
> I'm looking for a lightweight, open-source STMP proxy that I can use to mask credit card numbers on inbound messages. This is content-manipulation or content-scrubbing vs. content-filtering. I'm sure this can be done with quite a few packages, but what's your recommendation?
>
>
> ----
>
> Fairytale Brownies & friends have raised $30,000 to build a playground with KaBOOM! Help us reach our goal of $72,000 by April 2011.
> Make your donation<http://kaboom.org/donate> and mark on behalf of "Fairytale Brownies Playground Project". Thanks for your support!
>
> ----
>
> Hunter Kreie
> Information Technology Team Leader
> Fairytale Brownies
> 4610 E. Cotton Center Blvd, Suite 100
> Phoenix, AZ 85040-8988
>
> <mailto:hunter@brownies.com>
> Direct: 602.489.5149
> Main: 602.489.5100
> Fax: 602.489.5133
>
> Join us on:
> blog.brownies.com<http://blog.brownies.com/>
>
> [cid:image001.jpg@01CBBCA4.973EE110]<http://www.facebook.com/pages/Fairytale-Brownies/17947896355?ref=ts>   [cid:image002.jpg@01CBBCA4.973EE110] <http://twitter.com/ftbrownies>    [cid:image003.jpg@01CBBCA4.973EE110] <http://www.youtube.com/fairytalebrownies>

>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss