The source of my spamd problem is the way spamassassin parses the header. Example I can't use whitelist_from_rcvd because java messaging server forms it's header like this.
Return-path: <[EMAIL PROTECTED]> Received: from azkaban.changingstreets.net ([209.255.5.37]) by hermes.changingstreets.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <[EMAIL PROTECTED]> for [EMAIL PROTECTED]; Sat, 17 May 2008 18:40:51 -0400 (EDT) Original-recipient: rfc822;[EMAIL PROTECTED] but if I take out the brackets it works fine. Return-path: <[EMAIL PROTECTED]> Received: from azkaban.changingstreets.net (209.255.5.37) by hermes.changingstreets.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <[EMAIL PROTECTED]> for [EMAIL PROTECTED]; Sat, 17 May 2008 18:40:51 -0400 (EDT) Original-recipient: rfc822;[EMAIL PROTECTED] Every ip address is incased in brackets. another example Return-path: <[EMAIL PROTECTED]> Received: from sifyr1.maa.sify.net ([202.144.76.80]) by hermes.changingstreets.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <[EMAIL PROTECTED]> for [EMAIL PROTECTED]; Sat, 17 May 2008 00:53:02 -0400 (EDT) Original-recipient: rfc822;[EMAIL PROTECTED] How can I tell spamassassin to ignore the brackets?