From owner-freebsd-questions@FreeBSD.ORG Tue Jan 12 17:56:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 747F7106566C for ; Tue, 12 Jan 2010 17:56:25 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by mx1.freebsd.org (Postfix) with ESMTP id 0775A8FC1A for ; Tue, 12 Jan 2010 17:56:24 +0000 (UTC) Received: by ewy5 with SMTP id 5so12336850ewy.34 for ; Tue, 12 Jan 2010 09:56:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VQeVLjPVyXiCfg1+DFczQXrHhUzpApQKDxt1SUUEqGM=; b=mHD15AenxSf4UMxyVgWXs8QWnI48LaoL0h9dRJObJd1t5H+1EuBO2bflQsCnjnVEpZ GExM70rG33+GF57eA5MgCPukgRFHesBjCnXdO8J6+94QKpHAKqQr513U3J3z30iJewJp xnjAcN6k/URIftIYygvSjlMV2MCOe8UL9jR1A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Fo2S8Vmo1XKoM7BlL/TlIT2puKlDGkEC1G5cIrGJ/uoQVXV0wVcuiwUrcLBeGJGy28 vo/vQW8K7XgUt+Q4pDiDzPeHGdh36Wr0uvt49I0DJxkKv/GmYDFcMytYSWbLveSP2R2b uakFZffXAFMHuH3blbkR7aFTLomybQKwXUqY8= MIME-Version: 1.0 Received: by 10.216.88.144 with SMTP id a16mr3091739wef.208.1263318979868; Tue, 12 Jan 2010 09:56:19 -0800 (PST) In-Reply-To: <20100112173653.GA98372@thought.org> References: <80f4f2b21001120900j7418c725k95221bb06cde0dc1@mail.gmail.com> <20100112173653.GA98372@thought.org> Date: Tue, 12 Jan 2010 12:56:19 -0500 Message-ID: <80f4f2b21001120956p508caa23y80488476d7707713@mail.gmail.com> From: Jim To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: sendmail issues - make fails to create aliases.db in /etc/mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 17:56:25 -0000 > =A0 =A0 =A0 =A0What happens if you do a grep aliases in /etc/mail? =A0In = my sensmail > =A0 =A0 =A0 =A0files I see references to aliases in the config *.cf and M= akefile, > =A0 =A0 =A0 =A0and the aliases file itself. as in ls `/etc/mail | grep aliases` or `cat /etc/mail/* | grep aliases` The former shows the file 'aliases' only. The latter (getting rid of lines starting with # to clean up a bunch of crud) [sjss@elrond /data/jail/mail-jail/etc/mail]$ cat * | grep -a 'aliases' | grep -avE '^#' SENDMAIL_ALIASES?=3D /etc/mail/aliases all: cf maps aliases aliases: ${SENDMAIL_ALIASES:%=3D%.db} O AliasFile=3D/etc/mail/aliases vrfy Verify an address. If you want to see what it aliases O AliasFile=3D/etc/mail/aliases newaliases /usr/libexec/sendmail/sendmail O AliasFile=3D/etc/mail/aliases Find shows the following files contain 'aliases' in non-comment lines: ./mailer.conf ./freebsd.cf ./freebsd.submit.cf ./helpfile ./sendmail.cf ./submit.cf ./Makefile ./aliases ./mail-jail.cf ./mail-jail.submit.cf > =A0 =A0 =A0 =A0Did you edit any of these files? =A0Should work by default= . I edited: access, aliases, local-host-names, virtusertable.sample (and apparantly forgot to copy the latter to virtualusertable, so it shouldn't affect anything anyway) -Jim Stapleton