Filtering out email by sender can be complicated, what at first looks like a simple process of adding the senders From address in the filter can actually be far more complicated, in an email hosted solution.
Here is a real world example:
Received: from pmta1.delivery7.ore.mailhop.org (22.214.171.124) by CLU-EXCH.customer.local (10.0.25.213) with Microsoft SMTP Server id 126.96.36.199; Mon, 18 May 2015 15:18:30 -0600 Received: from customer.com (unknown [188.8.131.52]) by inbound5.ore.mailhop.org (Halon Mail Gateway) with ESMTPS for email@example.com; Mon, 18 May 2015 21:15:43 +0000 (UTC) Received: from customer by server1.sleekhost.ca with local (Exim 4.85) (envelope-from firstname.lastname@example.org) id 1YuSNx-0001qw-Qf for email@example.com; Mon, 18 May 2015 17:15:41 -0400 To: firstname.lastname@example.org Subject: *SPAM* Request to plan your stay X-PHP-Script: www.customer.com/index.php for 184.108.40.206, 220.127.116.11 Date: Mon, 18 May 2015 21:15:41 +0000 From: C Lazy U Website - email@example.com Message-ID: firstname.lastname@example.org er-Via: server1.sleekhost.ca: authenticated_id: customer/only user confirmed/virtual account not confirmed (/email@example.com)firstname.lastname@example.org
The important part to look at here is even though the From: C Lazy U Website - email@example.com indicates one thing, the headers say something completely different.
(envelope-from firstname.lastname@example.org) id 1YuSNx-0001qw-Qf for email@example.com;
The correct address to filter is the envelope-from ID if filtering the From address does not work.
If you have problems getting your filters to work, contact customer care and our enterprise email service team will help you refine your filtering rules.