From owner-freebsd-questions Sun Apr 20 04:34:00 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA16601 for questions-outgoing; Sun, 20 Apr 1997 04:34:00 -0700 (PDT) Received: from pts.mipt.ru (vadim@pts.mipt.ru [193.125.143.130]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA16595 for ; Sun, 20 Apr 1997 04:33:57 -0700 (PDT) Received: from localhost (vadim@localhost) by pts.mipt.ru (8.8.5/8.7.3) with SMTP id PAA03167; Sun, 20 Apr 1997 15:31:06 +0300 Date: Sun, 20 Apr 1997 15:31:05 +0300 (GMT+0300) From: Vadim Singking To: Sonya and Jeffrey Metcalf cc: questions@FreeBSD.ORG Subject: Re: Quest? -- Changing "From:" field from sent mail In-Reply-To: <33594FCB.BAC@snet.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 19 Apr 1997, Sonya and Jeffrey Metcalf wrote: > Hello, > > I would like to use the standard mail command under FreeBSD to send > mail and then use popclient to retrieve e-mail from my ISP's POP3 > server. Popclient works great. However, when I send mail from the > command line, the return address is listed (as I understand it should) > as the hostname I configured under sysconfig. This is a fabricated > hostname and my ISP won't recognize it. Hence the mail I send cannot > be properly responded to by my recipients. So my question is, can > I configure sendmail in some way that it always lists the response > address of all the mail from all my users as "metcalf@snet.net" > rather than "jeff@dane.snet.net" or "sonya@dane.snet.net", etc.? > > Any help is greatly appreciated. > > JM > -- > Sonya and Jeffrey Metcalf > metcalf@snet.net > > http://ruddles.stat.uconn.edu/~jeff > The easiest solution is to fill "Reply-To" field of the outcoming message. Then the field "From" will continue to point on your local host though if someone tries to send you a reply using Reply command then you will receive this letter where you want it to be received. For example: echo This is the test message | fastmail -s Subj -r Reply-To-address - name@dest.host or using ELM you just should to do: export REPLYTO=name@host Without followers, evil cannot spread. -- Spock, "And The Children Shall Lead", stardate 5029.5