diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-10-23 12:55:35 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-23 12:55:35 -0400 |
| commit | 8c0a1f4a91a3da845d9f8fd908f2d6eafb7bbfe8 (patch) | |
| tree | 02942697ddf3ab8cc0220f801285c6d93b053f8a /doc/forum/mailname_set_by_Propellor.Property.Hostname.sane | |
| parent | 9457615dd15acb19ea12a0260c019a4eecc2ac94 (diff) | |
comment
Diffstat (limited to 'doc/forum/mailname_set_by_Propellor.Property.Hostname.sane')
| -rw-r--r-- | doc/forum/mailname_set_by_Propellor.Property.Hostname.sane/comment_1_199da2bf7793c33841d21599703a3006._comment | 15 |
1 files changed, 15 insertions, 0 deletions
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. +"""]] |
