From owner-freebsd-questions@FreeBSD.ORG Wed Jul 9 10:44:09 2008 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 B45081065690 for ; Wed, 9 Jul 2008 10:44:09 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: from mail.nicoelro.net (helm.nicoelro.net [87.98.216.147]) by mx1.freebsd.org (Postfix) with ESMTP id 792888FC15 for ; Wed, 9 Jul 2008 10:44:09 +0000 (UTC) (envelope-from nicolas@nicoelro.net) Received: by mail.nicoelro.net (Postfix, from userid 58) id EC73179DD4; Wed, 9 Jul 2008 12:44:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on helm.nicoelro.net X-Spam-Level: X-Spam-Status: No, score=-4.4 required=6.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from nogrod.nicoelro.net (162.102.82-79.rev.gaoland.net [79.82.102.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nicolas@nicoelro.net) by mail.nicoelro.net (Postfix) with ESMTP id 1C38E79DB5 for ; Wed, 9 Jul 2008 12:44:07 +0200 (CEST) Date: Wed, 9 Jul 2008 12:44:04 +0200 From: Nicolas Letellier To: FreeBSD Questions Message-ID: <20080709124404.30ed661d@nogrod.nicoelro.net> X-Mailer: Claws Mail 3.3.0 (GTK+ 2.12.7; i386-unknown-openbsd4.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: problem with sendmail and su 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: Wed, 09 Jul 2008 10:44:09 -0000 Hello. I use FreeBSD 7 with sendmail. I have a problem for sending email. More precisely, with the sender of the mail. When I'm logged to my machine in root, the mail is sent with "root@mymachine.com" with sender. OK, no problems. When I'm logged to my machine in nicolas, the mail is sent with "nicolas@mymachine.com" with sender. OK, no problems. However, when I'm logged in nicolas to my machine, and if I do a "su root" or "su - root", and I send a mail, the sender will be "nicolas@mymachine.com" and not "root@mymachine.com". It's a problem, because I done a "su" to be logged as root. I don't have this problem with a FreeBSD/Postfix. Thanks for your advices and helps. I don't understand this problem. Regards, -- - Nicolas.