From owner-freebsd-questions Wed Feb 12 10:03:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA15243 for questions-outgoing; Wed, 12 Feb 1997 10:03:22 -0800 (PST) Received: from base486.synet.net (imdave@DIAL7.SYNET.NET [168.113.1.9]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA15231 for ; Wed, 12 Feb 1997 10:03:16 -0800 (PST) Received: (from imdave@localhost) by base486.synet.net (8.8.5/8.8.5) id MAA04289 for questions@freebsd.org; Wed, 12 Feb 1997 12:02:58 -0600 (CST) Date: Wed, 12 Feb 1997 12:02:58 -0600 (CST) From: Dave Bodenstab Message-Id: <199702121802.MAA04289@base486.synet.net> To: questions@freebsd.org Subject: email ``reply-to'' question Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk A friend has a problem replying to my email -- he's the only one who has mentioned this to me, but perhaps others have the same problem. I've looked at the man pages for mail(1), sendmail(8) and mailaddr(7), but this topic did not seem to be addressed. I have a dial-up PPP account with dynamic address assignment. My ISP is ``synet.net''. I've got: # who I masquerade as (null for no masquerading) (see also $=M) DMsynet.net in sendmail.cf, so (I thought) that my outgoing email would identify the origin of the email as ``imdave@synet.net''. Indeed, when I send mail to my account at my ISP (imdave@syenet.net) and then retrieve it, the headers look like: From fetchmail Tue Feb 11 10:59:39 1997 Received: from base486.synet.net (imdave@DIAL7.SYNET.NET [168.113.1.9]) by g30.synet.net (8.8.3/8.8.3) with ESMTP id KAA11994 for ; Tue, 11 Feb 1997 10:50:11 -0600 Received: (from imdave@localhost) by base486.synet.net (8.8.5/8.8.5) id KAA03154 for imdave@synet.net; Tue, 11 Feb 1997 10:57:46 -0600 (CST) Date: Tue, 11 Feb 1997 10:57:46 -0600 (CST) From: Dave Bodenstab Message-Id: <199702111657.KAA03154@base486.synet.net> To: imdave@synet.net Subject: test header The ``From:'' line uses the masquerade, but the ``Received: from'' line does not. There is no ``Reply-to:'' line. My friends mailer seems to be constructing a return address from the ``Received: from'' lines, and the result is ``imdave@base486.synet.net'' which of course fails. In summary: 1. Are my email headers being constructed properly, and if not, how do I fix it? If I need to add a ``Reply-to:'' line, how do I make /usr/bin/mail do it? I didn't see an option for sendmail that addressed this. 2. I don't know what mailer my friend uses; could his mailer be doing the wrong thing? 3. Is there any standard that dictates how a return address should be extracted from the email headers? Dave Bodenstab imdave@synet.net