Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32878 - Courier MTA webadmin does not apply the settings!
Summary: Courier MTA webadmin does not apply the settings!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brian Jackson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-06 07:13 UTC by ./SuperbepS
Modified: 2004-02-15 17:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ./SuperbepS 2003-11-06 07:13:42 UTC
It doesn't' 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'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.
Comment 1 Brian Jackson (RETIRED) gentoo-dev 2004-02-08 17:37:06 UTC
Sorry, been a little busy lately. Looked into this, it does apply the settings, it just doesn't restart the processes correctly. I'm looking into some way to fix this.
Comment 2 Malcolm Scott 2004-02-15 15:38:38 UTC
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="/usr";
 local $exec_prefix="/usr";
 local $bindir="/usr/bin";
-local $sbindir="${exec_prefix}/sbin";
+local $sbindir="/usr/share/courier";
 local $libexecdir="/usr/lib/courier";

 $ENV{"PATH"}="/usr/bin:${exec_prefix}/sbin:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin";
Comment 3 Brian Jackson (RETIRED) gentoo-dev 2004-02-15 17:42:31 UTC
Actually I went the other way and changed the names of what it looks for in /usr/sbin (it'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't hear anything about it in the next couple of days (and assuming 44.3 isn't out within that time either) I'm going to bump courier-0.44.2.20040201.ebuild to stable.