Forcing sendmail to use mail server according to From address

Reuben D. Budiardja techlist at voyager.phys.utk.edu
Tue Jun 29 22:39:48 UTC 2004


On Tuesday 29 June 2004 06:04 pm, Wolfgang Pfeiffer wrote:
> The problem:
> I'm on a single user home machine,  and I have 3 different mail
> addresses, from 3 different companies. And, when using these mail
> addresses, I want to force sendmail to look for the appropriate
> (external) mail server according to the From/Sender address I use when
> sending mails. I.e. I want sendmail to send my mails to these external
> mail servers, that I am allowed to use, instead of sending them directly
> from my local sendmail to the mail servers responsible for the
> recipients addresses.
>
> Are there switches, settings in sendmail that can do this?

This should be configurable in the mail client that you use (ie. MUA). Some 
mail client allow you to set different SMTP server depending on the addresses 
you're sending from. For example, I have different addresses from which I 
receive mails. In KMail I can set "Identity" for those addresses, and I can 
also specify which SMTP server to use when sending email using those 
different identities.

What mail client are you using?

RDB

-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
                 - Linus Torvalds -





More information about the redhat-list mailing list