Re: Forcing sendmail to send using a single ip address?
From: Steve Cowles (steve_at_stevecowles.com)
Date: 12/31/03
- Previous message: Ed Wilts: "Re: Forcing sendmail to send using a single ip address?"
- In reply to: Cleveland_at_winnefox.org: "Forcing sendmail to send using a single ip address?"
- Next in thread: Cleveland_at_winnefox.org: "RE: Forcing sendmail to send using a single ip address?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: redhat-list@redhat.com Date: Wed, 31 Dec 2003 12:31:06 -0600
On Wed, 2003-12-31 at 09:19, Cleveland@winnefox.org wrote:
> Hello,
>
> I've got a redhat 9 machine running sendmail. The machine I'm using has
> two external ip addresses, and an internal. When it sends mail, it wants
> to use that internal number. Is there a way to force sendmail to use a
> specific ip address?
>
> If not, does postfix offer that feature?
>
>
> --
> Jody Cleveland
> (cleveland@winnefox.org)
>
In addition to fixing your routing problems mention in other posts...
you can add the following option to sendmail.mc:
define(`confDOMAIN_NAME', `mail.mydomain.tld')dnl
Change mail.domain.tld to the FQDN of one of the IP's your want to use
on the external interface (you mentioned you have two assigned). Just
make sure the name you enter can be either looked up through DNS (both A
and PTR records) or place an entry in your /etc/hosts file.
You can also change sendmail's login message that is displayed. Same
rules apply as above for the name used.
define(`confSMTP_LOGIN_MSG', `mail.primary.tld')dnl
Steve Cowles
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Ed Wilts: "Re: Forcing sendmail to send using a single ip address?"
- In reply to: Cleveland_at_winnefox.org: "Forcing sendmail to send using a single ip address?"
- Next in thread: Cleveland_at_winnefox.org: "RE: Forcing sendmail to send using a single ip address?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|