From owner-freebsd-questions@FreeBSD.ORG Sat Jan 3 07:40:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA1C016A4CE for ; Sat, 3 Jan 2004 07:40:42 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B611343D49 for ; Sat, 3 Jan 2004 07:40:37 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) i03FePxn000656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Jan 2004 15:40:25 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i03FeOoV000655; Sat, 3 Jan 2004 15:40:24 GMT (envelope-from matthew) Date: Sat, 3 Jan 2004 15:40:24 +0000 From: Matthew Seaman To: "Dennis M. Yocum" Message-ID: <20040103154024.GA563@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , "Dennis M. Yocum" , FreeBSD-Questions@freebsd.org References: <000901c3d20d$41f5a010$6501a8c0@dendesk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <000901c3d20d$41f5a010$6501a8c0@dendesk> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD-Questions@freebsd.org Subject: Re: occasional error message sent to root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2004 15:40:42 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 03, 2004 at 10:21:27AM -0500, Dennis M. Yocum wrote: > : hBU6NEbK027111: SYSERR(root): rewrite: excessive recursion (max 50), > ruleset canonify You've got a mail-loop. One part of the message processing is changing the address in one way, then another part is changing it back again and re-submitting it to the first part. Sendmail detects that it's been round that loop too many times and bails out. Now, exactly what it is that is causing the loop in this case we can't say, as you don't provide enough information. Check in your /var/spool/mqueue for mail files with the same job number as given in the log -- ie. the first character (h) may be different but the rest (BU6NEbK027111) should appear in the file name. Inspect these files and see if you can deduce what the common factor is that is causing the loop. The sort of things to check for are (i) mail forwarding via =2Eforward files, aliases or virtusertable (ii) host name resolution via DNS, /etc/hosts, NIS, LDAP or other mechanisms, plus effects due to the use of mailertable to modify the default delivery location. There's also the possibility of (iii) mail looping between several machines -- machine A gives the message to machine B to deal with, then machine B sends it back to machine A, but this generates a different error message about "too many hops". Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/9uJodtESqEQa7a0RAsUyAJ4jW7Blp7Wg0BXblYjUAzs9evRE5wCeP32W mk4QhARqtNADLeRNhTICJzc= =XwaQ -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--