Re: another exim question
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 20 January 2002 6:51 am, Ken Weingold wrote:
> On Sunday, January 20, 2002, at 12:17 , Alan Chandler wrote:
> > local_domains =
> > localhost:*.home:home:chandlerfamily.org.uk:libdebate.org
> >
> > is mine - you could - if there are lots put them in a file one per line
> > and do
> > local_domains = /path/to/file
>
> Thanks, Alan. When I change local_domains to that, messages to a domain
> name specified get bounced back saying:
>
> When trying to deliver your message, the mail server at hellrot.org
> encountered
> permanent problems with the following address:
> For <hazmat@hellrot.org>, the destination server said: Command DATA
> found possible MX loop (from hellrot.org:127.0.0.1)
Like it says I think you have DNS problems. I did a quick lookup on your
domain name (hellrot.org) and it told me the mail server for your domain is
at mail2.your-site.com. I assume this is a domain name hosting company and
they are holding your domain name and forwarding mail to somewhere (your ISP
or you?) - but the mail server you are trying to set up also appears to think
its the MX mail server for hellrot.org.
I am not sure if your domain hosting company has the flexibility to do
something like
a) Add some DNS entries for names like mail.hellrot.org which is the IP
address your ISP has given you (problem is if its dhcp and changes all the
time - then you can't really do this)
b) Change the DNS MX record for hellrot.org to point to mail.hellrot.org
The alternative is to leave mail2.your-site.com forwarding mail to your ISPs
mail address and to pick up from there by fetchmail. Then use exim just to
distribute mail locally. In this case, behind the privacy of a firewall you
can set up your own DNS server to support your internal network with names
you like. If you look at my local_domains line above you will see the entries
*.home:home
I run mail internally with people addressing mail to xxx@home (or just xxx)
and exim just delivers that locally. Fetchmail picks up mail to
xxx@chandlerfamily.org.uk from my isp and delivers it to xxx@fetchmail.home
outgoing mail rewrites the header in the smtp transport section with the
following lines
# This transport is used for delivering messages over SMTP connections.
remote_smtp:
driver = smtp
headers_rewrite = *@*home $1@chandlerfamily.org.uk
return_path = ${lc:${sender_address_local_part}}@chandlerfamily.org.uk
- --
Alan - alan@chandlerfamily.org.uk
http://www.chandlerfamily.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8Sogp1mf3M5ZDr2kRAp4DAJ4l15At1iUi9fxlBrUBpDDW/g3fWgCcDkr7
9KjcC+GCwU0IpNvspF7Gq/o=
=Spe3
-----END PGP SIGNATURE-----
Reply to: