From owner-freebsd-questions Mon Mar 18 23:48:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from newmoon.mt.lv (newmoon.mt.lv [159.148.147.197]) by hub.freebsd.org (Postfix) with ESMTP id 472B537B417 for ; Mon, 18 Mar 2002 23:47:29 -0800 (PST) Received: from indigo.int.mt.lv (indigo.int.mt.lv [10.5.8.15]) by newmoon.mt.lv (8.11.6/8.11.6) with ESMTP id g2J7jV214215; Tue, 19 Mar 2002 09:45:31 +0200 Received: from indigo.int.mt.lv (localhost.localdomain [127.0.0.1]) by indigo.int.mt.lv (8.12.2/8.12.2) with ESMTP id g2J7YFR5043262; Tue, 19 Mar 2002 09:34:16 +0200 (EET) (envelope-from denis@mt.lv) To: John Bleichert Cc: freebsd-questions@FreeBSD.org Subject: Re: sendmail | pine References: <20020315232450.O311-100000@picard.vonbek.dhs.org> From: denis@mt.lv (Denis J. Cirulis) Date: 19 Mar 2002 09:34:15 +0200 In-Reply-To: <20020315232450.O311-100000@picard.vonbek.dhs.org> Message-ID: <86vgbtf1u0.fsf@indigo.int.mt.lv> Lines: 31 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG John Bleichert writes: > Hello All > > Hopefully this isnt too terribly green, but how do I override my Unix > username with the left side of my email address using sendmail and pine? I > use pine in Linux, but with postfix and procmail, which I know how to use. > > Is there a quick and dirty way to solve this? I'm reading the man page for > /etc/aliases right now, dunno if it's the right track. > > Im not ready to install postfix yer, or maybe I am hehe. sendmail is ok, > Im just new at it. And procmail works fine, too. > > Thanks - I am rtfm, but it's late and I want quick info as well! ;-) Hello, John! You can edit /etc/mail/sendmail.mc (according to the documentation at www.sendmail.org) Add there: MASQUERADE_AS(domain.com) FEATURE(masquerade_envelope) or FEATURE(allmasquerade) then type make in /etc/mail and killall -HUP sendmail This action gives you all your outgoing mail to be masqueraded to domain.com instead of your real hostname. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message