[Exim] Re: Local delivery?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Derrick 'dman' Hudson
Date:  
À: exim-users
Sujet: [Exim] Re: Local delivery?
--
On Wed, Jul 03, 2002 at 04:45:16AM +0000, David Smead wrote:
| Derrick,

|
| Thanks for your help.

|
| Sorry for not getting on the exim list. The last thing I need when
| debugging a new mail server is tons of emails everyday.


Yeah, that does make some sense. However you shouldn't be breaking
your only mail server -- test the new config on a test machine so that
service (especially receiving email-based support) is still available.

| The answer to my problem was to enter this config line:

|
| local_domains = mail.amplepower.com : amplepower.com

|
| I had the first entry correct,


I don't think the first entry is actually correct.

| but not the last one. It doesn't really make sense to me why the
| last entry was needed, but it works.


You're email address, according to the From: header, is
<smead@???>. When you parse that, the local part is
"smead" and the domain is "amplepower.com". For the server that will
take responsibility for that address, "amplepower.com" is a local
domain. "mail.amplepower.com" is a host, not a domain (though
technically it _could_ be a sub-domain). If your email address was
<smead@???> then that first entry would be correct.
The difference is host vs. domain. Some host (mail.amplepower.com)
will handle mail for the domain (amplepower.com).

Taking a look at your DNS records :

    amplepower.com          MX      50 lepen.pair.com
    lepen.pair.com          A       209.68.1.146


In actuality, mail.amplepower.com isn't even involved in your mail
handling, unless lepen.pair.com relays your domain to it.

    mail.amplepower.com     CNAME   amplepower.com
    amplepower.com          A       216.92.97.234


So you've setup 'amplepower.com' as a host as well as a domain, and
also gave it the name 'mail.amplepower.com'. There really isn't
anything wrong with that, except that you now can not have
'mail.amplepower.com' as an MX for the amplepower.com domain.

Oh, one other note, none of your software (eg apache or whatever it
was that generated the mail in the first place) should be creating
addresses like "foo@???" since that is the wrong
domain. (however, that domain will be treated as valid with the
local_domains setting you showed)

| BTW, I did start with eximconfig, but none of the selectable
| configurations fit my case.


Isn't #1 (IIRC) "Internet site" what you are?

-D

--

Windows, hmmm, does it come with a GUI interface that works or just
pretty blue screens?

http://dman.ddts.net/~dman/

--
[ Content of type application/pgp-signature deleted ]
--