From owner-freebsd-isp Wed May 14 11:06:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA24364 for isp-outgoing; Wed, 14 May 1997 11:06:56 -0700 (PDT) Received: from mpeks.tomsk.su (mpeks.tomsk.su [193.124.182.17]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id LAA24338 for ; Wed, 14 May 1997 11:06:07 -0700 (PDT) Received: (from uucp@localhost) by mpeks.tomsk.su (8.6.11/8.6.9) with UUCP id CAA26821 for freebsd-isp@freebsd.org; Thu, 15 May 1997 02:05:21 +0800 Received: (from vas@localhost) by vas.tomsk.su (8.8.5/8.8.5) id BAA01260 for freebsd-isp@freebsd.org; Thu, 15 May 1997 01:14:01 +0800 (TSD) From: "Victor A. Sudakov" Message-Id: <199705141714.BAA01260@vas.tomsk.su> Subject: Mail from different addresses To: freebsd-isp@freebsd.org Date: Thu, 15 May 1997 01:14:00 +0800 (TSD) Organization: Tomsk Region Education Department X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello. I have a question about writing from multiple addresses. My machine is known under different names, such as vas.tomsk.su (1) vas.tsu.tomsk.su (2) vas.obluo.tomsk.su (3) All those names are written in /etc/sendmail.cw and I can receive mail for all those domains just fine. I use uucp. The question is, can I setup my system (FreeBSD 2.1.6, sendmail 8.8.5) so that depending on where I am sending a message, I should have different "From:" lines in the header? For example, if I send a message to questions@freebsd.org, I wish the address (2) to be in the "From:" field, and if I send a mail to foo@bar.com, I wish this mail to be from (3). It would be great to have some kind of table like mailertable, where I could define domains and the corresponding return address. Is this at all possible and if it is, can you please give me a hint how to implement this? If this question is not appropriate in this mailing list, could you kindly point me to a newsgroup or mailing list where I could ask it. Thanks a lot. -- Victor Sudakov http://www.tomsk.su/r/persons/vas.htm