Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 1997 01:14:00 +0800 (TSD)
From:      "Victor A. Sudakov" <vas@vas.tomsk.su>
To:        freebsd-isp@freebsd.org
Subject:   Mail from different addresses
Message-ID:  <199705141714.BAA01260@vas.tomsk.su>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705141714.BAA01260>