<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>32878</bug_id>
          
          <creation_ts>2003-11-06 07:13 0000</creation_ts>
          <short_desc>Courier MTA webadmin does not apply the settings!</short_desc>
          <delta_ts>2004-02-15 17:42:31 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>superbeps@linux.nu</reporter>
          <assigned_to>iggy@gentoo.org</assigned_to>
          <cc>m@lcolm.org.uk</cc>

      

      
          <long_desc isprivate="0">
            <who>superbeps@linux.nu</who>
            <bug_when>2003-11-06 07:13:42 0000</bug_when>
            <thetext>It doesn&apos;t&apos; work because pop3d, pop3d-ssl etc etc filenames in /usr/sbin are changed to 
courier-pop3d courier-pop3d-ssl etc etc etc. 
You can solve the problem in two ways: 
1- Maintaining original services names (the best option because it&apos;s the right one!!) 
2- Patching the file /etc/courier/webadmin/changed 
 
I do not understand why only imapd imapd-ssl pop3d pop3d-ssl file names are changed 
and all the others (included esmtpd) no?! 
If the risk is a file overwrite i suggest making symlinks! 
 

Reproducible: Always
Steps to Reproduce:
1. change something with the webadmin 
2. apply the settings 
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>iggy@gentoo.org</who>
            <bug_when>2004-02-08 17:37:06 0000</bug_when>
            <thetext>Sorry, been a little busy lately. Looked into this, it does apply the settings, it just doesn&apos;t restart the processes correctly. I&apos;m looking into some way to fix this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>m@lcolm.org.uk</who>
            <bug_when>2004-02-15 15:38:38 0000</bug_when>
            <thetext>The problem lies with Webadmin being unable to find the scripts to restart Courier. This can be easily fixed by changing one line in /usr/share/courier/courierwebadmin/webadmin.pl by using the following patch:


diff -Naur /usr/share/courier/courierwebadmin/webadmin.pl usr_share_courier_20040210/courierwebadmin/webadmin.pl
--- /usr/share/courier/courierwebadmin/webadmin.pl      2004-02-10 11:56:39.000000000 +0000
+++ usr_share_courier_20040210/courierwebadmin/webadmin.pl      2004-01-24 01:44:23.000000000 +0000
@@ -15,7 +15,7 @@
 local $prefix=&quot;/usr&quot;;
 local $exec_prefix=&quot;/usr&quot;;
 local $bindir=&quot;/usr/bin&quot;;
-local $sbindir=&quot;${exec_prefix}/sbin&quot;;
+local $sbindir=&quot;/usr/share/courier&quot;;
 local $libexecdir=&quot;/usr/lib/courier&quot;;

 $ENV{&quot;PATH&quot;}=&quot;/usr/bin:${exec_prefix}/sbin:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin&quot;;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>iggy@gentoo.org</who>
            <bug_when>2004-02-15 17:42:31 0000</bug_when>
            <thetext>Actually I went the other way and changed the names of what it looks for in /usr/sbin (it&apos;s looking for courier-imapd and courier-pop3d). The changes for this are in courier-0.44.2.20040201.ebuild as of about 7:40pm(CST). Let me know if you have any problems with it. If I don&apos;t hear anything about it in the next couple of days (and assuming 44.3 isn&apos;t out within that time either) I&apos;m going to bump courier-0.44.2.20040201.ebuild to stable.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>