From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel W" Subject: Blocking mail from certain domains.... Date: Fri, 10 Oct 2003 00:42:13 +0100 Sender: linux-admin-owner@vger.kernel.org Message-ID: Return-path: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-admin@vger.kernel.org although a bit more tricky than that perhaps. Say i own domain1.com and domain2.com My users on each domain are getting emails from admin@domain1.com and admin@domain2.com which are viruses but actually quite believeable. these originate outside of my server but from various IP addresses. Is there some way to make a rule: Block all email from admin@* where the sending IP is not [list of ip addresses that I own] Where would I put this rule and how would it be activated? I think i have procmail...or am i barking up the wrong tree? Thanks for helping this newbie. Regards, Daniel