Michael Hendricks <michael@xxxxxxxxx> writes: > RFC 2822 section 3.6.4 suggests that a "good method" for generating a > Message-ID is to put the domain name of the host on the right-side of > the "@" character. Use Perl's Sys::Hostname to do the heavy lifting. > This module has been in the Perl core since version 5. Probably is a good idea for 50% of properly configured hosts. I think hosts can be configured so that hostname() already returns fqdn in which case your patch is fine but they can also be configured so that hostname() plus its domainname becomes fqdn, in which case it is probably not. In any case it is mere suggestion (not MUST nor even SHOULD), so we should judge its merits a bit carefully. What happens if the machine you run send-email on does not have a valid hostname configured yet? People on home machines or laptops whose only contact outside are with their ISP mailservers should be able to send their patches without having to configure /etc/hostname, shouldn't they? Does Sys::Hostname die under some condition, such as "the host is not configured well enough"? If so I suspect the change to replace the existing one is not acceptable. I think we should use something safe that gives reasonably unique identifier and the existing $message_id_from based method is one way to do so. The message from vger mailmaster (DSM) suggests that somehow $message_id_from method returned an empty string. Maybe make your patch used as a fallback in such a case? Finally could you resend this with your updated git-send-email? I suspect that this line in the mail header of your patch: Message-ID: <11823459011323-git-send-email-michael@xxxxxxxxx> should have read like so: Message-ID: <11823459011323-git-send-email@xxxxxxxxx> - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html