Re: How to get mail to local destinations delivered?

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

 



On Sat, Nov 10, 2007 at 04:27:08PM -0500, Tony Nelson wrote:
> At 4:49 PM +0000 11/10/07, Chris G wrote:
> >I have a fairly default Fedora 7 installation, certainly the sendmail
> >is just as it was installed.
> >
> >How do I get sendmail to deliver mail to local destinations?  The
> >system's hostname is home.isbd.net and it's connected to the Internet
> >via a router.  I have a CNAME set up at the hosting provider that
> >hosts isbd.net to point at the static address of my ADSL connection.
> >
> >When I send mail from my system to a local address it gets the
> >hostname added, thus mail gets sent to root@xxxxxxxxxxxxx,
> >postmaster@xxxxxxxxxxxxx, chris@xxxxxxxxxxxxx, etc.  All of this
> >fails because sendmail attempts to connect to the SMTP port of
> >home.isbd.net, which isn't possible because my router's firewall
> >doesn't accept connections on port 25.
> >
> >I don't want to open up port 25 and it seems a bit silly anyway to
> >send mail on such a long round trip.  Is there any way I can tell
> >sendmail that home.isbd.net is localhost (or 192.168.1.1)?  I have an
> >entry for home.isbd.net in my /etc/hosts file which is:-
> >
> >    192.168.1.1     home    home.isbd.net
> >
> >but obviously sendmail is doing a DNS lookup for home.isbd.net which
> >returns the 'external' IP address.
> 
> I think just add the name ("home.isbd.net") to /etc/mail/local-host-names.

Yes, I just found that file (by reading sendmail.cf) and I have added
home.isbd.net to it, it doesn't work, I have restarted sendmail.

-- 
Chris Green

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