Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
news/inn: Ignore more domain/FQDN errors for poudriere
The builder environment doesn't have a vaild FQDN so this is failing a downstream port build. Reported by: thierry
- Loading branch information
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
--- lib/innconf.c.orig 2015-09-12 15:25:22.000000000 +0200 | ||
+++ lib/innconf.c 2015-09-21 21:15:18.446435000 +0200 | ||
@@ -473,7 +473,7 @@ innconf_validate(struct config_group *gr | ||
|
||
if (GetFQDN(innconf->domain) == NULL) { | ||
--- lib/innconf.c.orig 2023-04-16 19:50:54 UTC | ||
+++ lib/innconf.c | ||
@@ -447,17 +447,17 @@ innconf_validate(struct config_group *group) | ||
fqdn = inn_getfqdn(innconf->domain); | ||
if (fqdn == NULL) { | ||
warn("hostname does not resolve or domain not set in inn.conf"); | ||
- okay = false; | ||
+/* okay = false; */ | ||
} | ||
if (innconf->mta == NULL) { | ||
warn("must set mta in inn.conf"); | ||
if (innconf->domain != NULL && !IsValidDomain(innconf->domain)) { | ||
warn("domain in inn.conf contains invalid characters not suitable for " | ||
"Message-IDs"); | ||
- okay = false; | ||
+/* okay = false; */ | ||
} | ||
if (innconf->domain == NULL && !IsValidDomain(fqdn)) { | ||
warn("the FQDN of the server contains invalid characters not suitable " | ||
"for Message-IDs"); | ||
- okay = false; | ||
+/* okay = false; */ | ||
} | ||
free(fqdn); | ||
|