[vchkpw] qmailadmin: invalid login, vqadmin: unable to determine user name
I am still at the same spot. I cannot figure out what's happening. http://mydomain.com/cgi-bin/qmailadmin gives me for postmaster and [EMAIL PROTECTED] always invalid login (same also for other user names) I can login via telnet, so the password I provide is correct. There is no error in the apache log files. # ls -l /srv/www/vhosts/mydomain.com/cgi-bin/ total 428 -rwsr-xr-x 1 root root64976 Aug 7 08:51 ezmlm-cgi -rwxr-xr-x 1 root root 117384 Aug 7 08:51 htsearch -rwxr-xr-x 1 root root24679 Aug 7 08:51 info2html -rw-r--r-- 1 root root 1780 Aug 7 08:51 info2html.conf -rwxr-xr-x 1 root root 4054 Aug 7 08:51 infocat -rwsr-sr-x 1 vpopmail vchkpw 144712 Sep 4 15:37 qmailadmin -rwxr-xr-x 1 root root54512 Aug 7 08:51 qtest -rwxr-xr-x 1 root root 9496 Aug 7 08:51 sqwebmail drwxr-xr-x 3 vpopmail vchkpw200 Sep 4 15:33 vqadmin ls -l /srv/www/vhosts/mydomain.com/cgi-bin/vqadmin total 113 -rw-r--r-- 1 nobody root 100 Sep 4 15:33 .htaccess drwxr-xr-x 2 vpopmail vchkpw 1192 Sep 4 15:33 html lrwxrwxrwx 1 root root 11 Sep 4 15:33 index.cgi - vqadmin.cgi -rw-r--r-- 1 vpopmail vchkpw909 Sep 4 15:33 vqadmin.acl -rwsr-sr-x 1 root root 103688 Sep 4 15:33 vqadmin.cgi I am using: qmailadmin 1.2.9 vpopmail 5.4.13 SuSE 10.1 AMD Athlon (64) httpd.conf includes: Directory /srv/www/vhosts/craigadmin.elmit.biz/cgi-bin/vqadmin # original version #deny from all #Options ExecCGI FollowSymLinks #AllowOverride AuthConfig #Order deny,allow Options FollowSymLinks ExecCGI order deny,allow deny from none allow from all Limit GET POST order deny,allow deny from none allow from all /Limit /Directory and /etc/apache2/vhosts.d/vhost.conf VirtualHost *:80 ServerAdmin [EMAIL PROTECTED] VirtualDocumentRoot /srv/www/vhosts/%0/htdocs ErrorLog /var/log/apache2/virtual_error_log CustomLog /var/log/virtual_access_log vhost_combined HostnameLookups Off UseCanonicalName Off ServerSignature On VirtualScriptAlias /srv/www/vhosts/%0/cgi-bin/ Directory /srv/www/vhosts/%0/cgi-bin AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all /Directory IfModule mod_userdir.c UserDir public_html Include /etc/apache2/mod_userdir.conf /IfModule Directory / Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all /Directory /VirtualHost Can anybody spot the problem? bye Ronald
Re: [vchkpw] vQadmin was unable to determine your username
Remo Mattei wrote: try those settings for your cgi Directory /yourpatch/cgi-bin Options FollowSymLinks ExecCGI order deny,allow deny from none allow from all Limit GET POST order deny,allow deny from none allow from all /Limit /Directory Did not change anything (yes, I restarted apache!) # grep -v ^# vqadmin.acl default - ... tech VI tech1user admin VIMUDCAX xx4admin senior * admin VIMUDCAX xx4admin What else could be still possible? bye Ronald Have a good day. Remo Ronald Wiplinger wrote: Remo Mattei wrote: If you would not cut the original post in your reply, than you would still see it ;-) For your convenience I have copied the original part again here: I get following picture displayed: *Authentication Failed Username unknown* **vQadmin was unable to determine your username, which means your webserver is improperly configured to run with this CGI. For security reasons, this script will not run without Apache htaccess lists. vqadmin http://www.inter7.com/vqadmin/ 2.3.6 vpopmail http://www.inter7.com/vpopmail/ 5.4.13** httpd.conf includes: Directory /srv/www/vhosts/xx.xx.xx/cgi-bin/vqadmin deny from all Options ExecCGI FollowSymLinks AllowOverride AuthConfig Order deny,allow /Directory # cat /srv/www/vhosts/xx.xx.xx/cgi-bin/vqadmin/.htaccess AuthType Basic AuthUserFile /srv/www/vqadmin.passwd AuthName vQadmin require valid-user satisfy any # cat /srv/www/vqadmin.passwd xx4admin:B.f/I7z. What do I miss? bye Ronald
Re: [vchkpw] vQadmin was unable to determine your username
Austin Jorden wrote: I think the htpasswd file has to be .htpasswd and not just .passwd I cannot see that!!! I have a /srv/www/vhosts/xx.xx.xx/cgi-bin/vqadmin/.htaccess for the web site and AuthUserFile /srv/www/vqadmin.passwdwhere the passwords are stored. I made another test: I copied the .htaccess to another website into the htdocs directory and added the lines into httpd.conf for this directory. And it works there! Either vpopmail or apache does not like to handle the .htaccess file in the cgi-directory. Any thoughts? bye Ronald Change both of those and see what happens :) Thanks, Austin jorden On Thu, August 31, 2006 8:51 pm, Ronald Wiplinger wrote: I get following picture displayed: *Authentication Failed Username unknown* **vQadmin was unable to determine your username, which means your webserver is improperly configured to run with this CGI. For security reasons, this script will not run without Apache htaccess lists. vqadmin http://www.inter7.com/vqadmin/ 2.3.6 vpopmail http://www.inter7.com/vpopmail/ 5.4.13** httpd.conf includes: Directory /srv/www/vhosts/xx.xx.xx/cgi-bin/vqadmin deny from all Options ExecCGI FollowSymLinks AllowOverride AuthConfig Order deny,allow /Directory # cat /srv/www/vhosts/xx.xx.xx/cgi-bin/vqadmin/.htaccess AuthType Basic AuthUserFile /srv/www/vqadmin.passwd AuthName vQadmin require valid-user satisfy any # cat /srv/www/vqadmin.passwd xx4admin:B.f/I7z. What do I miss? bye Ronald
Re: [vchkpw] vQadmin was unable to determine your username
Remo Mattei wrote: what options do you have in your apache settings for the cgi directory? If you would not cut the original post in your reply, than you would still see it ;-) How can we help if we do not see that? For your convenience I have copied the original part again here: I get following picture displayed: *Authentication Failed Username unknown* **vQadmin was unable to determine your username, which means your webserver is improperly configured to run with this CGI. For security reasons, this script will not run without Apache htaccess lists. vqadmin http://www.inter7.com/vqadmin/ 2.3.6 vpopmail http://www.inter7.com/vpopmail/ 5.4.13** httpd.conf includes: Directory /srv/www/vhosts/xx.xx.xx/cgi-bin/vqadmin deny from all Options ExecCGI FollowSymLinks AllowOverride AuthConfig Order deny,allow /Directory # cat /srv/www/vhosts/xx.xx.xx/cgi-bin/vqadmin/.htaccess AuthType Basic AuthUserFile /srv/www/vqadmin.passwd AuthName vQadmin require valid-user satisfy any # cat /srv/www/vqadmin.passwd xx4admin:B.f/I7z. What do I miss? bye Ronald Remo Ronald Wiplinger wrote: Austin Jorden wrote: I cannot see that!!! I have a /srv/www/vhosts/xx.xx.xx/cgi-bin/vqadmin/.htaccess for the web site and AuthUserFile /srv/www/vqadmin.passwdwhere the passwords are stored. I made another test: I copied the .htaccess to another website into the htdocs directory and added the lines into httpd.conf for this directory. And it works there! Either vpopmail or apache does not like to handle the .htaccess file in the cgi-directory. Any thoughts? bye Ronald
[vchkpw] vQadmin was unable to determine your username
I get following picture displayed: *Authentication Failed Username unknown* **vQadmin was unable to determine your username, which means your webserver is improperly configured to run with this CGI. For security reasons, this script will not run without Apache htaccess lists. vqadmin http://www.inter7.com/vqadmin/ 2.3.6 vpopmail http://www.inter7.com/vpopmail/ 5.4.13** httpd.conf includes: Directory /srv/www/vhosts/xx.xx.xx/cgi-bin/vqadmin deny from all Options ExecCGI FollowSymLinks AllowOverride AuthConfig Order deny,allow /Directory # cat /srv/www/vhosts/xx.xx.xx/cgi-bin/vqadmin/.htaccess AuthType Basic AuthUserFile /srv/www/vqadmin.passwd AuthName vQadmin require valid-user satisfy any # cat /srv/www/vqadmin.passwd xx4admin:B.f/I7z. What do I miss? bye Ronald
Re: [vchkpw] Can't do setuid - solved = Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Stefan Mühlemann wrote: Hi, on my machine this message occured because suidperl had the wrong rights. Just do a chmod 4755 on /usr/bin/suidperl. Stefan, thanks, it helped to get rid of this error, however /var/log/qmail/send/current |tai64nlocal shows for a test message: 2005-03-10 13:00:02.408870500 new msg 250946 2005-03-10 13:00:02.408876500 info msg 250946: bytes 1586 from [EMAIL PROTECTED] qp 13909 uid 508 2005-03-10 13:00:02.527193500 starting delivery 17269: msg 250946 to local [EMAIL PROTECTED] 2005-03-10 13:00:02.527196500 status: local 1/15 remote 0/20 2005-03-10 13:00:02.578995500 delivery 17269: success: did_1+0+0/ 2005-03-10 13:00:02.579000500 status: local 0/15 remote 0/20 2005-03-10 13:00:02.579001500 end msg 250946 2005-03-10 13:00:04.425836500 new msg 250918 2005-03-10 13:00:04.425841500 info msg 250918: bytes 705 from [EMAIL PROTECTED] qp 13955 uid 0 2005-03-10 13:00:04.503679500 starting delivery 17270: msg 250918 to local [EMAIL PROTECTED] 2005-03-10 13:00:04.503685500 status: local 1/15 remote 0/20 2005-03-10 13:00:04.506624500 delivery 17270: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:04.506629500 status: local 0/15 remote 0/20 2005-03-10 13:00:07.595104500 bounce msg 250918 qp 14019 2005-03-10 13:00:07.595109500 end msg 250918 2005-03-10 13:00:07.595602500 new msg 250850 2005-03-10 13:00:07.595604500 info msg 250850: bytes 1290 from qp 14021 uid 507 2005-03-10 13:00:07.672906500 starting delivery 17271: msg 250850 to local [EMAIL PROTECTED] 2005-03-10 13:00:07.672968500 status: local 1/15 remote 0/20 2005-03-10 13:00:07.673444500 new msg 250903 2005-03-10 13:00:07.673530500 info msg 250903: bytes 5549 from [EMAIL PROTECTED] qp 14013 uid 0 2005-03-10 13:00:07.736387500 delivery 17271: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:07.736393500 status: local 0/15 remote 0/20 2005-03-10 13:00:07.736394500 starting delivery 17272: msg 250903 to local [EMAIL PROTECTED] 2005-03-10 13:00:07.736396500 status: local 1/15 remote 0/20 2005-03-10 13:00:10.856376500 bounce msg 250850 qp 14024 2005-03-10 13:00:10.856382500 end msg 250850 2005-03-10 13:00:10.857956500 new msg 250849 2005-03-10 13:00:10.857961500 info msg 250849: bytes 1780 from [EMAIL PROTECTED] qp 14026 uid 507 2005-03-10 13:00:10.937090500 starting delivery 17273: msg 250849 to local [EMAIL PROTECTED] 2005-03-10 13:00:10.937096500 status: local 2/15 remote 0/20 2005-03-10 13:00:10.937097500 delivery 17272: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:10.937099500 status: local 1/15 remote 0/20 2005-03-10 13:00:14.032390500 bounce msg 250903 qp 14029 2005-03-10 13:00:14.032396500 end msg 250903 2005-03-10 13:00:14.033228500 delivery 17273: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:14.033232500 status: local 0/15 remote 0/20 2005-03-10 13:00:14.033233500 triple bounce: discarding bounce/250849 2005-03-10 13:00:14.033234500 end msg 250849 2005-03-10 13:00:14.033523500 new msg 250944 2005-03-10 13:00:14.033525500 info msg 250944: bytes 6134 from qp 14033 uid 507 2005-03-10 13:00:14.092006500 starting delivery 17274: msg 250944 to local [EMAIL PROTECTED] 2005-03-10 13:00:14.092010500 status: local 1/15 remote 0/20 2005-03-10 13:00:14.097660500 delivery 17274: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:14.097666500 status: local 0/15 remote 0/20 2005-03-10 13:00:17.192809500 bounce msg 250944 qp 14036 2005-03-10 13:00:17.192814500 end msg 250944 2005-03-10 13:00:17.193292500 new msg 250849 2005-03-10 13:00:17.193294500 info msg 250849: bytes 6624 from [EMAIL PROTECTED] qp 14038 uid 507 2005-03-10 13:00:17.260665500 starting delivery 17275: msg 250849 to local [EMAIL PROTECTED] 2005-03-10 13:00:17.260670500 status: local 1/15 remote 0/20 2005-03-10 13:00:17.263694500 delivery 17275: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:17.263700500 status: local 0/15 remote 0/20 2005-03-10 13:00:17.263701500 triple bounce: discarding bounce/250849 2005-03-10 13:00:17.263703500 end msg 250849 Ronald Wiplinger schrieb: (Sorry, I could not figure it out by myself) It is my first time I try to install qmail and vpopmail on one system. I cannot send an email to this domain. How can I fix it? I used Franks setup script, ... VqAdmin web pages shows: list of domains shows xxx.com.tw show users for this domain tells me: ronald passwd No No 20971520SNo Tue Mar 1 17:11:10 2005 detail shows: Email address: [EMAIL PROTECTED] Sending an email to [EMAIL PROTECTED] will be returned with: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) 550 [EMAIL PROTECTED]... User unknown tail /var/log/qmail/smtpd/current |tai64nlocal shows: 2005-03-10 11:36:53.029059500 tcpserver: status: 1/100 2005-03-10 11:36:53.029064500 tcpserver: pid 12109 from 61.xx.xx.18 2005-03-10 11:36:53.029065500 tcpserver: ok 12109 0:60.248.111.172:25 :61.xx.xx
[vchkpw] Can't do setuid
(Sorry, I could not figure it out by myself) It is my first time I try to install qmail and vpopmail on one system. I cannot send an email to this domain. How can I fix it? I used Franks setup script, ... VqAdmin web pages shows: list of domains shows xxx.com.tw show users for this domain tells me: ronald passwd No No 20971520SNo Tue Mar 1 17:11:10 2005 detail shows: Email address: [EMAIL PROTECTED] Sending an email to [EMAIL PROTECTED] will be returned with: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) 550 [EMAIL PROTECTED]... User unknown tail /var/log/qmail/smtpd/current |tai64nlocal shows: 2005-03-10 11:36:53.029059500 tcpserver: status: 1/100 2005-03-10 11:36:53.029064500 tcpserver: pid 12109 from 61.xx.xx.18 2005-03-10 11:36:53.029065500 tcpserver: ok 12109 0:60.248.111.172:25 :61.xx.xx.18::41834 2005-03-10 11:36:58.111483500 Can't do setuid 2005-03-10 11:36:58.353414500 tcpserver: end 12109 status 0 2005-03-10 11:36:58.353419500 tcpserver: status: 0/100 www:/var/qmail/control # cat rcpthosts 192.168.0. xxx.com.tw mail.xxx.com.tw www:/var/qmail/control # cat me mail.xxx.com.tw www:/var/qmail/control # cat locals xxx.com.tw mail.xxx.com.tw www:/var/qmail/control # cat virtualdomains xxx.com.tw:xxx.com.tw bye Ronald
Re: [vchkpw] Can't do setuid - solved = Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
Stefan Mühlemann wrote: Hi, on my machine this message occured because suidperl had the wrong rights. Just do a chmod 4755 on /usr/bin/suidperl. Stefan, thanks, it helped to get rid of this error, however /var/log/qmail/send/current |tai64nlocal shows for a test message: 2005-03-10 13:00:02.408870500 new msg 250946 2005-03-10 13:00:02.408876500 info msg 250946: bytes 1586 from [EMAIL PROTECTED] qp 13909 uid 508 2005-03-10 13:00:02.527193500 starting delivery 17269: msg 250946 to local [EMAIL PROTECTED] 2005-03-10 13:00:02.527196500 status: local 1/15 remote 0/20 2005-03-10 13:00:02.578995500 delivery 17269: success: did_1+0+0/ 2005-03-10 13:00:02.579000500 status: local 0/15 remote 0/20 2005-03-10 13:00:02.579001500 end msg 250946 2005-03-10 13:00:04.425836500 new msg 250918 2005-03-10 13:00:04.425841500 info msg 250918: bytes 705 from [EMAIL PROTECTED] qp 13955 uid 0 2005-03-10 13:00:04.503679500 starting delivery 17270: msg 250918 to local [EMAIL PROTECTED] 2005-03-10 13:00:04.503685500 status: local 1/15 remote 0/20 2005-03-10 13:00:04.506624500 delivery 17270: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:04.506629500 status: local 0/15 remote 0/20 2005-03-10 13:00:07.595104500 bounce msg 250918 qp 14019 2005-03-10 13:00:07.595109500 end msg 250918 2005-03-10 13:00:07.595602500 new msg 250850 2005-03-10 13:00:07.595604500 info msg 250850: bytes 1290 from qp 14021 uid 507 2005-03-10 13:00:07.672906500 starting delivery 17271: msg 250850 to local [EMAIL PROTECTED] 2005-03-10 13:00:07.672968500 status: local 1/15 remote 0/20 2005-03-10 13:00:07.673444500 new msg 250903 2005-03-10 13:00:07.673530500 info msg 250903: bytes 5549 from [EMAIL PROTECTED] qp 14013 uid 0 2005-03-10 13:00:07.736387500 delivery 17271: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:07.736393500 status: local 0/15 remote 0/20 2005-03-10 13:00:07.736394500 starting delivery 17272: msg 250903 to local [EMAIL PROTECTED] 2005-03-10 13:00:07.736396500 status: local 1/15 remote 0/20 2005-03-10 13:00:10.856376500 bounce msg 250850 qp 14024 2005-03-10 13:00:10.856382500 end msg 250850 2005-03-10 13:00:10.857956500 new msg 250849 2005-03-10 13:00:10.857961500 info msg 250849: bytes 1780 from [EMAIL PROTECTED] qp 14026 uid 507 2005-03-10 13:00:10.937090500 starting delivery 17273: msg 250849 to local [EMAIL PROTECTED] 2005-03-10 13:00:10.937096500 status: local 2/15 remote 0/20 2005-03-10 13:00:10.937097500 delivery 17272: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:10.937099500 status: local 1/15 remote 0/20 2005-03-10 13:00:14.032390500 bounce msg 250903 qp 14029 2005-03-10 13:00:14.032396500 end msg 250903 2005-03-10 13:00:14.033228500 delivery 17273: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:14.033232500 status: local 0/15 remote 0/20 2005-03-10 13:00:14.033233500 triple bounce: discarding bounce/250849 2005-03-10 13:00:14.033234500 end msg 250849 2005-03-10 13:00:14.033523500 new msg 250944 2005-03-10 13:00:14.033525500 info msg 250944: bytes 6134 from qp 14033 uid 507 2005-03-10 13:00:14.092006500 starting delivery 17274: msg 250944 to local [EMAIL PROTECTED] 2005-03-10 13:00:14.092010500 status: local 1/15 remote 0/20 2005-03-10 13:00:14.097660500 delivery 17274: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:14.097666500 status: local 0/15 remote 0/20 2005-03-10 13:00:17.192809500 bounce msg 250944 qp 14036 2005-03-10 13:00:17.192814500 end msg 250944 2005-03-10 13:00:17.193292500 new msg 250849 2005-03-10 13:00:17.193294500 info msg 250849: bytes 6624 from [EMAIL PROTECTED] qp 14038 uid 507 2005-03-10 13:00:17.260665500 starting delivery 17275: msg 250849 to local [EMAIL PROTECTED] 2005-03-10 13:00:17.260670500 status: local 1/15 remote 0/20 2005-03-10 13:00:17.263694500 delivery 17275: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ 2005-03-10 13:00:17.263700500 status: local 0/15 remote 0/20 2005-03-10 13:00:17.263701500 triple bounce: discarding bounce/250849 2005-03-10 13:00:17.263703500 end msg 250849 Ronald Wiplinger schrieb: (Sorry, I could not figure it out by myself) It is my first time I try to install qmail and vpopmail on one system. I cannot send an email to this domain. How can I fix it? I used Franks setup script, ... VqAdmin web pages shows: list of domains shows xxx.com.tw show users for this domain tells me: ronald passwd No No 20971520SNo Tue Mar 1 17:11:10 2005 detail shows: Email address: [EMAIL PROTECTED] Sending an email to [EMAIL PROTECTED] will be returned with: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) 550 [EMAIL PROTECTED]... User unknown tail /var/log/qmail/smtpd/current |tai64nlocal shows: 2005-03-10 11:36:53.029059500 tcpserver: status: 1/100 2005-03-10 11:36:53.029064500 tcpserver: pid 12109 from 61.xx.xx.18 2005-03-10 11:36:53.029065500 tcpserver: ok 12109 0
authlib missing
I just made a try to install vpopmail-5.0.tar.gz, but failed first it needed include directory for auth.h ( I found it in /usr/include/cyrus) now it ask for the lib dir, I cannot find it. I am using SuSE 7.2 Any hint would be highly appreciated ;-) bye Ronald Ronald Wiplinger (ÃQ¤¯¯Ç), CEO, ELMIT - The Solution Provider Tel. +886 2 8809-7980, Fax. +886 2 2809-0183, Mobile: +886 915 653-452 Net2Phone:8869550066, ICQ: 111651169 http://www.elmit.comhttp://www.wiplinger.org