Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xmail problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Sun Oct 03, 2004 11:39 pm    Post subject: Xmail problem Reply with quote

hi,

after bugging around with postfix and qmail i found xmail, which looks promising.
I have successfully emerge it. After setting everything up for a test, i did this:

Code:

export MAIL_ROOT=/chroot/xmail/var/MailRoot
/chroot/xmail/var/MailRoot/bin/XMail -Md -Pl -Sl -Fl -Cl -Ll

and i can send/receive mails from my test-account.

But when i run "/etc/init.d/xmail start" i get some Authentication error although in /etc/conf.d/xmail i entered the same parameters.

i also don't get it, why the config files can be found in /etc/xmail and /chroot/xmail/var/Mailroot/. Because of the chroot jail? But then.. why in /etc/xmail?

Hope someone can help...
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Thu Oct 07, 2004 11:32 pm    Post subject: Reply with quote

bump,

ok, i figured out, that since the ebuild sets xmail in a chroot, '/etc/init.d/xmail' copies all the config-files from /etc/xmail to /chroot/xmail/var/Mailroot when started.

Further i noticed, that it by default uses some weird Ports, and the init.d modifies the NAT-Table (using eth0, grr... i'm using 2 bridged nics named br100).


But even after fixing that, i can't receive/send mails when starting the init.d ..
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 463
Location: Bosnia

PostPosted: Fri Dec 29, 2006 9:06 am    Post subject: Reply with quote

Need help with xmail !

I do
Code:
emerge -av xmail


and as i see it that is installation ok !

Also i do :

Code:
/usr/portage/mail-mta/xmail/files/xmailwizard


After this i get :

Code:
Configuring XMail server ...

Create CtrlClnt login name: oceansoul

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

 * Caching service dependencies ...
 *  Service 'postfix' already provided by 'mta'!;
 *  Not adding service 'exim'...
 *  Service 'postfix' already provided by 'mta'!;
 *  Not adding service 'sendmail'...                                                                                          [ ok ]
 * Starting XMail ...
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.
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.
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.
XMail Ctrl server not yet running ... sleeping 10 seconds.


And why is always show

Quote:
XMail Ctrl server not yet running ... sleeping 10 seconds.


Need help this is the first time that do with mail server !
Back to top
View user's profile Send private message
Strowi
l33t
l33t


Joined: 19 Aug 2003
Posts: 656
Location: Bonn

PostPosted: Fri Dec 29, 2006 10:44 am    Post subject: Reply with quote

hi,

i'm sorry to say that i never touched mail again in the last 2 years, but i will try to help you.

what xmail-version did you emerge?

the output of "/usr/portage/mail-mta/xmail/files/xmailwizard" looks very weird...
do you have postfix/exim installed? if so, you should unmerge it, as every system needs only one smtp/mail-server and so won't start another one.

maybe the output of "rc-update -s" will help...
_________________
--
Linux & such ...
http://blog.hasnoname.de
Back to top
View user's profile Send private message
Frogzz
n00b
n00b


Joined: 01 Apr 2006
Posts: 26
Location: Poland - 3city

PostPosted: Mon Feb 19, 2007 5:35 pm    Post subject: Reply with quote

I've got the same problem as sleepingsun :(

Code:

> /usr/portage/mail-mta/xmail/files/
Configuring XMail server ...

Create CtrlClnt login name: frogzz

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

 * Starting XMail ...
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.
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.
XMail Ctrl server not yet running ... sleeping 10 seconds.
Back to top
View user's profile Send private message
Frogzz
n00b
n00b


Joined: 01 Apr 2006
Posts: 26
Location: Poland - 3city

PostPosted: Tue Feb 20, 2007 8:52 am    Post subject: Reply with quote

When I run Xmail by hand there is no OK no !! it's just exit without a word :( log is empty too :(
Back to top
View user's profile Send private message
terminal9
Apprentice
Apprentice


Joined: 12 Oct 2006
Posts: 157

PostPosted: Wed May 09, 2007 9:00 am    Post subject: Reply with quote

xmail init script + xmailwizard + the way its conf.d is (NOT) processed are broken in many ways.
This ebuild is one of the worst I've seen in portage. It does not seem to be maintained either.
I suggest you directly get it from canonical home page and install per its own directions.
IMO, chroot jail is not terribly necessary. You can use xinetd or netfilter's port forwarding to run it in non-root account.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum