We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Sending an email using the hosts file

  • 1 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 Sea Mac

more options

I'm migrating from one hosting company to another. I need to fix any problems with my new mailservers before I make them live.

But I'm having a problem with Thunderbird. It seems to be ignoring the hosts file and trying to access my old mailservers.

Details:

I'm trying to use the hosts file on Windows to allow me to send an email to (say) example.com using Thunderbird. This makes sense because I actually have an email server at the IP address (it is a new account at a new hosting company that I am migrating to). I just have not yet connected the new hosting company zone DNS at the domain registry.

I made an Addon domain for example.com (not the real domain name) using cPanel, and created a new email account for [email protected] using cPanel.

Here is the new line in the hosts file: 1.1.1.1 example.com

I'm using 1.1.1.1 and example.com here, but the actual data is different, of course.

I've also tried adding 1.1.1.1 mail.example.com 1.1.1.1 pop.example.com 1.1.1.1 pop3.example.com

In all these cases, my sent email is returned to sender with an error message like the following:

[code]

 [email protected]
   The mail server could not deliver mail to [email protected].  The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.

Reporting-MTA: dns; root.springtimesoftware.com

Action: failed Final-Recipient: rfc822;[email protected] Status: 5.0.0 /code

If this is a known bug (which I guess is possible), what is the workaround? Can I somehow use my new IP address as the mailserver name or the destination address or something?

==

Windows 10 Home TB 60.9.0

I'm migrating from one hosting company to another. I need to fix any problems with my new mailservers before I make them live. But I'm having a problem with Thunderbird. It seems to be ignoring the hosts file and trying to access my old mailservers. Details: I'm trying to use the hosts file on Windows to allow me to send an email to (say) example.com using Thunderbird. This makes sense because I actually have an email server at the IP address (it is a new account at a new hosting company that I am migrating to). I just have not yet connected the new hosting company zone DNS at the domain registry. I made an Addon domain for example.com (not the real domain name) using cPanel, and created a new email account for [email protected] using cPanel. Here is the new line in the hosts file: 1.1.1.1 example.com I'm using 1.1.1.1 and example.com here, but the actual data is different, of course. I've also tried adding 1.1.1.1 mail.example.com 1.1.1.1 pop.example.com 1.1.1.1 pop3.example.com In all these cases, my sent email is returned to sender with an error message like the following: [code] [email protected] The mail server could not deliver mail to [email protected]. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. Reporting-MTA: dns; root.springtimesoftware.com Action: failed Final-Recipient: rfc822;[email protected] Status: 5.0.0 [/code] If this is a known bug (which I guess is possible), what is the workaround? Can I somehow use my new IP address as the mailserver name or the destination address or something? ==== Windows 10 Home TB 60.9.0

所有回复 (1)

more options

I own 4 domains myself and have a hosting plan but do not send emails from my domains so I have Never set up an MX Record before.

I would contact your Hosting Company about this issue (There's probably a cPanel item to open a support ticket with them over this.).

Here's where I'm going to have to start someday: https://www.a2hosting.com/kb/cpanel/cpanel-mail-features/mail-exchanger-mx-record-entry

Or maybe here: https://www.a2hosting.com/kb/cpanel/cpanel-domain-features/using-the-cpanel-zone-editor