Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 42164
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Brian Jackson (RETIRED) <iggy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sami Näätänen <sn.ml@keijukammari.fi>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 42164 depends on: Show dependency tree
Bug 42164 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-19 11:09 0000
The default config made by ebuild ... config for courier extracts the
configuration domain from hostname instead of using the real domainname.

Diff that first takes the domainname from the command domainname and if this
returns "(none)" tries to extract the domainname from the hostname

======================================================= diff -uN
--- old/courier-0.44.2.ebuild   2004-02-09 03:32:44.000000000 +0200
+++ new/courier-0.44.2.ebuild   2004-02-19 20:58:04.742233944 +0200
@@ -307,9 +307,12 @@
        mailhost=`hostname`
        export mailhost

-       domainname=`echo ${mailhost} | sed -e "s/[^\.]*\.\(.*\)/\1/"`
+       domainname=`domainname`
        export domainname

+       if [ "x$domainname" = "x(none)" ] ; then
+               domainname=`echo ${mailhost} | sed -e "s/[^\.]*\.\(.*\)/\1/"`
+       fi

        if [ ${ROOT} = "/" ] ; then
                file=${ROOT}/etc/courier/locals
============================================================ END of diff

------- Comment #1 From Brian Jackson (RETIRED) 2004-03-09 21:00:19 0000 -------
this is in cvs, thanks for the fix

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug