RE: How to get mail to local destinations delivered?

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

 



On Sun, Nov 11, 2007 at 03:35:55PM +0000, Timothy Murphy wrote:
> Chris G wrote:
> It fails, sendmail attempts to send it to chris@xxxxxxxxxxxxx which
> it decides is out there in the internet somewhere.

>From your first post, you stated you edited /etc/hosts to...
    192.168.1.1     home    home.isbd.net

Don't know if it matters to the resolver lib, but the format of the
hosts file (from man hosts)

IP_address canonical_hostname [aliases...]

i.e. 192.168.1.1 smtp.mydomain.com smtp smtp1

I'm not running FC7, but every FC release I have used in the past has
always configured sendmail to only listen on localhost out of the box.
So you might need to edit sendmail.mc to have sendmail also listen on
eth0.

To override sendmail from using DNS lookup for your domain name and
force e-mail to be delivered locally without "relay=public IP", I would
suggest that you read about implementing the "mailertable" feature in
sendmail.mc. As others have stated, you would also edit
/etc/local-host-names as you have already done.

i.e. mailertable entry

mydomain.com esmtp:[smtp.mydomain.com]

-or- maybe something like
mydomain.com esmtp:[127.0.0.1]

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