搜索 | 用户支持

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

详细了解

How do I set TB's HELO/EHLO message?

  • 10 个回答
  • 2 人有此问题
  • 139 次查看
  • 最后回复者为 rsx11m

more options

TB signs onto my mail server as [<IP address>]. Strictly speaking this is "illegal", especially if this is a reserved (non-public) address, since the EHLO/HELO is supposed to enable the machine to be identified. How can I get it to identify itself with an FQDN?

Reason: If I can do this, I can configure my server to drop connections from clients sending HELO/EHLO [<IP address>] which would strengthen my SPAM defence.

TB signs onto my mail server as [<IP address>]. Strictly speaking this is "illegal", especially if this is a reserved (non-public) address, since the EHLO/HELO is supposed to enable the machine to be identified. How can I get it to identify itself with an FQDN? Reason: If I can do this, I can configure my server to drop connections from clients sending HELO/EHLO [<IP address>] which would strengthen my SPAM defence.

被采纳的解决方案

You are welcome.

定位到答案原位置 👍 0

所有回复 (10)

more options

in windows you would specify the computer and workgroup names...or Domain name.

more options

Sorry Matt, I don't see what you mean. My computer has a name and a workgroup name configured in Windows. It also has an entry (FQDN) in my local DNS (which just happens, at the moment, to be running on the same machine). That doesn't stop TBird identifying itself to the mail server as [<IP address>] - logged by the server as "EHLO [<IP address>]".

The client part of my mail distribution system, for example, has an "Identify myself as" setting in which I can enter the HELO/EHLO response that I require (its public DNS entry).

more options

It's not necessarily illegal to use a local IP address in an EHLO/HELO greeting, but it's not helpful either. Ideally, a fully qualified domain name would be used to identify the submitting e-mail client, but that's not always available, especially not behind a router employing network address translation (NAT).

By default, Thunderbird uses the IP address associated with the network interface on your computer used to send the message. It is possible to change that with a hidden preference setting.

Follow the instructions in http://forums.mozillazine.org/viewtopic.php?f=39&t=574630 or http://forums.mozillazine.org/viewtopic.php?f=28&t=1915643 to set server-specific or global greeting strings.

由rsx11m于修改

more options

Re "in windows you would specify the computer and workgroup names...or Domain name" - for Mac OSX and Linux, the hostname is taken as defined in the system; on Linux at least, it is only used if it is a FQDN (simple test though: if it contains a dot). On Windows, the system hostname is never a FQDN, thus the IP address is taken as the fallback (i.e., always).

more options

To rsx11m "It's not necessarily illegal to use a local IP address in an EHLO/HELO greeting..." That's why I wrote 'Strictly speaking...' and '"illegal"'. The "legality" depends on the context. In the local private domain it's OK. In the public domain, a private IP is most strongly deprecated as it does not permit the machine to be identified in any way whatsoever. It makes EHLO/HELO rather pointless, it might just as well be 'EHLO/HELO <blank>'. When running TB and server on the same windoze box, you get 'EHLO/HELO [127.0.0.1]', which is equivalent to 'EHLO/HELO here' - equally unhelpful. Will check out your links and see if one of them matches my version of TB (the last one I found did not). I have TB 24.4.0.

more options

Hi again. You forgot to cite but it's not helpful either from my previous post. ;-)

Given that likely most users are sitting behind a router/modem employing NAT these days (unless you are in a corporate or institutional network using static addresses or at least a fixed dynamic address range as registered), the HELO greeting argument has become virtually useless. Like any other e-mail client, Thunderbird only sees local configuration parameters, thus whatever name was assigned to the machine and the IP address bound to the network interface are the only information available. While desirable, there is no easy way for it to figure out the real outside-world IP address or FQDN.

On the other hand, most providers' servers consider that and adds it like

to the headers. Thus, in general that information is preserved on the way.

The other question is how spam filters score the greeting; i.e., if you get a higher score with a local IP address, a true IP address, an arbitrary name, or a FQDN (properly DNS-registered or not). That probably depends on the filter employed and how it is configured, thus there may not be a clear rule.

more options

To rsx11m: Tried your 2 links. It looks logical but I still get IP in square brackets. Tried helo instead of hello, still no joy. What's up?

more options

That's weird, works for me with 24.4.0. The instructions of the first thread, e.g., setting mail.smtpserver.smtp1.hello_argument to example.net, result in

as expected (this matches my SMTP server #1).

Do you have multiple SMTP servers configured? If yes, either each of those will have to be changed individually, or the mail.smtpserver.default.hello_argument preference used as suggested in the second thread.

由rsx11m于修改

more options

To rsx11m:

OK, spelling error found, it now works - Thanks.

more options

选择的解决方案

You are welcome.