RE: [Exim] The role of @mx_any

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Eli
Data:  
Para: exim-users
Asunto: RE: [Exim] The role of @mx_any
>domainlist relay_domains = @mx_any

This sets up a domainlist variable for later use (it would be used as
+relay_domains). See
http://www.exim.org/exim-html-4.30/doc/html/spec_7.html#SECT7.1 near the top
for an explanation. See also
http://www.exim.org/exim-html-4.30/doc/html/spec_10.html#SECT10.5

>domainlist local_domains = @ : @mx_any


You probably don't want @mx_any in your list of domains considered local. I
could just simply add your server as an MX record into my domains DNS
entries and then presto, I could more than likely relay out through your
server. See
http://www.exim.org/exim-html-4.30/doc/html/spec_10.html#SECT10.7 for info
on the @ and @mx_any items.

I would suggest you just keep local_domains as "@", and then define a
different domainlist that would store servers or whatever that you will
allow to relay through you - be careful with this though...

Eli.

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org] On Behalf
Of Brett Humphreys
Sent: Wednesday, January 14, 2004 3:55 PM
To: exim-users@???
Subject: [Exim] The role of @mx_any


Hello,
    First off, I apologize if this question is trivial, or answered
somewhere else.  I did spend time looking for the answer, but didn't
find anything concrete, so here I am.


In my exim configure file I have the following lines:

domainlist local_domains = @ : lsearch:/etc/virtual/domains
domainlist relay_domains = @mx_any

A couple questions about this configuration:

1. relay_domains does not occur anywhere else in the config file, is
this a variable used within exim or can this be removed from my config file?

2. According to the documentation, @mx_any matches any domain that has
an MX record pointing to the local host. The file /etc/virtual/domains
has a list of all domains that I am the primary MX for. So can I safely
change the first line to:
domainlist local_domains = @ : @mx_any

Are these equivalent?

Thanks.

-Brett

--
Brett Humphreys
BuildLinks
Software Engineer
brett@???
919-425-0282 x114



--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##

---
[This E-mail scanned for viruses]


---
[This E-mail scanned for viruses]