On Tue, Jan 25, 2011 at 6:57 PM, Joseph Sinclair wrote: > 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 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 > > > > hunter@brownies.com > > Direct: 602.489.5149 > > Main: 602.489.5100 > > Fax: 602.489.5133 > > > > Join us on: > > blog.brownies.com > > > > [cid:image001.jpg@01CBBCA4.973EE110]< > http://www.facebook.com/pages/Fairytale-Brownies/17947896355?ref=ts> > [cid:image002.jpg@01CBBCA4.973EE110] > [cid:image003.jpg@01CBBCA4.973EE110] < > http://www.youtube.com/fairytalebrownies> > > > > > > > > ------------------------------------------------------------------------ > > > > --------------------------------------------------- > > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > > To subscribe, unsubscribe, or to change your mail settings: > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change your mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > Regex: http://www.regular-expressions.info/creditcard.html ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11})$.