How to get mail to local destinations delivered?
John Summerfield
debian at herakles.homelinux.org
Sun Nov 11 20:58:30 UTC 2007
Steve Cowles wrote:
> 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 at home.isbd.net 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.
That's not needed, see a post I made a few minutes ago, with mail being
received for potoroo.demo.lan - it's not listening on anything but lo.
>
> 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]
>
I found root at localhost works and root@[127.0.0.1] does not on my f8 box:
----- The following addresses had permanent fatal errors -----
<root@[127.0.0.1]>
(reason: 553 5.3.5 system config error)
----- Transcript of session follows -----
553 5.3.5 [127.0.0.1] config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
--
Cheers
John
-- spambait
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
Please do not reply off-list
More information about the fedora-list
mailing list