From owner-freebsd-stable@FreeBSD.ORG Sun Jan 24 10:18:14 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A5B106566C for ; Sun, 24 Jan 2010 10:18:14 +0000 (UTC) (envelope-from spil.oss@googlemail.com) Received: from mail-px0-f183.google.com (mail-px0-f183.google.com [209.85.216.183]) by mx1.freebsd.org (Postfix) with ESMTP id E5C8D8FC18 for ; Sun, 24 Jan 2010 10:18:13 +0000 (UTC) Received: by pxi13 with SMTP id 13so1813051pxi.3 for ; Sun, 24 Jan 2010 02:18:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type; bh=nsMrk2kw6oK+7tV7JbXCJppRxhnVXJQbE0CTNuMBcms=; b=qMTkzLpwQl/i6FRM1vWRJFqWiCWFODkZFrM8XjSaktGOyTtt5YCumu8nT9pb9tsAZk VgMiwCenV7Da3BmBQMsBXw3cG9qcMNfaxvbWOo2oK5wq090YMNyIZ8LIgYyFQzHP4Qe1 Drxmlxo+hD+WBe9Wd5ANLsejEBT3RIKHV7j5Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=eo/kldU6E4lGoHIQwFiGirtI3r7ychSayRptxvn4eUTHXsKWjyYzG3K8MEpY1DS3E9 HMjIN4YB1dv8k5H29XZ2GF7xVXEPhTxpf84tmE7zPoVCgKjDCnVjDpU8/UHjNKwqTxay yWmu5aavyx2RvDqOrFnI6zY0wRZFhrWx4qbIE= MIME-Version: 1.0 Received: by 10.140.55.5 with SMTP id d5mr3038141rva.177.1264326630886; Sun, 24 Jan 2010 01:50:30 -0800 (PST) Date: Sun, 24 Jan 2010 10:50:30 +0100 Message-ID: <5fbf03c21001240150r2064810n744694380ab8913a@mail.gmail.com> From: Spil Oss To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Problem with alias length in base Sendmail X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: spil.oss@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2010 10:18:14 -0000 Hi All, Today I ran into the BUG documented in the aliases man-page. If you have compiled sendmail with DBM support instead of NEWDB, you may have encountered problems in dbm(3) restricting a single alias to about 1000 bytes of information. Looking at Sendmail, it is compiled with NEWDB so the restriction would not apply. # sendmail -d0.1 -bv root Version 8.14.3 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG If my alias (including whitespace) exceeds ca. 1000 characters, running `make aliases` will report an error. /etc/mail/aliases: line 320: alias too long Resulting in an aliases.db file without the too long alias 550 5.1.1 ... User unknown Which means to me that the alias is simply skipped and the rest of the aliases database is installed. There is a workaround documented with the bug in the man-page, but I'd very much like to understand why this is failing. FreeBSD gw.example.org 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #2: Thu Jun 11 12:58:02 CEST 2009 root@gw.example.org:/usr/obj/usr/src/sys/MYKERNEL i386 Kind regards, Spil