March 16th, 2010
My wife received an interesting spam comment on her blog. At first glance it looked like it was just written by someone with an awful grasp of the English language, but then I realized that some of the words were just synonyms that didn’t actually work in context.
Take a look at the comment:
Hi. Very first I would like to say that I truly like your webpage, just identified it last week but I’ve been reading it ever since then.
I seem to consent with most of your respective ideas and opinions and this post is no exception. I fully
Thank you to get a wonderful blog and I hope you keep up the beneficial perform. If you do I will continue to look over it.
Possess a good day.
See the “beneficial perform” instead of “good work”, “possess a good day” instead of “have a good day”, etc….?
My guess is that someone is using an automated program that swaps out a few works with various synonyms from a thesaurus dataset in order to avoid getting blocked by Akismet or similar content matching anti-spam comment protection mechanisms. Quite clever actually!
Share on Facebook
Posted in Spam | No Comments »
March 15th, 2010
Over at Spark::red ATG Hosting we’ve decided to launch a monthly newsletter. Once a month we’ll send out an e-mail with some very useful ATG content, technical tips and source code, business tricks and advice on leveraging ATG products to increase sales. We’ll talk about PCI compliance and how to reduce cart abandonment.
We won’t send more than one e-mail a month, we won’t spam you, bug you, bother you, or waste your time. Each mailing will be as packed full of genuinely useful information as possible.
Sign up for the world’s best ATG Technology and Business Newsletter!
Share on Facebook
Posted in ATG | No Comments »
March 8th, 2010
If you are using the SpamCop realtime block list as part of your anti-spam measures, be warned that they appear to be blocking several legitimate Facebook mail servers.
I’ve seen them blocking the following Facebook mail server IPs:
- 69.63.178.169
- 69.63.178.172
- 69.63.178.175
Presumably there’s a whole block of IPs that SpamCop is blocking. Since I like to get e-mail from Facebook, I have currently disabled my SpamCop RBL check. You may want to do the same.
Share on Facebook
Posted in Spam | No Comments »
March 4th, 2010
I launched a minor update to 10MinuteMail.com last night. It contained:
- Changed the mail domain to owlpic.com
- Updated the Russian language translation (thanks to Vladimir)
- Fixed a bug where replying to an e-mail using a non-latin character set would result in an unreadable e-mail (also thanks to Vladimir for pointing this out)
This last issue was an odd one to fix, so I wanted to document it here (although the same fix can be found elsewhere on the net).
10MinuteMail.com is pretty well internationalized. The site content is translated into over 30 languages and the pages are served as UTF-8. Incoming e-mails are also displayed using UTF-8 and display non-latin character sets correctly. However, until this latest release, if you replied to an e-mail using non-latin characters, the resulting e-mail contained gibberish instead of the correct characters.
I started off by adding UTF-8 as the specified character set for outgoing e-mails. That didn’t help. I added UTF-8 encoding declaration attribute to the form element. That didn’t help. Finally after some frustration, googling, and trying a ton of things, I discovered that for some reason, and I”m not sure if the bug is in JBoss, JSF, Seam, or where exactly, but you have to set the request objects character encoding programmatically for each request, otherwise it will use the wrong encoding on the form contents and you end up with gibberish. The easiest way to solve this that I’ve found so far is to create a small Servlet Filter that sets the encoding on the request, and add that filter in before your Seam filter in your web.xml. It worked for me.
The filter:
package com.digitalsanctuary.seam;
import java.io.IOException;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
/**
* The Class UTF8Filter.
*/
public class UTF8Filter implements Filter {
/** The Constant UTF_8. */
private static final String UTF_8 = "UTF-8";
/**
* Destroy.
*
* @see javax.servlet.Filter#destroy()
*/
public void destroy() {
}
/**
* Do filter.
*
* @param pRequest
* the request
* @param pResponse
* the response
* @param pChain
* the chain
* @throws IOException
* Signals that an I/O exception has occurred.
* @throws ServletException
* the servlet exception
* @see javax.servlet.Filter#doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse,
* javax.servlet.FilterChain)
*/
public void doFilter(ServletRequest pRequest, ServletResponse pResponse, FilterChain pChain) throws IOException,
ServletException {
pRequest.setCharacterEncoding(UTF_8);
pChain.doFilter(pRequest, pResponse);
}
/**
* Inits the.
*
* @param arg0
* the arg0
* @throws ServletException
* the servlet exception
* @see javax.servlet.Filter#init(javax.servlet.FilterConfig)
*/
public void init(FilterConfig arg0) throws ServletException {
}
}
An excerpt of web.xml:
....
<filter>
<filter-name>UTF8 Filter</filter-name>
<filter-class>com.digitalsanctuary.seam.UTF8Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>UTF8 Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter>
<filter-name>Seam Filter</filter-name>
<filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Seam Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
....
Does anyone have a better fix or know exactly why this happens?
Share on Facebook
Posted in 10MinuteMail, Seam | 2 Comments »
February 23rd, 2010
It’s always funny when different aspects of your lives cross. For instance:

10MinuteMail is one of my projects, and Ulta is a contracting client I do a lot of work for. It’s just funny to see an Ulta ad on 10MinuteMail:)
Share on Facebook
Posted in 10MinuteMail | 3 Comments »