Host convert a new IP and mail can't work.

Hi
Not long ago, the host moved to convert a new IP.
The old IP of httpd.conf in apache has been changed to a new IP
After changing the IP, the mailbox will not receive the letter.
Do I need to modify httpd.conf in apache or main.cf in Postfix?

Is there any three warnings in maillog.bin related to this?

  1. warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
    2.warning: do not list domain catchdesign.info in BOTH mydestination and virtual_alias_domains
    3.warning: do not list domain catchdesign.info in BOTH mydestination and virtual_mailbox_domains

How can I do?

3 Replies

You may need to update main.cf but you'll also need to make sure that the MX records for your domain are updated to point to the new IP address. Once the MX records are pointed to the new IP address it can take up to 24 hours for the records to be picked up by other servers. During that time, mail may not be delivered to your Linode as it's still going to the previous IP address.

Hi
main.cf not see any Specify the IP of part.
Need to add?

By default Postfix will listen on any IP configured in the server so unless the old IP was specifically listed in main.cf, you shouldn’t need to change it.

It’s more likely your MX/A record is still pointing to the old IP.

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