Doh reverse dns wasn't being inserted by the mta just the helo. For anyone that has this problem in the future make sure you don't have identnonenumeric inserted into the tcp_local channel then the reverse dns will be inserted into the received header example Return-path: <[EMAIL PROTECTED]> Received: from azkaban.changingstreets.net (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 20:00:43 -0400 (EDT) Original-recipient: rfc822;[EMAIL PROTECTED]
----- Original Message ----- From: Mark Walmsley <[EMAIL PROTECTED]> Date: Saturday, May 17, 2008 7:14 pm Subject: how do you change the way spamassassin parses the recieved header. To: [email protected] > 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?
