Re: [Exim] Removing workstation name from mail address

Página Inicial
Delete this message
Reply to this message
Autor: dman
Data:  
Para: 'exim-users@exim.org'
Novos Tópicos: MIME headers on list (was Re: [Exim] Removing workstation name from mail address)
Assunto: Re: [Exim] Removing workstation name from mail address
On Mon, Jan 07, 2002 at 02:39:18PM +0100, Tommy Einarsson wrote:
| This message is in MIME format. Since your mail reader does not understand
| this format, some or all of this message may not be legible.
| --
| [ Picked text/plain from multipart/alternative ]


What a junky mail service. (this isn't the first time I've seen this,
and it seems to come from the same service each time, oh well)

| Hi,
| After struggling around a few days with Exim + QPopper + Null Webmail I got
| it up and running as I intended (I'm impressed with myself.......) I have
| one issue left.
| I have a registered domain einarsson.nu. All Win32 programs are set to
| display tommy@???, but mailing from the Linux machine presents two
| diffentrent names.....
| If I use the Null Webmail I get the address tommye@localhost, if I se the


What does
    grep 127 /etc/hosts
output?


exim uses the gethostbyname() C function to determine what your
machine's name is. This function gives back the first name listed in
/etc/hosts for the loopback IP. Make the first name there your
external name. For example :

change
    127.0.0.1       localhost dman dman.ddts.net
to
    127.0.0.1       dman.ddts.net localhost dman


| mail command I get tommye@???, where web is the name of the
| Linux machine.


I think this is correct. Here's some output regarding your systems :


$ host web.einarsson.nu
web.einarsson.nu A record currently not present

$ host -a web.einarsson.nu
web.einarsson.nu        MX    5 ix.alldomains.com


$ host einarsson.nu
einarsson.nu has no A record (Authoritative answer)

$ host -a einarsson.nu
einarsson.nu            NS    ns1.netcorps.com
einarsson.nu            NS    ns2.netcorps.com
einarsson.nu            SOA    ns1.netcorps.com root.ns1.netcorps.com (
            20010829    ;serial (version)
            10800    ;refresh period (3 hours)
            3600    ;retry interval (1 hour)
            604800    ;expire time (1 week)
            86400    ;default ttl (1 day)
            )



If I tried to send mail to <something>@einarsson.nu it would fail
because there is no A or MX record for einarsson.nu (exim doesn't know
where to open a connection to). If I try to send mail to
<something>@web.einarsson.nu exim would deliver the message to
'ix.alldomains.com'. Is this what you want? Also, since
web.einarsson.nu has no A record no web browser will be able to browse
web pages on your machine. (I imagine that's the purpose of a system
named 'web') In fact, no one can get any connection to that machine
from its name.

| I will gladly admit that I'm no wiz in Linux, so I don't knowhere tostart
| search, and using the archive is a bit hard if you don't have a specific
| search criterea (the word domain gave me >8000 hits).


Can you provide some more information about your network? From the
above data I think something isn't complete somewhere.

-D

--

He who finds a wife finds what is good
and receives favor from the Lord.
        Proverbs 18:22