Re: mail confusion

From: Derek Martin (code_at_pizzashack.org)
Date: 11/06/05

  • Next message: Derek Martin: "Re: mail confusion"
    Date: Sun, 6 Nov 2005 13:36:31 -0500
    To: Jay Moore <jaymo@mail.bokler.com>
    
    
    
    

    On Sat, Nov 05, 2005 at 11:55:01PM -0600, Jay Moore wrote:
    > > You need to do one of the following:
    > >
    > > - change the hostname of your machine to something in a real domain
    > > - configure sendmail to masquerade your hostname/domain AND get rid
    > > of root as an "exposed user"
    > > - stop trying to send mail to legitimate Internet hosts from an
    > > illegitimate Internet host. ;-)
    >
    > I don't believe you've got it, Derek. At any rate, none of the things
    > you prescribed seem to make any difference. Here are some facts I should
    > have provided in my OP:
    >
    > This host (aria) has a dynamic IP. It is on a private net, currently @
    > 192.168.1.207

    This is probably not affecting your sendmail problem. It is more
    likely to do with your configuration of sendmail, specifically (but,
    see below where I talk about LOCAL_DOMAIN). That said, personally, I
    would probably make some changes anyway.

    Is the DHCP server under your control? If so, I would configure it to
    assign a static IP address to your machine. Usually this involves
    telling it the MAC address of your NIC card. The details will
    unfortunately be server-dependent (and I suppose may be impossible
    with your particular DCHP server, though that would surprise me).

    Then, assign your hostname (aria) to THAT IP address in your hosts
    file, e.g.:

    > my /etc/hosts file:
    127.0.0.1 localhost
    192.168.1.207 aria.cullmail.com aria

    > I set up masquerading in /etc/mail/sendmail.mc, "re-compiled", re-

    But remember that mail from your local machine (by default on FCx
    installs) uses /etc/mail/submit.mc, as I mentioned in my previous
    post. What does that look like?

    Also, sendmail decides what host it is using the LOCAL_DOMAIN macro.
    IIRC if this is not set, it will do some magic depending on how your
    system is configured to decide what your hostname is. In that case,
    changing the /etc/hosts file as I mentioned above may actually make a
    difference.

    So, do you have LOCAL_DOMAIN set to something reasonable?

    > started sendmail, re-booted, jumped up turned around three times
    > with my left index finger on my nose while chanting "there's no
    > place like home, there's no place like home". No dice... I even
    > changed the .mc file so that *no reference* to localhost.localdomain
    > existed in sendmail.cf (checked this w/ a grep).

    Sounds like fun, at least. ;-)

    > So here's the thing: Evolution is configured to use sendmail on this
    > host... it works fine. However 'pine' and 'mail' cannot get anything
    > except 'localhost.localdomain' when they send mail.

    Pine can be configured to use whatever you want; it's a setting in
    Pine. /bin/mail just uses your username, and passes your mail on to
    sendmail to let it figure out how to address the mail. Pine will do
    this too, if you don't tell it not to.

    > Please clue me in if you can.

    If none of this was helpful, I guess I'd have to see what was actually
    in both of your .mc files to be able to provide any more help.

    Also, check to make sure your host name really is what you think it
    is, by typing

      $ hostname

    (you don't need to be root to use hostname this way, but you do if you
    want to set the hostname).

    -- 
    Derek D. Martin
    http://www.pizzashack.org/
    GPG Key ID: 0x81CFE75D
    
    

    
    

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
    

    • application/pgp-signature attachment: stored

  • Next message: Derek Martin: "Re: mail confusion"

    Relevant Pages

    • Re: How to get mail to local destinations delivered?
      ... Then sendmail was adding the domain name onto the end of ... my intended hostname: machine ... domain on the internet but *not* for E-Mail. ... I have a real domain name, I made a sub-domain just for my LAN. ...
      (Fedora)
    • Re: How to get mail to local destinations delivered?
      ... anything with a hostname after the username is sent out, ... Then sendmail was adding the domain name onto the end of ... I haven't seen any evidence that that's happening to Chris; ... are totally irrelevant to local mail delivery. ...
      (Fedora)
    • Re: sendmail problem
      ... Have you tried setting your hostname, ... try and configure my sendmail to actually work for mail, but i haven't really played with it much yet. ... As to the original question on this thread. ... Connection closed by foreign host. ...
      (Fedora)
    • Re: sendmail on a workstation
      ... > to want the workstation to have a working domain name, ... sendmail relies on hostnames being ... > Right now I have the workstation hostname of Trimark, ... > computer using smtp through the same ISP and router the Freebsd box is on. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Why is my user-domain value not taken into account?
      ... By convention, it tends to be related to your system's domain name, but there is no requirement in the specifications that it do so. ... If I set temporarily the hostname when being ... pine works correctly; but I would like pine to make some message-ID ... handle for composing the message-ID? ...
      (comp.mail.pine)