Re: OT: How to configure sendmail to use a specific IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Patrick Doyle" <wpdster@xxxxxxxxx> wrote:

Hi folks,
Sorry for the off topic question, but, at least it doesn't have
anything to do with nVidia drivers :-)
Anyway I have a Linux box parked on the inside of a firewall which,
for whatever reason, won't let the box connect to the company's mail
server via its MX record IP address.  I can, however, connect to the
mail server using its internal IP address.  (Verified by telnet
a.b.c.d 25).

Can anybody point me to where I can learn how to configure my Linux
box to use the internal IP address for my company's smtp server
instead of the external IP address?

I tried the obvious fix of the internal IP address for mycompany.com
in /etc/hosts, but that didn't work.

TIA...

--wpd
Try setting the "smarthost" in /etc/mail/sendmail.mc (replace the example IP address with your mail server):

define(`SMART_HOST', `172.19.40.150')


Do a "make" in the directory and restart sendmail. Here's a link to a thread discussing smarthost:

http://www.monkey.org/openbsd/archive/misc/0203/msg00368.html

Cheers,
Dave

--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux