From owner-freebsd-isp Tue May 20 12:16:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id MAA20123 for isp-outgoing; Tue, 20 May 1997 12:16:11 -0700 (PDT) Received: from smtp1.ts.kiev.ua (viking.ts.kiev.ua [193.124.229.195]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA20078 for ; Tue, 20 May 1997 12:15:58 -0700 (PDT) Received: from aviion.ts.kiev.ua by smtp1.ts.kiev.ua with SMTP id WAA11174; (8.8.3/zah/2.1) Tue, 20 May 1997 22:01:24 +0300 (EET DST) Received: from nbki.ipri.kiev.ua by aviion.ts.kiev.ua with ESMTP id SAA24536; (8.6.11/zah/2.1) Tue, 20 May 1997 18:51:14 GMT Received: from cki.ipri.kiev.ua by nbki.ipri.kiev.ua with ESMTP id RAA05579; (8.6.9/zah/1.1) Tue, 20 May 1997 17:13:02 +0100 Received: from 194.44.146.14 (mac.ipri.kiev.ua [194.44.146.14]) by cki.ipri.kiev.ua (8.7.6/8.7.3) with SMTP id RAA01912; Tue, 20 May 1997 17:30:14 +0300 (EET DST) Message-ID: <3381A7A3.6F9C@cki.ipri.kiev.ua> Date: Tue, 20 May 1997 16:31:05 +0300 From: Ruslan Shevchenko Reply-To: rssh@cki.ipri.kiev.ua Organization: IPRI X-Mailer: Mozilla 3.01Gold (Macintosh; I; 68K) MIME-Version: 1.0 To: "Victor A. Sudakov" CC: freebsd-isp@FreeBSD.ORG Subject: Re: Mail from different addresses References: <199705141714.BAA01260@vas.tomsk.su> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Victor A. Sudakov wrote: > > 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. > Intresting. If you receive this problem, please say. about newsgroup: comp.mail.sendmail comp.protocols.sendmail (I can not quik check, is this namer correct, so grep you newsgroups-names on sendmail ) > Thanks a lot. > > -- > Victor Sudakov > http://www.tomsk.su/r/persons/vas.htm