[qmailadmin] unable to login
Hi all, After more than 10 years my qmail, vpopmail, and qmailadmin setup died catastrophicly. qmailadmin was the core part of administering everything. I now have a new install of that setup. Mail delivery works and I can retrieve email from the postmaster and user accounts. However, loggin into qmailadmin's postmaster account using postmaster my.domain password results in Invalid Login. I also tried postmaster@my.domain but that doesn't work either. I reinstalled both vpopmail and qmailadmin but that didn't fix the problem. Also tried both 1.2.15 and 1.2.16. I checked the mail archives and even poked around in qmailadmin.c but am pretty lost when it comes to c programming. The o/s is fedora 20. Any help with this will be greatly appreciated, especially tips on how to debug this situation (didn't have much luck trying various printf instructions in the source). Looking forward to hearing from you, Mike Wright !DSPAM:544402c726511227814814!
Re: [qmailadmin] unable to login
Hi, I now have a new install of that setup. Mail delivery works and I can retrieve email from the postmaster and user accounts. However, loggin into qmailadmin's postmaster account using postmaster my.domain password results in Invalid Login. I also tried postmaster@my.domain but that doesn't work either. Based on the info given my best guess would be that you do not have permissions set correctly on the qmailadmin executable. I use mpm-itk so I can configure apache to run the virtual host as vpopmail:vchkpw, maybe that helps... Any help with this will be greatly appreciated, especially tips on how to debug this situation (didn't have much luck trying various printf instructions in the source). Looking forward to hearing from you, Mike Wright !DSPAM:54440d0026517105823324!
Re: [qmailadmin] unable to login
Thanks for getting back to me, Derek. It's a .gz install. I'm using daemontools and checked all the qmail logs. I'm not getting any logs from pop3d. I'll have to look into that. On Sunday, October 19, 2014 12:09 PM, da...@nyi.net da...@nyi.net wrote: How did you install, from source or RPMs? IIRC when I last dealt with qmailadmin/vpopmail, qmailadmin had to be told about vpopmail with a flag. As for logging in, you should be able to log in as any user that vpopmail is aware of. Also, check your logs. Location depends on how you're running qmail (daemontools, etc). On 19.10.2014 14:28, francis drake wrote: Hi all, After more than 10 years my qmail, vpopmail, and qmailadmin setup died catastrophicly. qmailadmin was the core part of administering everything. I now have a new install of that setup. Mail delivery works and I can retrieve email from the postmaster and user accounts. However, loggin into qmailadmin's postmaster account using postmaster my.domain password results in Invalid Login. I also tried postmaster@my.domain but that doesn't work either. I reinstalled both vpopmail and qmailadmin but that didn't fix the problem. Also tried both 1.2.15 and 1.2.16. I checked the mail archives and even poked around in qmailadmin.c but am pretty lost when it comes to c programming. The o/s is fedora 20. Any help with this will be greatly appreciated, especially tips on how to debug this situation (didn't have much luck trying various printf instructions in the source). Looking forward to hearing from you, Mike Wright !DSPAM:5444121426519460012690!
Re: [qmailadmin] unable to login
If you have the compile directory from the old setup, I would look at 'config.log' for the configure script arguments. Maybe you can post your configure command for the current qmailadmin install. Vpopmail should also have its own logfile. It's usually very informative. Anything in /var/log/maillog ? On 10/19/2014 3:31 PM, francis drake wrote: Thanks for getting back to me, Derek. It's a .gz install. I'm using daemontools and checked all the qmail logs. I'm not getting any logs from pop3d. I'll have to look into that. On Sunday, October 19, 2014 12:09 PM, da...@nyi.net da...@nyi.net wrote: How did you install, from source or RPMs? IIRC when I last dealt with qmailadmin/vpopmail, qmailadmin had to be told about vpopmail with a flag. As for logging in, you should be able to log in as any user that vpopmail is aware of. Also, check your logs. Location depends on how you're running qmail (daemontools, etc). On 19.10.2014 14:28, francis drake wrote: Hi all, After more than 10 years my qmail, vpopmail, and qmailadmin setup died catastrophicly. qmailadmin was the core part of administering everything. I now have a new install of that setup. Mail delivery works and I can retrieve email from the postmaster and user accounts. However, loggin into qmailadmin's postmaster account using postmaster my.domain password results in Invalid Login. I also tried postmaster@my.domain but that doesn't work either. I reinstalled both vpopmail and qmailadmin but that didn't fix the problem. Also tried both 1.2.15 and 1.2.16. I checked the mail archives and even poked around in qmailadmin.c but am pretty lost when it comes to c programming. The o/s is fedora 20. Any help with this will be greatly appreciated, especially tips on how to debug this situation (didn't have much luck trying various printf instructions in the source). Looking forward to hearing from you, Mike Wright !DSPAM:544412b326512822510196!
Re: [qmailadmin] unable to login
On Sunday, October 19, 2014 12:12 PM, Bob Miller b...@computerisms.ca wrote: Hi, I now have a new install of that setup. Mail delivery works and I can retrieve email from the postmaster and user accounts. However, loggin into qmailadmin's postmaster account using postmaster my.domain password results in Invalid Login. I also tried postmaster@my.domain but that doesn't work either. Based on the info given my best guess would be that you do not have permissions set correctly on the qmailadmin executable. I use mpm-itk so I can configure apache to run the virtual host as vpopmail:vchkpw, maybe that helps... Hi Bob, qmailadmin's cgi perms are 89:89. Your idea that apache is not using the right perms sounds like the right direction. I don't remember having to setup suid stuff in apache before but that was a long time ago. I'll get into the apache manual. Checking the apache logs does show an error whenever I try logging in but the error seems screwy: Domain theorb.net was not found in the assign file !DSPAM:544412e926511777515667!
Re: [qmailadmin] unable to login
OK. Never thought to look in log/maillog. It's informative here: vpopmail user not found ... Bob suggested a permission problem with apache. I'll try setting up suid and getting back. I think we're on the right track. On Sunday, October 19, 2014 12:36 PM, Darek M. da...@nyi.net wrote: If you have the compile directory from the old setup, I would look at 'config.log' for the configure script arguments. Maybe you can post your configure command for the current qmailadmin install. Vpopmail should also have its own logfile. It's usually very informative. Anything in /var/log/maillog ? On 10/19/2014 3:31 PM, francis drake wrote: Thanks for getting back to me, Derek. It's a .gz install. I'm using daemontools and checked all the qmail logs. I'm not getting any logs from pop3d. I'll have to look into that. On Sunday, October 19, 2014 12:09 PM, da...@nyi.net da...@nyi.net wrote: How did you install, from source or RPMs? IIRC when I last dealt with qmailadmin/vpopmail, qmailadmin had to be told about vpopmail with a flag. As for logging in, you should be able to log in as any user that vpopmail is aware of. Also, check your logs. Location depends on how you're running qmail (daemontools, etc). On 19.10.2014 14:28, francis drake wrote: Hi all, After more than 10 years my qmail, vpopmail, and qmailadmin setup died catastrophicly. qmailadmin was the core part of administering everything. I now have a new install of that setup. Mail delivery works and I can retrieve email from the postmaster and user accounts. However, loggin into qmailadmin's postmaster account using postmaster my.domain password results in Invalid Login. I also tried postmaster@my.domain but that doesn't work either. I reinstalled both vpopmail and qmailadmin but that didn't fix the problem. Also tried both 1.2.15 and 1.2.16. I checked the mail archives and even poked around in qmailadmin.c but am pretty lost when it comes to c programming. The o/s is fedora 20. Any help with this will be greatly appreciated, especially tips on how to debug this situation (didn't have much luck trying various printf instructions in the source). Looking forward to hearing from you, Mike Wright !DSPAM:544413ef26512142328780!
Re: [qmailadmin] unable to login
You should always copy and paste the exact data. vpopmail user not found is different than vpopmail: user not found It would speed up getting a meaningful/helpful reply if you provided relevant (and accurate) info, like snippets from logs, your 'configure' arguments, etc. On 10/19/2014 3:41 PM, francis drake wrote: OK. Never thought to look in log/maillog. It's informative here: vpopmail user not found ... Bob suggested a permission problem with apache. I'll try setting up suid and getting back. I think we're on the right track. On Sunday, October 19, 2014 12:36 PM, Darek M. da...@nyi.net wrote: If you have the compile directory from the old setup, I would look at 'config.log' for the configure script arguments. Maybe you can post your configure command for the current qmailadmin install. Vpopmail should also have its own logfile. It's usually very informative. Anything in /var/log/maillog ? On 10/19/2014 3:31 PM, francis drake wrote: Thanks for getting back to me, Derek. It's a .gz install. I'm using daemontools and checked all the qmail logs. I'm not getting any logs from pop3d. I'll have to look into that. On Sunday, October 19, 2014 12:09 PM, da...@nyi.net da...@nyi.net wrote: How did you install, from source or RPMs? IIRC when I last dealt with qmailadmin/vpopmail, qmailadmin had to be told about vpopmail with a flag. As for logging in, you should be able to log in as any user that vpopmail is aware of. Also, check your logs. Location depends on how you're running qmail (daemontools, etc). On 19.10.2014 14:28, francis drake wrote: Hi all, After more than 10 years my qmail, vpopmail, and qmailadmin setup died catastrophicly. qmailadmin was the core part of administering everything. I now have a new install of that setup. Mail delivery works and I can retrieve email from the postmaster and user accounts. However, loggin into qmailadmin's postmaster account using postmaster my.domain password results in Invalid Login. I also tried postmaster@my.domain but that doesn't work either. I reinstalled both vpopmail and qmailadmin but that didn't fix the problem. Also tried both 1.2.15 and 1.2.16. I checked the mail archives and even poked around in qmailadmin.c but am pretty lost when it comes to c programming. The o/s is fedora 20. Any help with this will be greatly appreciated, especially tips on how to debug this situation (didn't have much luck trying various printf instructions in the source). Looking forward to hearing from you, Mike Wright !DSPAM:544417bb26514350843407!
Re: [qmailadmin] unable to login
Thanks for your help Bob. Messing with suexec made things much worse. A break from the desk and breakfast at 2 this afternoon cleared my head a bit. Turned out to be an selinux restriction. I forgot to ask Derek this. Do you know just what I need to do to get this to fly with selinux set in enforcing mode? !DSPAM:54442adb26511498718639!
Re: [qmailadmin] unable to login
I usually just set it to 'permissive'. I imagine you'll have to be making adjustments and allowing things as you discover more and more things not working. On 10/19/2014 5:19 PM, francis drake wrote: Thanks for your help Bob. Messing with suexec made things much worse. A break from the desk and breakfast at 2 this afternoon cleared my head a bit. Turned out to be an selinux restriction. I forgot to ask Derek this. Do you know just what I need to do to get this to fly with selinux set in enforcing mode? !DSPAM:544456dd26511922410443!
RE: [qmailadmin] unable to login
Where can I get 1.0.15 of qmailadmin because I download 1.0.6 from inter7.com and I'm having problems to loggin into qmailadmin interface.. -Original Message- From: Tom Collins [mailto:[EMAIL PROTECTED] Sent: Martes, 15 de Julio de 2003 05:56 p.m. To: [EMAIL PROTECTED] Subject: Re: [qmailadmin] unable to login On Tuesday, July 15, 2003, at 04:27 PM, Sasha wrote: I just compiled 1.0.23 of qmailadmin. installed using same options in configure as I used to build 1.0.15. I compiled, installed (as root). All attributes are correct (ie vpopmail:vchkpw) and start getting invalid login error message. I recompiled 1.0.15 - everything works fine. I have vpopmail 5.3.19. What should I do to fix this issue? I've seen some other reports like this, which makes me wonder whether we messed something up in one of the recent releases. Can you provide some more details? What options do you pass to configure? What is the exact error message (so I know what part of the code claims you're invalid)? Are you logging in as postmaster? Do you use MySQL with vpopmail? What are your configure options for vpopmail? Can you try vpopmail 5.3.20 http://www.inter7.com/develop.html? I'd like to try reproducing this on my server. If that's not possible, I can send you a custom build with debug messages so we can try to determine the cause of the problem. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
Re[2]: [qmailadmin] unable to login
Hello, Here is options I pass to configure: ./configure --enable-cgibindir=/home/user/domains/domain.com/mail/cgi-bin --enable-htmldir=/home/user/domains/domain.com/mail/ --with-htmllibdir=/home/user/domains/domain.com/mail/ Exact login is : Invalid Login I'm logging as postmaster and I'm not using Mysql. Configuration options for vpopmail are: ./configure --enable-roaming-users=y --enable-logging=v --enable-relay-clear-minutes=35 --enable-passwd=y --enable-auth-logging=y --enable-logging=y --enable-clear-passwd=y I will try 5.3.20, but don't think will able to switch to it within next week or two. Thanks Tuesday, July 15, 2003, 7:55:54 PM, you wrote: TC On Tuesday, July 15, 2003, at 04:27 PM, Sasha wrote: I just compiled 1.0.23 of qmailadmin. installed using same options in configure as I used to build 1.0.15. I compiled, installed (as root). All attributes are correct (ie vpopmail:vchkpw) and start getting invalid login error message. I recompiled 1.0.15 - everything works fine. I have vpopmail 5.3.19. What should I do to fix this issue? TC I've seen some other reports like this, which makes me wonder whether TC we messed something up in one of the recent releases. TC Can you provide some more details? What options do you pass to TC configure? What is the exact error message (so I know what part of the TC code claims you're invalid)? TC Are you logging in as postmaster? Do you use MySQL with vpopmail? TC What are your configure options for vpopmail? TC Can you try vpopmail 5.3.20 http://www.inter7.com/develop.html? TC I'd like to try reproducing this on my server. If that's not possible, TC I can send you a custom build with debug messages so we can try to TC determine the cause of the problem. TC -- TC Tom Collins TC [EMAIL PROTECTED] TC http://sniffter.com/ - info on the Sniffter hand-held Network Tester -- Sasha
[qmailadmin] unable to login
Hello, I just compiled 1.0.23 of qmailadmin. installed using same options in configure as I used to build 1.0.15. I compiled, installed (as root). All attributes are correct (ie vpopmail:vchkpw) and start getting invalid login error message. I recompiled 1.0.15 - everything works fine. I have vpopmail 5.3.19. What should I do to fix this issue? Thanks. -- Sasha
Re: [qmailadmin] unable to login
On Tuesday, July 15, 2003, at 04:27 PM, Sasha wrote: I just compiled 1.0.23 of qmailadmin. installed using same options in configure as I used to build 1.0.15. I compiled, installed (as root). All attributes are correct (ie vpopmail:vchkpw) and start getting invalid login error message. I recompiled 1.0.15 - everything works fine. I have vpopmail 5.3.19. What should I do to fix this issue? I've seen some other reports like this, which makes me wonder whether we messed something up in one of the recent releases. Can you provide some more details? What options do you pass to configure? What is the exact error message (so I know what part of the code claims you're invalid)? Are you logging in as postmaster? Do you use MySQL with vpopmail? What are your configure options for vpopmail? Can you try vpopmail 5.3.20 http://www.inter7.com/develop.html? I'd like to try reproducing this on my server. If that's not possible, I can send you a custom build with debug messages so we can try to determine the cause of the problem. -- Tom Collins [EMAIL PROTECTED] http://sniffter.com/ - info on the Sniffter hand-held Network Tester
qmailadmin unable to login
It's good to see that I'm not entirely alone in this one. I have been unable to login to my server via qmailadmin, from any machine, and from any browser I have available to me (netscape, lynx, and opera). 1.) Installation: summary qmail-1.03, qmailadmin-0.45, vpopmail-4.9.8-1 I have installed (pretty much default) qmail-1.03, vpopmail-4.9.8-1, vqadmin-1.6, ucspi-tcp-0.88, autorespond-1.0.0, daemontools-0.70, ezmlm-0.53. The only one of these with significant arguments to configure was vpopmail with a configure command of ./configure --enable-default-domain-name=B2Pi.com --enable-ip-alias-domains=y --enable-logging=e --enable-roaming-users=y qmail was setup basically according to Life with qmail. I am able to send and receive mail via qmail. I am able to create virtual domains via vpopmail. I am even able to use vqadmin to it's (apparent) full extent. Furthermore, I have telnet'd into the popserver as postmaster and as a regular use, and have sucessfully retrieved mail (well, OK, postmaster had no mail, but I would have gotten it if it had been there. 2.) Logs at 1:43, I attempted to login to qmailadmin from 192.168.1.1. The http access_log shows: 192.168.1.1 - - [24/May/2001:01:43:33 -0400] GET /cgi-bin/qmailadmin HTTP/1.0 200 5532 192.168.1.1 - - [24/May/2001:01:43:33 -0400] GET /images/qmailadmin/uppermiddle1.gif HTTP/1.0 200 2773 192.168.1.1 - - [24/May/2001:01:43:33 -0400] GET /images/qmailadmin/upperleft.gif HTTP/1.0 200 17413 192.168.1.1 - - [24/May/2001:01:43:33 -0400] GET /images/qmailadmin/upperright.gif HTTP/1.0 200 293 192.168.1.1 - - [24/May/2001:01:43:33 -0400] GET /images/qmailadmin/middleright1.gif HTTP/1.0 200 60 192.168.1.1 - - [24/May/2001:01:43:33 -0400] GET /images/qmailadmin/pixel.gif HTTP/1.0 200 49 192.168.1.1 - - [24/May/2001:01:43:33 -0400] GET /images/qmailadmin/uppermiddle1.gif HTTP/1.0 200 2773 192.168.1.1 - - [24/May/2001:01:43:33 -0400] GET /images/qmailadmin/upperright.gif HTTP/1.0 200 293 192.168.1.1 - - [24/May/2001:01:43:33 -0400] GET /images/qmailadmin/upperleft.gif HTTP/1.0 200 17413 192.168.1.1 - - [24/May/2001:01:43:33 -0400] GET /images/qmailadmin/middleleft1.gif HTTP/1.0 200 14854 192.168.1.1 - - [24/May/2001:01:43:34 -0400] GET /images/qmailadmin/lowerleft.gif HTTP/1.0 200 333 192.168.1.1 - - [24/May/2001:01:43:34 -0400] GET /images/qmailadmin/lowerright.gif HTTP/1.0 200 228 192.168.1.1 - - [24/May/2001:01:43:34 -0400] GET /images/qmailadmin/middleleft2.gif HTTP/1.0 200 74 192.168.1.1 - - [24/May/2001:01:43:34 -0400] GET /images/qmailadmin/middlelogin.gif HTTP/1.0 200 1051 192.168.1.1 - - [24/May/2001:01:43:34 -0400] GET /images/qmailadmin/lowermiddle.gif HTTP/1.0 200 62 192.168.1.1 - - [24/May/2001:01:43:34 -0400] GET /images/qmailadmin/lowermiddle.gif HTTP/1.0 200 62 192.168.1.1 - - [24/May/2001:01:43:34 -0400] GET /images/qmailadmin/middleleft1.gif HTTP/1.0 200 14854 192.168.1.1 - - [24/May/2001:01:43:36 -0400] GET /images/qmailadmin/pixel.gif HTTP/1.0 200 49 192.168.1.1 - - [24/May/2001:01:43:46 -0400] POST /cgi-bin/qmailadmin HTTP/1.0 200 That last one really does bother me. Unless I'm mistaken, it shows a POST executing successfully (return code 200). Nevertheless, I get an Invalid Login message :( There does not appear to be anything relevant in the qmail logs (timestamps of last entry are over 90 minutes previous to the above) There is also nothing significant in the message log. Again, the only things extant are from over 30 minutes previous. Three things come to mind: 1.) Is it possible that this just doesn't work on a linux-sparc system (Answer: Probably not. vpopmail doesn't seem to have any problem)? 2.) how does one debug vchkpw to find out just what is going on? 3.) Why am I not getting a better log telling me why the permissions are bad and on what files? BTW, what I've tried so far is removing almost my entire qmail installation, and starting over, as well as searching docs and mail lists. Anyone have any ideas?