Message38604
Logged In: YES
user_id=35752
I'm rejecting this patch. RFC 1123 requires that name
sent after the HELO verb is "a valid principal host domain
name for the client host". While RFC 1123 goes on to prohibit
HELO-based rejections it is possible that some servers do
reject mail based on HELO. Thus, changing the hostname
sent to "localhost.localdomain" could potentially break
scripts that currently work.
The concern raised is still valid however. Finding the
FQDN using gethostbyname() is unreliable. To address this
concern I've added a "local_hostname" argument to the
SMTP __init__ method. If provided it is used as the local
hostname for the HELO and EHLO verbs.
|
|
Date |
User |
Action |
Args |
2007-08-23 15:10:20 | admin | link | issue497736 messages |
2007-08-23 15:10:20 | admin | create | |
|