Zaslat SMS: Optimal filtering