From 8c0a1f4a91a3da845d9f8fd908f2d6eafb7bbfe8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 23 Oct 2015 12:55:35 -0400 Subject: comment --- .../comment_1_199da2bf7793c33841d21599703a3006._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/forum/mailname_set_by_Propellor.Property.Hostname.sane/comment_1_199da2bf7793c33841d21599703a3006._comment (limited to 'doc/forum/mailname_set_by_Propellor.Property.Hostname.sane') diff --git a/doc/forum/mailname_set_by_Propellor.Property.Hostname.sane/comment_1_199da2bf7793c33841d21599703a3006._comment b/doc/forum/mailname_set_by_Propellor.Property.Hostname.sane/comment_1_199da2bf7793c33841d21599703a3006._comment new file mode 100644 index 00000000..47e7e669 --- /dev/null +++ b/doc/forum/mailname_set_by_Propellor.Property.Hostname.sane/comment_1_199da2bf7793c33841d21599703a3006._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2015-10-23T16:31:19Z" + content=""" +Well, for a hostname like "foo.example.com", it's right to use example.com +for the mailname. OTOH, for hostname "example.com", it currently uses +"com" for the mailname, which is certianly wrong. (It also uses "example" +for the hostname, which I dunno if is right or not, probably a matter of +opinion.) + +I've special cased it to require at least one dot in the domain, and +parameterized domain extraction for cases where the default method +doesn't work. +"""]] -- cgit v1.2.3