From owner-freebsd-stable Sat Nov 3 13:28:20 2001 Delivered-To: freebsd-stable@freebsd.org Received: from giganda.komkon.org (giganda.komkon.org [209.125.17.66]) by hub.freebsd.org (Postfix) with ESMTP id DE74E37B416 for ; Sat, 3 Nov 2001 13:28:17 -0800 (PST) Received: (from str@localhost) by giganda.komkon.org (8.11.3/8.11.3) id fA3LSGJ97358; Sat, 3 Nov 2001 16:28:16 -0500 (EST) (envelope-from str) Date: Sat, 3 Nov 2001 16:28:16 -0500 (EST) From: Igor Roshchin Message-Id: <200111032128.fA3LSGJ97358@giganda.komkon.org> To: stable@freebsd.org Subject: Re: strange mail(1) behavior Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The problem is fixed, thanks to everybody responded. It's all about "metoo" option for the mail(1). I didn't expect mail(1) to do alias expansion on its own. I thought it was done by mail.local, which in its turn was reading sendmail.cf Also, the man page for mail(1) is somewhat confusing: metoo Usually, when a group is expanded that contains the sender, the sender is removed from the expansion. Setting this option causes the sender to be included in the group. I read it several times before, and was sure it was only about a group alias set for mail(1) in .mailrc It also seems to me that there was some change (in sendmail bandled with 3.x and later 4.x) in the way local mail is handled, but I might be wrong on that. Igor Igor Roshchin wrote: > I am not sure how consistent this is yet, exactly what circumstances > lead to this problem, and that's why I am not filing this as a PR yet. > Maybe somebody has some insight on this problem: > > I am not sure if this happens every time, but at least, very often: > When I am sending an e-mail to an address that is an alias in > /etc/aliases, pointing to several local addresses, > and using mail(1), I am not receiving that message myself, > even though my address is included in that alias, and /etc/sendmail.cf > is set to > O MeToo=True > > This is happening on a 4.3-RELEASE system, and I haven't had problems > with previous (at least 3.x) systems. > > Am I missing something related to mail.local (or lmtp) configuration ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message