Exim4 with literal domains

I'm setting up a new personal email site with a debian server in the cloud.

I don't want DNS pointing to it yet, because I need to move stuff from the old server, (of the same name), to the new server.

I need to be able to test the new server using just the IP number.

Despite what Exim4 config files says about automatic configuration, uncommenting the line MAINALLOWDOMAIN_LITERALS generates a faulty config file with this error: "Exim configuration error in line 444 of /var/lib/exim4/config.autogenerated.tmp:

router name missing"

Does anyone have exim4 set up to allow literal domains?

Thx

2 Replies

Why not just setup a local HOSTS file with the IP/DOMAIN NAME for testing.

When it's ready, then change the DNS.

That works to allow mail exchange between users on the same server.

However, I want to forward all the emails from the old server to the new one. If I change DNS so that it points to the new IP, how do I access the old server?

It would be simple if I could accept mail as user@[

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct