Client receives Square (Online Order) from email [email protected] to client's own email [email protected] (which is registered with Square) I'm trying to redirect those Square (Online Order) emails to another email [email protected] (email to fax service) I have setup Mail Filter as following: Name: Square Orders Source: From is [email protected] Action: Move to INBOX i modified recipe to redirect Custom mail filter recipe ### BEGIN FILTER_ID:2 if header :regex ["from"] ["^noreply@messaging\.squareup\.com$"] { redirect "[email protected]"; keep; } ### END FILTER_ID:2 email messages from square do not get redirected, i tested with another email (not square and it works) any help is appreciated. Square Order email message details: Code: Return-Path: <0101016be2afcd85-f504b84d-7bc1-4341-9582-82ae756f14fc-000000@amazonses.messaging.squareup.com> Delivered-To: [email protected] Received: from localhost (localhost.localdomain [127.0.0.1]) by server.mydomain.com (Postfix) with ESMTP id 667CC45B36 for <[email protected]>; Thu, 11 Jul 2019 15:18:29 -0500 (CDT) X-Virus-Scanned: Debian amavisd-new at server.mydomain.com X-Spam-Flag: NO X-Spam-Score: 1.731 X-Spam-Level: * X-Spam-Status: No, score=1.731 tagged_above=1 required=4.5 tests=[DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.105, MPART_ALT_DIFF=0.724, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no Authentication-Results: server.mydomain.com (amavisd-new); dkim=pass (1024-bit key) header.d=messaging.squareup.com header.b=WcMjdO1g; dkim=pass (1024-bit key) header.d=amazonses.com header.b=JgWm/an5 Received: from server.mydomain.com ([127.0.0.1]) by localhost (server.mydomain.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UQd82Ykywgzh for <[email protected]>; Thu, 11 Jul 2019 15:18:28 -0500 (CDT) Received: from a27-223.smtp-out.us-west-2.amazonses.com (a27-223.smtp-out.us-west-2.amazonses.com [54.240.27.223]) by server.mydomain.com (Postfix) with ESMTPS id D82FC45A65 for <[email protected]>; Thu, 11 Jul 2019 15:18:27 -0500 (CDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=zkmtl6gy2hsfdpedstduzebbkq3duxs4; d=messaging.squareup.com; t=1562876300; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type:List-Unsubscribe; bh=TnKEbvNOxU081rBzoYM1x0hiKhSjZ2jgrDIvNtNIm/o=; b=WcMjdO1g65cU/IAZnP1GcwGtLVIOTfck2ji/6diAyz6rWRvOs2np0dyDPaEDHfDB KPSPdTiGEJ07N5TiKllf1JajWf6eJ9Env9qf+LTtCLU1RStfxixCZXInGV5RHDdL/MC +pDvr/IW+7qAWZZYZSAHUw12KUd/cMFb7DO3WXbk= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1562876300; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type:List-Unsubscribe:Feedback-ID; bh=TnKEbvNOxU081rBzoYM1x0hiKhSjZ2jgrDIvNtNIm/o=; b=JgWm/an5dD+zNOEx202PGFv+kxLiGuDupTNmSpWPyqXCVZ76JH5g4jDDpy47lfod cyNHvTkdLd7B5UpRuKoEZL77GzaPXNqrA5U9V2Wh89qtlwuKNdd9Kqu73EAqHoedMTS xkAlt/YMEcuOpZHawOn/VWM9q51g+6ZiZyBcQ6gg= Date: Thu, 11 Jul 2019 20:18:20 +0000 From: Square Online Store <[email protected]> To: <[email protected]> Message-ID: <0101016be2afcd85-f504b84d-7bc1-4341-9582-82ae756f14fc-000000@us-west-2.amazonses.com> Subject: Order received for Falafel (original style) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_63359964_1272827060.1562876300638" X-EMS-Request-ID: f6ad10b8-0936-4296-9252-1c81b8dc59a7 X-ERS-Token: CHQQpIO1uoSJ/L4cGK7W5Iir1Or4sgE= List-Unsubscribe: <mailto:CAEaZwokZjZhZDEwYjgtMDkzNi00Mjk2LTkyNTItMWM4MWI4ZGM1OWE3Eh0KDXRyYW5zYWN0aW9uYWwSDG9ubGluZV9zdG9yZRogQ0hRUXBJTzF1b1NKL0w0Y0dLN1c1SWlyMU9yNHNnRT0iINmCwOJlYuEnDzqObKt5xh8OgzXwOMHpSC7RfvkBvVZ2@reply2.squareup.com>, <https://squareup.com/email/subscriptions/unsubscribe?scope=transactional&subcategory=online_store&locale=en&request_id=f6ad10b8-0936-4296-9252-1c81b8dc59a7&recipient=CHQQpIO1uoSJ%2FL4cGK7W5Iir1Or4sgE%3D> X-SES-Outgoing: 2019.07.11-54.240.27.223 Feedback-ID: 1.us-west-2.Ys0TtaV3ThrL9KaebebAtwQ8vYTqz4B6QHfonsV/uOw=:AmazonSES