[qmailtoaster] SOLVED: qmailadmin not working from fresh install.

2008-10-16 Thread Tommi Järvilehto

Answering to my own question. I finally solved this.

I enabled security and selinux
did setsebool -P httpd_can_network_connect=1 (dunno if this did anything)
qmailadmin started to work.
Then disabled security and selinux again.
qmailadmin still works :)

Tommi Järvilehto kirjoitti:
I have installed qmail-toaster many times to CentOs version 5 and 4 
without problems.


This time with fresh CentOS v5.2 everything seems to work fine except 
qmail-admin:

Web browser:
Internal Server Error
The server encountered an internal error or misconfiguration and was 
unable to complete your request.

...


Here is the httpd error_log

[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] *** glibc 
detected *** /usr/share/qmailadmin/index.cgi: malloc(): memory 
corruption: 0x09ae1408 ***
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] === 
Backtrace: =
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
/lib/libc.so.6[0xaae1bc]
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
/lib/libc.so.6(__libc_malloc+0x7e)[0xaaf39e]
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
/lib/libc.so.6[0xa9d1af]
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
/lib/libc.so.6(fopen+0x2c)[0xa9d27c]
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
/usr/share/qmailadmin/index.cgi[0x80547e9]
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
/usr/share/qmailadmin/index.cgi[0x804a610]
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
/usr/share/qmailadmin/index.cgi[0x804a748]
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
/lib/libc.so.6(__libc_start_main+0xdc)[0xa5adec]
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
/usr/share/qmailadmin/index.cgi[0x8049da1]
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] === 
Memory map: 
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
00355000-0036b000 r-xp  fd:00 656905 /lib/libselinux.so.1
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
0036b000-0036d000 rwxp 00015000 fd:00 656905 /lib/libselinux.so.1
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
0061c000-0061d000 r-xp 0061c000 00:00 0  [vdso]
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
00792000-007cd000 r-xp  fd:00 656904 /lib/libsepol.so.1
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
007cd000-007ce000 rwxp 0003a000 fd:00 656904 /lib/libsepol.so.1
[Tue Oct 14 10:54:50 2008] [error] [client 192.168.15.199] 
007ce000-007d8000 rwxp 007ce000 00:00 0

007e-007f3000 r-xp  fd:00 656862 /lib/libnsl-2.5.so

etc...

[EMAIL PROTECTED] httpd]# qmailctl stat
authlib: up (pid 2718) 583479 seconds
clamd: up (pid 2711) 583479 seconds
imap4: up (pid 2705) 583479 seconds
imap4-ssl: up (pid 2708) 583479 seconds
pop3: up (pid 2715) 583479 seconds
pop3-ssl: up (pid 2701) 583479 seconds
send: up (pid 2712) 583479 seconds
smtp: up (pid 2720) 583479 seconds
spamd: up (pid 2703) 583479 seconds
submission: up (pid 2707) 583479 seconds
authlib/log: up (pid 2719) 583479 seconds
clamd/log: up (pid 2713) 583479 seconds
imap4/log: up (pid 2706) 583479 seconds
imap4-ssl/log: up (pid 2714) 583479 seconds
pop3/log: up (pid 2716) 583479 seconds
pop3-ssl/log: up (pid 2702) 583479 seconds
send/log: up (pid 2710) 583479 seconds
smtp/log: up (pid 2717) 583479 seconds
spamd/log: up (pid 2704) 583479 seconds
submission/log: up (pid 2709) 583479 seconds

Anyone know how to fix this?
--



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[qmailtoaster] Qmailtoaster and Mysql

2008-10-16 Thread senthil vel
Hi list,
Yesterday i tried to install roundcube webmail. I got few doubts
after completing the installation. In mysql, there is one data base
'vpopmail'. Its created and managed by qmail admin and admin-toaster.
It is having tables like,

dir_control
lastauth
test_com
valias
alias

test.com is the domain i created for testing. Inside that there are
the fields which we see the admin-toaster page 'show users'

While installing roundcube, i created a new database called round
cube. Inside that there are several different tables. So please
someone tell me the following assumptions are correct.


1. Qmailadmin, admin-toaster and {(may be) squirrel mail} are using
the database vpopmail to mailtain the domains and users and passwords.

2. Roundcube is using its own database maintaining the details of
users,contacts and messages. For authentication, i should depent
depend vpopmail?

If the entire thing is wrong,Please some one clearly clarify me the
purpose and role of the databases 'vpopmail' and (if possible)
'Roundcube'

Thanks and Regards,
S.Senthilvel,

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Qmailtoaster and Mysql

2008-10-16 Thread Jake Vickers

senthil vel wrote:

Hi list,
Yesterday i tried to install roundcube webmail. I got few doubts
after completing the installation. In mysql, there is one data base
'vpopmail'. Its created and managed by qmail admin and admin-toaster.
It is having tables like,

dir_control
lastauth
test_com
valias
alias

test.com is the domain i created for testing. Inside that there are
the fields which we see the admin-toaster page 'show users'

While installing roundcube, i created a new database called round
cube. Inside that there are several different tables. So please
someone tell me the following assumptions are correct.


1. Qmailadmin, admin-toaster and {(may be) squirrel mail} are using
the database vpopmail to mailtain the domains and users and passwords.

2. Roundcube is using its own database maintaining the details of
users,contacts and messages. For authentication, i should depent
depend vpopmail?

If the entire thing is wrong,Please some one clearly clarify me the
purpose and role of the databases 'vpopmail' and (if possible)
'Roundcube'
  


The vpopmail database is where Qmail and the support applications get 
the user/domain info.  Squirrelmail actually establishes an IMAP 
connection to the Qmail server on 127.0.0.1 to 
authenticate/read/retrieve mail. Vqadmin uses the vpopmail database as well.
Roundcube uses it's own database. It will authenticate to the Qmail 
system using IMAP as well, so as an example, I could setup Roundcube on 
my server here, but have it use your IMAP server, thus allowing you to 
spit up webmail clients and the actual mail system.



-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Qmailtoaster and Mysql

2008-10-16 Thread Eric Shubert

senthil vel wrote:

Hi list,
Yesterday i tried to install roundcube webmail. I got few doubts
after completing the installation. In mysql, there is one data base
'vpopmail'. Its created and managed by qmail admin and admin-toaster.
It is having tables like,

dir_control
lastauth
test_com
valias
alias

test.com is the domain i created for testing. Inside that there are
the fields which we see the admin-toaster page 'show users'

While installing roundcube, i created a new database called round
cube. Inside that there are several different tables. So please
someone tell me the following assumptions are correct.


1. Qmailadmin, admin-toaster and {(may be) squirrel mail} are using
the database vpopmail to mailtain the domains and users and passwords.

2. Roundcube is using its own database maintaining the details of
users,contacts and messages. For authentication, i should depent
depend vpopmail?

If the entire thing is wrong,Please some one clearly clarify me the
purpose and role of the databases 'vpopmail' and (if possible)
'Roundcube'

Thanks and Regards,
S.Senthilvel,



That's pretty much right TTBOMK. I'm no expert with RC, but I'm pretty 
sure it doesn't store users or messages. Probably just contacts (I'd 
have to look to verify this). Users are in the vpopmail database, and 
messages are in the /home/vpopmail/domains/ directories. I believe that 
RC simply uses IMAP to access messages, as SquirrelMail does.


--
-Eric 'shubes'


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Qmailtoaster and Mysql

2008-10-16 Thread senthil vel
Now its clear...Technology (powerful scripts) helps admins to setup
the qmailtoaster without having a wide knowledge on mysql , databases
and there functions. (I am having close touch with QMT nearly an
year). Thanks for the people who are helping in understanding the
infra structure too.

Thanks and Regards,
S.Senthilvel,




On Fri, Oct 17, 2008 at 12:31 AM, Eric Shubert [EMAIL PROTECTED] wrote:
 senthil vel wrote:

 Hi list,
Yesterday i tried to install roundcube webmail. I got few doubts
 after completing the installation. In mysql, there is one data base
 'vpopmail'. Its created and managed by qmail admin and admin-toaster.
 It is having tables like,

 dir_control
 lastauth
 test_com
 valias
 alias

 test.com is the domain i created for testing. Inside that there are
 the fields which we see the admin-toaster page 'show users'

 While installing roundcube, i created a new database called round
 cube. Inside that there are several different tables. So please
 someone tell me the following assumptions are correct.


 1. Qmailadmin, admin-toaster and {(may be) squirrel mail} are using
 the database vpopmail to mailtain the domains and users and passwords.

 2. Roundcube is using its own database maintaining the details of
 users,contacts and messages. For authentication, i should depent
 depend vpopmail?

 If the entire thing is wrong,Please some one clearly clarify me the
 purpose and role of the databases 'vpopmail' and (if possible)
 'Roundcube'

 Thanks and Regards,
 S.Senthilvel,


 That's pretty much right TTBOMK. I'm no expert with RC, but I'm pretty sure
 it doesn't store users or messages. Probably just contacts (I'd have to look
 to verify this). Users are in the vpopmail database, and messages are in the
 /home/vpopmail/domains/ directories. I believe that RC simply uses IMAP to
 access messages, as SquirrelMail does.

 --
 -Eric 'shubes'


 -
QmailToaster hosted by: VR Hosted http://www.vr.org
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Qmailtoaster and Mysql

2008-10-16 Thread Noel Rivera
Hello List, this is My first post and I have a question.

Anybody speak Spanish in this list?

Thanks 

Saludos.


-Original Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED] 
Sent: Jueves, 16 de Octubre de 2008 13:12
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Qmailtoaster and Mysql

senthil vel wrote:
 Hi list,
 Yesterday i tried to install roundcube webmail. I got few doubts
 after completing the installation. In mysql, there is one data base
 'vpopmail'. Its created and managed by qmail admin and admin-toaster.
 It is having tables like,

 dir_control
 lastauth
 test_com
 valias
 alias

 test.com is the domain i created for testing. Inside that there are
 the fields which we see the admin-toaster page 'show users'

 While installing roundcube, i created a new database called round
 cube. Inside that there are several different tables. So please
 someone tell me the following assumptions are correct.


 1. Qmailadmin, admin-toaster and {(may be) squirrel mail} are using
 the database vpopmail to mailtain the domains and users and passwords.

 2. Roundcube is using its own database maintaining the details of
 users,contacts and messages. For authentication, i should depent
 depend vpopmail?

 If the entire thing is wrong,Please some one clearly clarify me the
 purpose and role of the databases 'vpopmail' and (if possible)
 'Roundcube'
   

The vpopmail database is where Qmail and the support applications get 
the user/domain info.  Squirrelmail actually establishes an IMAP 
connection to the Qmail server on 127.0.0.1 to 
authenticate/read/retrieve mail. Vqadmin uses the vpopmail database as well.
Roundcube uses it's own database. It will authenticate to the Qmail 
system using IMAP as well, so as an example, I could setup Roundcube on 
my server here, but have it use your IMAP server, thus allowing you to 
spit up webmail clients and the actual mail system.


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Qmailtoaster and Mysql

2008-10-16 Thread Jake Vickers

Noel Rivera wrote:

Hello List, this is My first post and I have a question.

Anybody speak Spanish in this list?

  


There are a couple on here who speak Spanish.  The rest of us usually 
politely ignore those messages, so you limit your answer/knowledge base.


-
QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [qmailtoaster] Qmailtoaster and Mysql

2008-10-16 Thread Noel Rivera
Ok jake thanks, I try asking for support in English


I have mandriva 2009.0 and the question is, the toaster 103 works with this
linux operating system or is there a toaster version for Mandriva 2009?



-Original Message-
From: Jake Vickers [mailto:[EMAIL PROTECTED] 
Sent: Jueves, 16 de Octubre de 2008 14:05
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Qmailtoaster and Mysql

Noel Rivera wrote:
 Hello List, this is My first post and I have a question.

 Anybody speak Spanish in this list?

   

There are a couple on here who speak Spanish.  The rest of us usually 
politely ignore those messages, so you limit your answer/knowledge base.

-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [qmailtoaster] Qmailtoaster and Mysql

2008-10-16 Thread Lucian Cristian
It can be made to work is is not working as is now, as I remember there
was someone that made Mandriva patches

Regards
Lucian

Noel Rivera wrote:
 Ok jake thanks, I try asking for support in English


 I have mandriva 2009.0 and the question is, the toaster 103 works with this
 linux operating system or is there a toaster version for Mandriva 2009?



 -Original Message-
 From: Jake Vickers [mailto:[EMAIL PROTECTED] 
 Sent: Jueves, 16 de Octubre de 2008 14:05
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] Qmailtoaster and Mysql

 Noel Rivera wrote:
   
 Hello List, this is My first post and I have a question.

 Anybody speak Spanish in this list?

   
 

 There are a couple on here who speak Spanish.  The rest of us usually 
 politely ignore those messages, so you limit your answer/knowledge base.

 -
  QmailToaster hosted by: VR Hosted http://www.vr.org
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
  QmailToaster hosted by: VR Hosted http://www.vr.org
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

   


-
 QmailToaster hosted by: VR Hosted http://www.vr.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]