Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128014

Summary: xmail wizard does not work
Product: Gentoo Linux Reporter: Kandalincev Alexandre <exe>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED CANTFIX    
Severity: normal CC: kesara
Priority: Highest Keywords: PMASKED
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kandalincev Alexandre 2006-03-29 10:16:54 UTC
I`m sorry, i think the bug 25063 not fully fixed? Wizard can not start daemon, but i have no problems when i type "/etc/init.d/xmail start" .
The output of wizard:
---------
localhost chroot # /usr/portage/mail-mta/xmail/files/xmailwizard
Configuring XMail server ...

Create CtrlClnt login name: mailadmin

Enter CtrlClnt password: 
Enter password again: 
Enter fully-qualified domain name (e.g. xmailserver.org): <cut>

cp: cannot stat `/etc/mail/aliases': No such file or directory
 * Caching service dependencies ...                                                                      [ ok ]
 * Starting XMail ...
start-stop-daemon: Unable to start /var/MailRoot/bin/XMail: Permission denied
XMail Ctrl server not yet running ... sleeping 10 seconds.
XMail Ctrl server not yet running ... sleeping 10 seconds.
XMail Ctrl server not yet running ... sleeping 10 seconds.
---------

And a few minutes later success start by hand:
---------
localhost chroot # /etc/init.d/xmail start
* Starting XMail ...                                      [ ok ]
---------


I watched this bug on a two different 2005.1 installations.


+++ This bug was initially created as a clone of Bug #25063 +++

After applying patch from bug 24923
(http://bugs.gentoo.org/show_bug.cgi?id=24923#c6) xmailwizard starts XMail to
listen Control Clients on port 29617 (line "MY_CTRL=29617" in /etc/conf.d/xmail
copied from files/xmail.confd) but waits while it will listen on 6017 port
(lines 31,35,59 and 63 in files/xmailwizard).
So I get:
=== 
# /usr/local/portage/net-mail/xmail/files/xmailwizard
Configuring XMail server ...

Create CtrlClnt login name: mailadmin

Enter CtrlClnt password:
Enter password again:
Enter fully-qualified domain name (e.g. xmailserver.org): test.com

 * Starting XMail...                                                           
                           [ ok ]
XMail Ctrl server not yet running ... sleeping 10 seconds.
XMail Ctrl server not yet running ... sleeping 10 seconds.
and so on...
=== 
I propose :%s/29617/6017/ in files/xmail.conf.d
   Sergey
Comment 1 Kandalincev Alexandre 2006-04-26 14:05:18 UTC
Maybe simply remove this strings because "/etc/init.d/xmail stop" will do all work?

I offer remove this from xmailwizard and close bug repport:

=========
NETSTAT=`netstat -an | grep -c ":29617"`
while [ $NETSTAT -ne 0 ]; do 
        echo "There is(are) still $NETSTAT open connection(s) ... sleeping 10 seconds."
        sleep 10
        NETSTAT=`netstat -an | grep -c ":29617"` 
done
=========
Comment 2 Kesara Rathnayake 2007-08-10 21:00:53 UTC
(In reply to comment #1)
> Maybe simply remove this strings because "/etc/init.d/xmail stop" will do all
> work?
> 
> I offer remove this from xmailwizard and close bug repport:
> 
> =========
> NETSTAT=`netstat -an | grep -c ":29617"`
> while [ $NETSTAT -ne 0 ]; do 
>         echo "There is(are) still $NETSTAT open connection(s) ... sleeping 10
> seconds."
>         sleep 10
>         NETSTAT=`netstat -an | grep -c ":29617"` 
> done
> =========
> 

No this doesn't work.
Still get the same results that the original poster have came up with.
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2008-06-11 18:21:17 UTC
net-mail/xmail is masked and will be removed in 30 days.
It has bugs and no maintainer.
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2008-08-24 10:00:08 UTC
xmail is gone