Re: OT: How to configure sendmail to use a specific IP address instead of MX record value

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

 



Since you didn't quote the solution you used, I'll point out that
the syntax to avoid MX lookups is to enclose a hostname or IP
address in []'s.

Thanks.
I'm not sure that would have solved my specific problem (which I may
not have described too well).  I just tried it, and it doesn't look
like it would work for me.  In order for it to work, I would have had
to be able to:

echo "some message" | mail wpd@[mycompany.com] -s "test"

and add the internal IP address of our SMTP server to my /etc/hosts file.

In that manner, sendmail would not look for the MX record for
mycompany.com (because it was in brackets) and would, instead, find
the internal IP address from my /etc/hosts.

That is precisely the sort of solution for which I was looking,
assuming that it worked.

I just tried this and, my sendmail didn't like the @[mycompany.com]
syntax in my email address.

Instead, putting in the internal IP address of our SMTP server as the
SMART_HOST, solved the problem, though not in the manner I was
originally envisioning.

Anyway, thank you again to the folks who responded.

--wpd

--
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