From owner-freebsd-stable@FreeBSD.ORG Sun Jan 24 18:03:47 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 C0B4D106568B for ; Sun, 24 Jan 2010 18:03:47 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 70D048FC13 for ; Sun, 24 Jan 2010 18:03:47 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so88512qwd.7 for ; Sun, 24 Jan 2010 10:03:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=p49iSj/gLCbXj0bRP0UIfeaX0JzTaEAp2mvT/Ioxe7M=; b=UoD+cpSlAnD1pJalI09z+3ByPV+C01KFr+9rcZX5qsgrsTxvZERsxPpzcthjXTUsPG HtrtF4SAvJR/nWilvf3skMlpJ5iuv2lccvQ8hdLOiEm92uwGuJraWT3ixZOgvxlJ/Tms KqLnWswuOl7l8wmxHY4VMR3GZtj+kct4xnprg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=FD6p7EwmG2Nz+eIpKeyRSlUOlyE6AJj+pTOFL/KIUNjU+dCWSLxDQ+dTrOFRVEwe73 qObUWhBLZdRBkd3Qh43DaZkptHJ3YYXS9IlSuvp2q45YOTv8WlVxut1q7dBq2CLoEhY7 RQZZBL0BSLw5UG4U+FQtcS0Y1b3S/mc8T3Qu0= Received: by 10.224.123.78 with SMTP id o14mr3530502qar.123.1264356226506; Sun, 24 Jan 2010 10:03:46 -0800 (PST) Received: from centel.dataix.local (ppp-23.134.dialinfree.com [209.172.23.134]) by mx.google.com with ESMTPS id 7sm9996811qwf.4.2010.01.24.10.03.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 24 Jan 2010 10:03:45 -0800 (PST) Sender: "J. Hellenthal" Date: Sun, 24 Jan 2010 13:03:33 -0500 From: jhell To: spil.oss@gmail.com In-Reply-To: <5fbf03c21001240150r2064810n744694380ab8913a@mail.gmail.com> Message-ID: References: <5fbf03c21001240150r2064810n744694380ab8913a@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: Problem with alias length in base Sendmail X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 18:03:47 -0000 On Sun, 24 Jan 2010 04:50, spil.oss@ wrote: > 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 > That's either one hell of a pipe or the owner of that email address can be proud that no-one will ever email him/her ;) Can you post the alias in question ? Maybe there is another way that you could go about doing this if it is not just a test case trying to flaunt the adequate limits of sendmail. -- jhell