Forcing sendmail to use mail server according to From address

Cowles, Steve steve at stevecowles.com
Tue Jun 29 22:26:18 UTC 2004


Wolfgang Pfeiffer wrote:
> Hi All
> 
> First this: I'm on Debian.
> But as the sendmail features probably are the same on a RedHat/Fedora
> system as on a Debian one I hope it's okay to ask here.
> 
> 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?

Not that I'm aware of. In fact, after re-reading your post, what your asking
seems more like a configuration setting (feature) of your MUA, not MTA.

Steve Cowles





More information about the redhat-list mailing list