Re: [vchkpw] vpopmail Authentication Problem
Solved. It was a softlimit problem. > On 2006-04-19, at 1231, [EMAIL PROTECTED] wrote: >> I am having trouble with user authentication. I am running Fedora >> Core 5 on a Dell PowerEdge blade server with the latest (as of a >> few days ago) versions of qmail, vpopmail, and qmailadmin. > > specific version numbers? any patches applied on top of the source? > >> I can log into qmailadmin just fine through Apache and I have >> added a virtual domain and some virtual users. This is reflected >> in my /var/qmail/ rchphosts and virtualdomain files. It is also >> reflected in /home/vpopmail/. >> The passwords for various users work in vpopmail but no where >> else. I have tried telnetting to port 110 on the box and applying >> crudentials but it always reports: >> >> -ERR authorization failed > > even for the same "[EMAIL PROTECTED]" account that you used with > qmailadmin? > >> Here are my run scripts. Let me know what other information you >> require. It may be important to note that this box does not have a >> FQHN, instead, I have lied to it that it's name is >> "stormtrooper.ucdavis.edu", when there is in actuality another box >> with that name (our old mail server). I cannot give it that proper >> name until this box works, because we support hundreds of users >> and cannot have an e-mail downage. The new blade's hostname is >> stormtrooper and if I ping that name according to the box it >> thinks it's 127.0.0.1, so I _think_ it's not a problem. > > that's an /etc/hosts issue. both of the "run" scripts are using "0" > as the IP address, so the hostname shouldn't be an issue for starting > the services. the one thing to note is that when you do "throw the > switch", i'm assuming that part of the process will be changing the > machine's IP address to be the same as the old server... when you > change the IP, you should restart any services which are listening > for incoming connections. > > your pop3 service is running as root, so it shouldn't be a > permissions issue... very strange. > > the smtp service is running as "qmaild", which means that when qmail- > smtpd runs vchkpw, it will try to run vchkpw as the qmaild user, > which doesn't have permissions to read the vpasswd.cdb files (which > contain the mailbox names and encrypted passwords.) there are two > solutions for this problem: > > (1) run the qmail-smtpd service as the vpopmail user, which can cause > issues with other qmail-smtpd add-ons (qmail-scanner, simscan, etc.) > > (2) make the ~vpopmail/bin/vchkpw binary setuid, so that no matter > which userid starts it, it runs as the vpopmail user. > > # cd ~vpopmail/bin > # chown vpopmail:vchkpw vchkpw > # chmdo 6711 vchkpw > > neither solution is the best for everybody- the first one can cause > issues with other programs, and the second one opens a hole which > could potentially allow a local user to conduct a dictionary attack > against mailbox passwords by running vchkpw directly. if you don't > allow non-trusted people to run arbitrary commands on your machine > (this includes CGI or PHP scripts as part of a web site) then the > second option is a non-issue, and is in fact what i've been doing on > my own server for several years. > > however, i have modified qmail-smtpd to check a cdb file when > validating an AUTH command. i will be rolling a patch file for it, > and writing a web page to document it, later this week. > > -- > | John M. Simpson - KG4ZOW - Programmer At Large | > | http://www.jms1.net/ <[EMAIL PROTECTED]> | > -- > | Mac OS X proves that it's easier to make UNIX | > | pretty than it is to make Windows secure. | > -- > > >
Re: [vchkpw] vpopmail Authentication Problem
About [EMAIL PROTECTED] (the user that works in qmailadmin on my test box), I cannot log in using telnet localhost 110 with that account either. I followed your commands to setuid for that program and issued qmailctl stop, qmailctl start and tried again. Still the same auth errors. Here are the versions I'm using: Fedora Core 5 (2.6.16-1.2080_FC5smp, 32-bit i686) netqmail-1.05 (qmail-1.03) ezmlm-0.53 vpopmail-5.4.13 qmailadmin-1.2.9 I'm also running bincimap and squirrelmail but that's not really related to these problems. Any help is appreciated! Chris Thielen Network Programmer Creative Media University of California, Davis > On 2006-04-19, at 1231, [EMAIL PROTECTED] wrote: >> I am having trouble with user authentication. I am running Fedora >> Core 5 on a Dell PowerEdge blade server with the latest (as of a >> few days ago) versions of qmail, vpopmail, and qmailadmin. > > specific version numbers? any patches applied on top of the source? > >> I can log into qmailadmin just fine through Apache and I have >> added a virtual domain and some virtual users. This is reflected >> in my /var/qmail/ rchphosts and virtualdomain files. It is also >> reflected in /home/vpopmail/. >> The passwords for various users work in vpopmail but no where >> else. I have tried telnetting to port 110 on the box and applying >> crudentials but it always reports: >> >> -ERR authorization failed > > even for the same "[EMAIL PROTECTED]" account that you used with > qmailadmin? > >> Here are my run scripts. Let me know what other information you >> require. It may be important to note that this box does not have a >> FQHN, instead, I have lied to it that it's name is >> "stormtrooper.ucdavis.edu", when there is in actuality another box >> with that name (our old mail server). I cannot give it that proper >> name until this box works, because we support hundreds of users >> and cannot have an e-mail downage. The new blade's hostname is >> stormtrooper and if I ping that name according to the box it >> thinks it's 127.0.0.1, so I _think_ it's not a problem. > > that's an /etc/hosts issue. both of the "run" scripts are using "0" > as the IP address, so the hostname shouldn't be an issue for starting > the services. the one thing to note is that when you do "throw the > switch", i'm assuming that part of the process will be changing the > machine's IP address to be the same as the old server... when you > change the IP, you should restart any services which are listening > for incoming connections. > > your pop3 service is running as root, so it shouldn't be a > permissions issue... very strange. > > the smtp service is running as "qmaild", which means that when qmail- > smtpd runs vchkpw, it will try to run vchkpw as the qmaild user, > which doesn't have permissions to read the vpasswd.cdb files (which > contain the mailbox names and encrypted passwords.) there are two > solutions for this problem: > > (1) run the qmail-smtpd service as the vpopmail user, which can cause > issues with other qmail-smtpd add-ons (qmail-scanner, simscan, etc.) > > (2) make the ~vpopmail/bin/vchkpw binary setuid, so that no matter > which userid starts it, it runs as the vpopmail user. > > # cd ~vpopmail/bin > # chown vpopmail:vchkpw vchkpw > # chmdo 6711 vchkpw > > neither solution is the best for everybody- the first one can cause > issues with other programs, and the second one opens a hole which > could potentially allow a local user to conduct a dictionary attack > against mailbox passwords by running vchkpw directly. if you don't > allow non-trusted people to run arbitrary commands on your machine > (this includes CGI or PHP scripts as part of a web site) then the > second option is a non-issue, and is in fact what i've been doing on > my own server for several years. > > however, i have modified qmail-smtpd to check a cdb file when > validating an AUTH command. i will be rolling a patch file for it, > and writing a web page to document it, later this week. > > -- > | John M. Simpson - KG4ZOW - Programmer At Large | > | http://www.jms1.net/ <[EMAIL PROTECTED]> | > -- > | Mac OS X proves that it's easier to make UNIX | > | pretty than it is to make Windows secure. | > -- > > >
Re: [vchkpw] vpopmail Authentication Problem
On 2006-04-19, at 1231, [EMAIL PROTECTED] wrote: I am having trouble with user authentication. I am running Fedora Core 5 on a Dell PowerEdge blade server with the latest (as of a few days ago) versions of qmail, vpopmail, and qmailadmin. specific version numbers? any patches applied on top of the source? I can log into qmailadmin just fine through Apache and I have added a virtual domain and some virtual users. This is reflected in my /var/qmail/ rchphosts and virtualdomain files. It is also reflected in /home/vpopmail/. The passwords for various users work in vpopmail but no where else. I have tried telnetting to port 110 on the box and applying crudentials but it always reports: -ERR authorization failed even for the same "[EMAIL PROTECTED]" account that you used with qmailadmin? Here are my run scripts. Let me know what other information you require. It may be important to note that this box does not have a FQHN, instead, I have lied to it that it's name is "stormtrooper.ucdavis.edu", when there is in actuality another box with that name (our old mail server). I cannot give it that proper name until this box works, because we support hundreds of users and cannot have an e-mail downage. The new blade's hostname is stormtrooper and if I ping that name according to the box it thinks it's 127.0.0.1, so I _think_ it's not a problem. that's an /etc/hosts issue. both of the "run" scripts are using "0" as the IP address, so the hostname shouldn't be an issue for starting the services. the one thing to note is that when you do "throw the switch", i'm assuming that part of the process will be changing the machine's IP address to be the same as the old server... when you change the IP, you should restart any services which are listening for incoming connections. your pop3 service is running as root, so it shouldn't be a permissions issue... very strange. the smtp service is running as "qmaild", which means that when qmail- smtpd runs vchkpw, it will try to run vchkpw as the qmaild user, which doesn't have permissions to read the vpasswd.cdb files (which contain the mailbox names and encrypted passwords.) there are two solutions for this problem: (1) run the qmail-smtpd service as the vpopmail user, which can cause issues with other qmail-smtpd add-ons (qmail-scanner, simscan, etc.) (2) make the ~vpopmail/bin/vchkpw binary setuid, so that no matter which userid starts it, it runs as the vpopmail user. # cd ~vpopmail/bin # chown vpopmail:vchkpw vchkpw # chmdo 6711 vchkpw neither solution is the best for everybody- the first one can cause issues with other programs, and the second one opens a hole which could potentially allow a local user to conduct a dictionary attack against mailbox passwords by running vchkpw directly. if you don't allow non-trusted people to run arbitrary commands on your machine (this includes CGI or PHP scripts as part of a web site) then the second option is a non-issue, and is in fact what i've been doing on my own server for several years. however, i have modified qmail-smtpd to check a cdb file when validating an AUTH command. i will be rolling a patch file for it, and writing a web page to document it, later this week. -- | John M. Simpson - KG4ZOW - Programmer At Large | | http://www.jms1.net/ <[EMAIL PROTECTED]> | -- | Mac OS X proves that it's easier to make UNIX | | pretty than it is to make Windows secure. | -- PGP.sig Description: This is a digitally signed message part
[vchkpw] vpopmail Authentication Problem
Hello, I am having trouble with user authentication. I am running Fedora Core 5 on a Dell PowerEdge blade server with the latest (as of a few days ago) versions of qmail, vpopmail, and qmailadmin. I can log into qmailadmin just fine through Apache and I have added a virtual domain and some virtual users. This is reflected in my /var/qmail/ rchphosts and virtualdomain files. It is also reflected in /home/vpopmail/. The passwords for various users work in vpopmail but no where else. I have tried telnetting to port 110 on the box and applying crudentials but it always reports: -ERR authorization failed Here are my run scripts. Let me know what other information you require. It may be important to note that this box does not have a FQHN, instead, I have lied to it that it's name is "stormtrooper.ucdavis.edu", when there is in actuality another box with that name (our old mail server). I cannot give it that proper name until this box works, because we support hundreds of users and cannot have an e-mail downage. The new blade's hostname is stormtrooper and if I ping that name according to the box it thinks it's 127.0.0.1, so I _think_ it's not a problem. /service/qmail-pop3d/run: #!/bin/sh exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ localhost /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 2>&1 /service/qmail-send/run: #!/bin/sh exec /var/qmail/rc /service/qmail-smtpd/run: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi if [ ! -f /var/qmail/control/rcpthosts ]; then echo "No /var/qmail/control/rcpthosts!" echo "Refusing to start SMTP listener because it'll create an open relay" exit 1 fi exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 I appreciate any help. Chris Thielen Network Programmer Creative Media http://creativemedia.ucdavis.edu/
Re: [vchkpw] qmail + vpopmail authentication (SMTPafterPOP)
Ken Jones wrote: On Thursday 08 July 2004 11:12 am, Edilmar wrote: Ken Jones wrote: On Thursday 08 July 2004 08:47 am, Edilmar wrote: Hi, I have a system with netqmail 1.05 + vpopmail 5.4.0 + sqwebmail 4.0.5 + qmailadmin 1.2.0 + clamav 0.73 + qmailscanner. Now, I'd like to do some kind of SMTP authetication using the idea of SMTPafterPOP, to use the vpopmail users (into vpasswd file) to authenticate the sending of emails. I found some patches for QMail, but I'm doubt about the functionality of its with vpopmail users database. I work in a school and there are other units of it that uses internet providers with dinamic IPs. Then, all the time I need to change /etc/tcp.smtp to add the actual IP address for the list of external users to do SMTP relay. But I think if I will have SMTP authentication, I may do a QMail OPEN RELAY and all will work fine. Is this TRUE or I'm CRAZY to think about OPEN RELAY? Is there some alternatives to do this without OPEN RELAY? Use tonix's qmail-smtp/vpopmail auth patch. Smtp authentication is the cleanest way to go. Ken Jones But, with it, I will configure /etc/tcp.smtp for 0.0.0. => OPEN RELAY? No. Just configure tcp.smtp for all static IP's you want to allow to relay without authentication, like internal servers that need an outbound mail server. For example: 127.0.0.1:allow,RELAYCLIENT="" 209.218.8.:allow,RELAYCLIENT="" Ken Hi, I installed the smtp-auth patch, the certificate was created fine, client Mozilla recognized this certificate, and sending/receiving emails from LAN worked fine, but LAN IP is into /etc/tcp.smtp. Then, it's not using authentication. When I tried to remove LAN from /etc/tcp.smtp, to test real authentication the first message error was: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) 553 no valid cert for gatewaying (#5.7.1) Then, I followed the link http://www.differentpla.net/node/view/170 where it's said to change the supervise/qmail-smtpd/run into user/group ID from QMail to VPopmail. After do this, the message error changed to the traditional: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) the error about gatewaying didn't occur more. What's the problem? Is it needed to execute the "run" script with VPopmail users/group? What about the first problem about gatewaying?
Re: [vchkpw] qmail + vpopmail authentication (SMTPafterPOP)
On Thursday 08 July 2004 11:12 am, Edilmar wrote: > Ken Jones wrote: > >On Thursday 08 July 2004 08:47 am, Edilmar wrote: > >>Hi, > >> > >>I have a system with netqmail 1.05 + vpopmail 5.4.0 + sqwebmail 4.0.5 + > >>qmailadmin 1.2.0 + clamav 0.73 + qmailscanner. > >> > >>Now, I'd like to do some kind of SMTP authetication using the idea of > >>SMTPafterPOP, to use the vpopmail users (into > >>vpasswd file) to authenticate the sending of emails. > >> > >>I found some patches for QMail, but I'm doubt about the functionality of > >>its with vpopmail users database. > >> > >>I work in a school and there are other units of it that uses internet > >>providers with dinamic IPs. Then, all the time I need to > >>change /etc/tcp.smtp to add the actual IP address for the list of > >>external users to do SMTP relay. But I think if I will have > >>SMTP authentication, I may do a QMail OPEN RELAY and all will work fine. > >>Is this TRUE or I'm CRAZY to think > >>about OPEN RELAY? Is there some alternatives to do this without OPEN > >> RELAY? > > > >Use tonix's qmail-smtp/vpopmail auth patch. > >Smtp authentication is the cleanest way to go. > > > >Ken Jones > > But, with it, I will configure /etc/tcp.smtp for 0.0.0. => OPEN RELAY? No. Just configure tcp.smtp for all static IP's you want to allow to relay without authentication, like internal servers that need an outbound mail server. For example: 127.0.0.1:allow,RELAYCLIENT="" 209.218.8.:allow,RELAYCLIENT="" Ken
Re: [vchkpw] qmail + vpopmail authentication (SMTPafterPOP)
Ken Jones wrote: On Thursday 08 July 2004 08:47 am, Edilmar wrote: Hi, I have a system with netqmail 1.05 + vpopmail 5.4.0 + sqwebmail 4.0.5 + qmailadmin 1.2.0 + clamav 0.73 + qmailscanner. Now, I'd like to do some kind of SMTP authetication using the idea of SMTPafterPOP, to use the vpopmail users (into vpasswd file) to authenticate the sending of emails. I found some patches for QMail, but I'm doubt about the functionality of its with vpopmail users database. I work in a school and there are other units of it that uses internet providers with dinamic IPs. Then, all the time I need to change /etc/tcp.smtp to add the actual IP address for the list of external users to do SMTP relay. But I think if I will have SMTP authentication, I may do a QMail OPEN RELAY and all will work fine. Is this TRUE or I'm CRAZY to think about OPEN RELAY? Is there some alternatives to do this without OPEN RELAY? Use tonix's qmail-smtp/vpopmail auth patch. Smtp authentication is the cleanest way to go. Ken Jones But, with it, I will configure /etc/tcp.smtp for 0.0.0. => OPEN RELAY?
Re: [vchkpw] qmail + vpopmail authentication (SMTPafterPOP)
On Thursday 08 July 2004 08:47 am, Edilmar wrote: > Hi, > > I have a system with netqmail 1.05 + vpopmail 5.4.0 + sqwebmail 4.0.5 + > qmailadmin 1.2.0 + clamav 0.73 + qmailscanner. > > Now, I'd like to do some kind of SMTP authetication using the idea of > SMTPafterPOP, to use the vpopmail users (into > vpasswd file) to authenticate the sending of emails. > > I found some patches for QMail, but I'm doubt about the functionality of > its with vpopmail users database. > > I work in a school and there are other units of it that uses internet > providers with dinamic IPs. Then, all the time I need to > change /etc/tcp.smtp to add the actual IP address for the list of > external users to do SMTP relay. But I think if I will have > SMTP authentication, I may do a QMail OPEN RELAY and all will work fine. > Is this TRUE or I'm CRAZY to think > about OPEN RELAY? Is there some alternatives to do this without OPEN RELAY? Use tonix's qmail-smtp/vpopmail auth patch. Smtp authentication is the cleanest way to go. Ken Jones
[vchkpw] qmail + vpopmail authentication (SMTPafterPOP)
Hi, I have a system with netqmail 1.05 + vpopmail 5.4.0 + sqwebmail 4.0.5 + qmailadmin 1.2.0 + clamav 0.73 + qmailscanner. Now, I'd like to do some kind of SMTP authetication using the idea of SMTPafterPOP, to use the vpopmail users (into vpasswd file) to authenticate the sending of emails. I found some patches for QMail, but I'm doubt about the functionality of its with vpopmail users database. I work in a school and there are other units of it that uses internet providers with dinamic IPs. Then, all the time I need to change /etc/tcp.smtp to add the actual IP address for the list of external users to do SMTP relay. But I think if I will have SMTP authentication, I may do a QMail OPEN RELAY and all will work fine. Is this TRUE or I'm CRAZY to think about OPEN RELAY? Is there some alternatives to do this without OPEN RELAY?
[vchkpw] vpopmail authentication
I have two domains on my qmail server, 1. my default domain - xyz.com 2. my virtual domain - lily.com ( with a vuser called lil) Using my outlook express, i send a mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] When i send the mail, i can see the mail in my ~/vpopmail/domains/lily.com/lil/Maildir/new directory, that means it was delivered. But i cannot download the mail with my mail client, as it keeps asking me to re-enter my password. I believe this is an authentication. I am using msql support, that means mysql is supposed to authenticate my virtual users. Is there something i should do outside the procedure the install manual has - and which i have followed? Jas.
Re: [vchkpw] vpopmail authentication failed
If I remember correctly, I had to compile --without-authdaemon, and set config files to use authvchkpw exclusively. I was getting intermittent auth failures just like you describe. This solved my problem. This is a bug in a certain version of vpopmail if I remember correctly. I do not recall where I found this solution, but I would give it a try. Also, the onlyother trouble I had with vpopmail (though not related to anything intermittent) was file permission. If you read the man pages for qmail binaries, a lot of them will not work without proper file permissions. Alex Martin http://www.rettc.com - Original Message - From: "rooz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 25, 2003 6:11 AM Subject: [vchkpw] vpopmail authentication failed Hi all, I've a problem with vpopmail. I've installed on a linux box qmail+checkpassword+ucspi-tcp+checkpassword beeing helped by "italian qmail howto" from http://folug.linux.it/. qmail without vpopmail works very good with no problem, but i need too use virtual hosts and i try vpopmail. i install it with no problems and i add virtual domains using vadddomain and users with vadduser and restarted qmail with vpopmail. Everything seems to work i can send recive with all the virtual domin but after some time every thing stops working and qmail send me Authentication Failed. Then i try to use vdominfo says no domain. This is server error log. Sorry for my english please help me if there is a solution or another way do use virtualdomains with qmail. :) Sep 25 13:00:05 srv-itg vpopmail[2097]: vchkpw: vpopmail user not found itg@:62.123.125.30 Sep 25 13:01:41 srv-itg vpopmail[2119]: vchkpw: vpopmail user not found [EMAIL PROTECTED]:62.123.125.30 Sep 25 13:01:57 srv-itg vpopmail[2121]: vchkpw: vpopmail user not found [EMAIL PROTECTED]:62.123.125.30 Sep 25 13:02:18 srv-itg qmail: 1064487738.869981 new msg 211388 Sep 25 13:02:18 srv-itg qmail: 1064487738.870075 info msg 211388: bytes 937 from <[EMAIL PROTECTED]> qp 2123 uid 505 Sep 25 13:02:18 srv-itg qmail: 1064487738.873947 starting delivery 8: msg 211388 to local [EMAIL PROTECTED] Sep 25 13:02:18 srv-itg qmail: 1064487738.874021 status: local 1/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.875236 delivery 8: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Sep 25 13:02:18 srv-itg qmail: 1064487738.875573 status: local 0/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.881538 bounce msg 211388 qp 2125 Sep 25 13:02:18 srv-itg qmail: 1064487738.881702 end msg 211388 Sep 25 13:02:18 srv-itg qmail: 1064487738.882086 new msg 211394 Sep 25 13:02:18 srv-itg qmail: 1064487738.882218 info msg 211394: bytes 1457 from <> qp 2125 uid 510 Sep 25 13:02:18 srv-itg qmail: 1064487738.889053 starting delivery 9: msg 211394 to local [EMAIL PROTECTED] Sep 25 13:02:18 srv-itg qmail: 1064487738.889087 status: local 1/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.890292 delivery 9: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Sep 25 13:02:18 srv-itg qmail: 1064487738.890677 status: local 0/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.896959 bounce msg 211394 qp 2127 Sep 25 13:02:18 srv-itg qmail: 1064487738.897120 end msg 211394 Sep 25 13:02:18 srv-itg qmail: 1064487738.897453 new msg 211393 Sep 25 13:02:18 srv-itg qmail: 1064487738.897561 info msg 211393: bytes 1895 from <[EMAIL PROTECTED]> qp 2127 uid 510 Sep 25 13:02:18 srv-itg qmail: 1064487738.902715 starting delivery 10: msg 211393 to local [EMAIL PROTECTED] Sep 25 13:02:18 srv-itg qmail: 1064487738.902743 status: local 1/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.903980 delivery 10: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Sep 25 13:02:18 srv-itg qmail: 1064487738.904217 status: local 0/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.904233 triple bounce: discarding bounce/211393 Sep 25 13:02:18 srv-itg qmail: 1064487738.904247 end msg 211393 Sep 25 13:02:21 srv-itg vpopmail[2130]: vchkpw: vpopmail user not found [EMAIL PROTECTED]:62.123.125.30 Sep 25 13:02:47 srv-itg vpopmail[2132]: vchkpw: vpopmail user not found [EMAIL PROTECTED]:62.123.125.30 Sep 25 13:04:05 srv-itg vpopmail[2134]: vchkpw: vpopmail user not found [EMAIL PROTECTED]:62.123.125.30 Sep 25 13:05:55 srv-itg qmail: 1064487955.318050 status: exiting
Re: [vchkpw] vpopmail authentication failed
Just erase that line Happened the same to me, and i had to clear it...Now qmail and vpopmail is working just fine - Original Message - From: "ITG" <[EMAIL PROTECTED]> To: "Hugo Ferreira" <[EMAIL PROTECTED]> Sent: Thursday, September 25, 2003 1:48 PM Subject: Re: [vchkpw] vpopmail authentication failed > at crontab i have this to clear old IP's added after pop auth > 40 * * * * /home/vpopmail/bin/clearopensmtp 2>&1 > /dev/null > > in cron.hourly i have this other script and i don't know what's that > qmail-pw2u /var/qmail/users/assign && qmail-newu > > On Thursday 25 September 2003 14:35, Hugo Ferreira wrote: > > Check your /etc/cron.hourly > > > > There can be a quail entry on crontab that cleans vpopmail users.. > > > > THat happened to me.. > > > > > > - Original Message - > > From: "rooz" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, September 25, 2003 1:11 PM > > Subject: [vchkpw] vpopmail authentication failed > > > > > Hi all, I've a problem with vpopmail. > > > I've installed on a linux box qmail+checkpassword+ucspi-tcp+checkpassword > > > beeing helped by "italian qmail howto" from http://folug.linux.it/. qmail > > > without vpopmail works very good with no problem, but i need too use > > > > virtual > > > > > hosts and i try vpopmail. i install it with no problems and i add virtual > > > domains using vadddomain and users with vadduser and restarted qmail with > > > vpopmail. Everything seems to work i can send recive with all the virtual > > > domin but after some time every thing stops working and qmail send me > > > Authentication Failed. Then i try to use vdominfo says no domain. > > > This is server error log. Sorry for my english please help me if there is > > > > a > > > > > solution or another way do use virtualdomains with qmail. :) > > > > > > Sep 25 13:00:05 srv-itg vpopmail[2097]: vchkpw: vpopmail user not found > > > itg@:62.123.125.30 > > > Sep 25 13:01:41 srv-itg vpopmail[2119]: vchkpw: vpopmail user not found > > > [EMAIL PROTECTED]:62.123.125.30 > > > Sep 25 13:01:57 srv-itg vpopmail[2121]: vchkpw: vpopmail user not found > > > [EMAIL PROTECTED]:62.123.125.30 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.869981 new msg 211388 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.870075 info msg 211388: bytes > > > > 937 > > > > > from <[EMAIL PROTECTED]> qp 2123 uid 505 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.873947 starting delivery 8: msg > > > 211388 to local [EMAIL PROTECTED] > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.874021 status: local 1/10 > > > remote 0/20 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.875236 delivery 8: failure: > > > Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.875573 status: local 0/10 > > > remote 0/20 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.881538 bounce msg 211388 qp > > > 2125 Sep 25 13:02:18 srv-itg qmail: 1064487738.881702 end msg 211388 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.882086 new msg 211394 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.882218 info msg 211394: bytes > > > > 1457 > > > > > from <> qp 2125 uid 510 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.889053 starting delivery 9: msg > > > 211394 to local [EMAIL PROTECTED] > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.889087 status: local 1/10 > > > remote 0/20 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.890292 delivery 9: failure: > > > Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.890677 status: local 0/10 > > > remote 0/20 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.896959 bounce msg 211394 qp > > > 2127 Sep 25 13:02:18 srv-itg qmail: 1064487738.897120 end msg 211394 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.897453 new msg 211393 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.897561 info msg 211393: bytes > > > > 1895 > > > > > from <[EMAIL PROTECTED]> qp 2127 uid 510 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.902715 starting delivery 10: > > > msg 211393 to local [EMAIL PROTECTED] > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.902743 status: local 1/10 > > > remote 0/20 > > > Sep 25 13:02:18 srv-itg qmail: 1064487738.903
Re: [vchkpw] vpopmail authentication failed
Check your /etc/cron.hourly There can be a quail entry on crontab that cleans vpopmail users.. THat happened to me.. - Original Message - From: "rooz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 25, 2003 1:11 PM Subject: [vchkpw] vpopmail authentication failed > Hi all, I've a problem with vpopmail. > I've installed on a linux box qmail+checkpassword+ucspi-tcp+checkpassword > beeing helped by "italian qmail howto" from http://folug.linux.it/. qmail > without vpopmail works very good with no problem, but i need too use virtual > hosts and i try vpopmail. i install it with no problems and i add virtual > domains using vadddomain and users with vadduser and restarted qmail with > vpopmail. Everything seems to work i can send recive with all the virtual > domin but after some time every thing stops working and qmail send me > Authentication Failed. Then i try to use vdominfo says no domain. > This is server error log. Sorry for my english please help me if there is a > solution or another way do use virtualdomains with qmail. :) > > Sep 25 13:00:05 srv-itg vpopmail[2097]: vchkpw: vpopmail user not found > itg@:62.123.125.30 > Sep 25 13:01:41 srv-itg vpopmail[2119]: vchkpw: vpopmail user not found > [EMAIL PROTECTED]:62.123.125.30 > Sep 25 13:01:57 srv-itg vpopmail[2121]: vchkpw: vpopmail user not found > [EMAIL PROTECTED]:62.123.125.30 > Sep 25 13:02:18 srv-itg qmail: 1064487738.869981 new msg 211388 > Sep 25 13:02:18 srv-itg qmail: 1064487738.870075 info msg 211388: bytes 937 > from <[EMAIL PROTECTED]> qp 2123 uid 505 > Sep 25 13:02:18 srv-itg qmail: 1064487738.873947 starting delivery 8: msg > 211388 to local [EMAIL PROTECTED] > Sep 25 13:02:18 srv-itg qmail: 1064487738.874021 status: local 1/10 remote > 0/20 > Sep 25 13:02:18 srv-itg qmail: 1064487738.875236 delivery 8: failure: > Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ > Sep 25 13:02:18 srv-itg qmail: 1064487738.875573 status: local 0/10 remote > 0/20 > Sep 25 13:02:18 srv-itg qmail: 1064487738.881538 bounce msg 211388 qp 2125 > Sep 25 13:02:18 srv-itg qmail: 1064487738.881702 end msg 211388 > Sep 25 13:02:18 srv-itg qmail: 1064487738.882086 new msg 211394 > Sep 25 13:02:18 srv-itg qmail: 1064487738.882218 info msg 211394: bytes 1457 > from <> qp 2125 uid 510 > Sep 25 13:02:18 srv-itg qmail: 1064487738.889053 starting delivery 9: msg > 211394 to local [EMAIL PROTECTED] > Sep 25 13:02:18 srv-itg qmail: 1064487738.889087 status: local 1/10 remote > 0/20 > Sep 25 13:02:18 srv-itg qmail: 1064487738.890292 delivery 9: failure: > Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ > Sep 25 13:02:18 srv-itg qmail: 1064487738.890677 status: local 0/10 remote > 0/20 > Sep 25 13:02:18 srv-itg qmail: 1064487738.896959 bounce msg 211394 qp 2127 > Sep 25 13:02:18 srv-itg qmail: 1064487738.897120 end msg 211394 > Sep 25 13:02:18 srv-itg qmail: 1064487738.897453 new msg 211393 > Sep 25 13:02:18 srv-itg qmail: 1064487738.897561 info msg 211393: bytes 1895 > from <[EMAIL PROTECTED]> qp 2127 uid 510 > Sep 25 13:02:18 srv-itg qmail: 1064487738.902715 starting delivery 10: msg > 211393 to local [EMAIL PROTECTED] > Sep 25 13:02:18 srv-itg qmail: 1064487738.902743 status: local 1/10 remote > 0/20 > Sep 25 13:02:18 srv-itg qmail: 1064487738.903980 delivery 10: failure: > Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ > Sep 25 13:02:18 srv-itg qmail: 1064487738.904217 status: local 0/10 remote > 0/20 > Sep 25 13:02:18 srv-itg qmail: 1064487738.904233 triple bounce: discarding > bounce/211393 > Sep 25 13:02:18 srv-itg qmail: 1064487738.904247 end msg 211393 > Sep 25 13:02:21 srv-itg vpopmail[2130]: vchkpw: vpopmail user not found > [EMAIL PROTECTED]:62.123.125.30 > Sep 25 13:02:47 srv-itg vpopmail[2132]: vchkpw: vpopmail user not found > [EMAIL PROTECTED]:62.123.125.30 > Sep 25 13:04:05 srv-itg vpopmail[2134]: vchkpw: vpopmail user not found > [EMAIL PROTECTED]:62.123.125.30 > Sep 25 13:05:55 srv-itg qmail: 1064487955.318050 status: exiting > >
[vchkpw] vpopmail authentication failed
Hi all, I've a problem with vpopmail. I've installed on a linux box qmail+checkpassword+ucspi-tcp+checkpassword beeing helped by "italian qmail howto" from http://folug.linux.it/. qmail without vpopmail works very good with no problem, but i need too use virtual hosts and i try vpopmail. i install it with no problems and i add virtual domains using vadddomain and users with vadduser and restarted qmail with vpopmail. Everything seems to work i can send recive with all the virtual domin but after some time every thing stops working and qmail send me Authentication Failed. Then i try to use vdominfo says no domain. This is server error log. Sorry for my english please help me if there is a solution or another way do use virtualdomains with qmail. :) Sep 25 13:00:05 srv-itg vpopmail[2097]: vchkpw: vpopmail user not found itg@:62.123.125.30 Sep 25 13:01:41 srv-itg vpopmail[2119]: vchkpw: vpopmail user not found [EMAIL PROTECTED]:62.123.125.30 Sep 25 13:01:57 srv-itg vpopmail[2121]: vchkpw: vpopmail user not found [EMAIL PROTECTED]:62.123.125.30 Sep 25 13:02:18 srv-itg qmail: 1064487738.869981 new msg 211388 Sep 25 13:02:18 srv-itg qmail: 1064487738.870075 info msg 211388: bytes 937 from <[EMAIL PROTECTED]> qp 2123 uid 505 Sep 25 13:02:18 srv-itg qmail: 1064487738.873947 starting delivery 8: msg 211388 to local [EMAIL PROTECTED] Sep 25 13:02:18 srv-itg qmail: 1064487738.874021 status: local 1/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.875236 delivery 8: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Sep 25 13:02:18 srv-itg qmail: 1064487738.875573 status: local 0/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.881538 bounce msg 211388 qp 2125 Sep 25 13:02:18 srv-itg qmail: 1064487738.881702 end msg 211388 Sep 25 13:02:18 srv-itg qmail: 1064487738.882086 new msg 211394 Sep 25 13:02:18 srv-itg qmail: 1064487738.882218 info msg 211394: bytes 1457 from <> qp 2125 uid 510 Sep 25 13:02:18 srv-itg qmail: 1064487738.889053 starting delivery 9: msg 211394 to local [EMAIL PROTECTED] Sep 25 13:02:18 srv-itg qmail: 1064487738.889087 status: local 1/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.890292 delivery 9: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Sep 25 13:02:18 srv-itg qmail: 1064487738.890677 status: local 0/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.896959 bounce msg 211394 qp 2127 Sep 25 13:02:18 srv-itg qmail: 1064487738.897120 end msg 211394 Sep 25 13:02:18 srv-itg qmail: 1064487738.897453 new msg 211393 Sep 25 13:02:18 srv-itg qmail: 1064487738.897561 info msg 211393: bytes 1895 from <[EMAIL PROTECTED]> qp 2127 uid 510 Sep 25 13:02:18 srv-itg qmail: 1064487738.902715 starting delivery 10: msg 211393 to local [EMAIL PROTECTED] Sep 25 13:02:18 srv-itg qmail: 1064487738.902743 status: local 1/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.903980 delivery 10: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/ Sep 25 13:02:18 srv-itg qmail: 1064487738.904217 status: local 0/10 remote 0/20 Sep 25 13:02:18 srv-itg qmail: 1064487738.904233 triple bounce: discarding bounce/211393 Sep 25 13:02:18 srv-itg qmail: 1064487738.904247 end msg 211393 Sep 25 13:02:21 srv-itg vpopmail[2130]: vchkpw: vpopmail user not found [EMAIL PROTECTED]:62.123.125.30 Sep 25 13:02:47 srv-itg vpopmail[2132]: vchkpw: vpopmail user not found [EMAIL PROTECTED]:62.123.125.30 Sep 25 13:04:05 srv-itg vpopmail[2134]: vchkpw: vpopmail user not found [EMAIL PROTECTED]:62.123.125.30 Sep 25 13:05:55 srv-itg qmail: 1064487955.318050 status: exiting
[vchkpw] Vpopmail Authentication Logging Information
Hi, I am using FreeBSD 4.7 + Qmail + Vpopmail 5.2.1 with mysql logging and authentication logging enabled. I checked the mysql table "lastauth" and found that the timestamps were not logged correctly, for example: 2000-10-58 08:26:04 2000-10-57 50:47:25 2000-10-57 74:08:59 These should be logged in year 2003 July but the date and time were strange. I also use vqadmin to check these logged times and it also showed incorrect timestamp. What's happen? Thank you very much Martin
Re: [vchkpw] vpopmail authentication and Apache
Hi, I knew that something existed, but didn't know where. Anyway this is not anything like vcheck. It's related - but it's not the same at all :) On Tue, 2003-03-04 at 21:39, Boris Manojlovic wrote: > Hi this is just a C version of that you are saying about :) > http://www.juicevodka.org/mod_auth_vpopmail/ > > bye > > Hi, > > > > If anyone is interested. I made a quick hack to make Apache authenticate > > against vpopmail's default domain. It requires mod_auth_external. > > > > http://anders.brander.dk/files/vcheck-0.1.tar.gz > > > > Comments welcome... -- Anders Brander <[EMAIL PROTECTED]>
Re: [vchkpw] vpopmail authentication and Apache
Hi this is just a C version of that you are saying about :) http://www.juicevodka.org/mod_auth_vpopmail/ bye > Hi, > > If anyone is interested. I made a quick hack to make Apache authenticate > against vpopmail's default domain. It requires mod_auth_external. > > http://anders.brander.dk/files/vcheck-0.1.tar.gz > > Comments welcome... > > -- > Anders Brander - http://anders.brander.dk/ mod_auth_vpopmail.tar.gz Description: application/gzip-compressed
[vchkpw] vpopmail authentication and Apache
Hi, If anyone is interested. I made a quick hack to make Apache authenticate against vpopmail's default domain. It requires mod_auth_external. http://anders.brander.dk/files/vcheck-0.1.tar.gz Comments welcome... -- Anders Brander - http://anders.brander.dk/
Re: [vchkpw] vpopmail authentication error
Hi Vpopmail uses vchkpw file for authentication and u the service pop3 uses /etc/passwd file. So disable the pop3 service and smtp services from setup and edit the file /var/qmail/supervise/qmail-pop3d/run so as it look like.. #!/bin/sh exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ erdcinoida.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir I am sure it will work definitely. Let me know.. Manish Jain Sys Admin ERDCI Noida On Fri, 2003-01-24 at 04:55, VÃctor R. Ruiz wrote: > > Hi: > > I have installed qmail + vpopmail 5.2 in RedHat 7.3. qmail works fine, > and I've successfully created varios virtual domains and accounts with > vpopmail (via xinetd). They receive fine the incoming messages. However > when I cannot authenticate in any of those accounts: > > [root@astronomia lib]# telnet localhost 110 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > +OK <[EMAIL PROTECTED]> > USER [EMAIL PROTECTED] > +OK > PASS mypassword > -ERR authorization failed > Connection closed by foreign host. > > The xinetd file is this: > > service pop3 > { > disable= no > socket_type= stream > protocol = tcp > wait = no > user = root > server = /var/qmail/bin/qmail-popup > server_args= astronomia.net /home/vpopmail/bin/vchkpw > /var/qmail/bin/qmail-pop3d Maildir > log_type = FILE /var/log/xinetd.log > log_on_success = HOST > log_on_failure = HOST RECORD > } > > I don't know how and where to log the messages of vpopmail. There > aren't any entry in /var/service/qmail-pop3d/log/ nor qmail/log about > the authentification problem. > > Any help would be welcomed! > > -- > VÃctor R. Ruiz | - Todos estos momentos se perderán, como > http://infoastro.com/rvr | lágrimas en la lluvia. >
vpopmail authentication problem
I installed vpopmail 4.9.10 to authenticate my virtual domains for qmail. It works properly right after I create a new domain and users. The users can pop off the mail from the server. After a few minutes, it does not authenticate correctly. I have tried to telnet to the pop port, and receive authorization failed when I type in the correct user@domain/password. Also I tried to delete the domain, and it says it doesn't exist. Any ideas what is going on? Jay
RE: vpopmail authentication under courier-imap.
At 11:56 19/6/2001, Kieran Barnes wrote: >Did you update the preauthvchkpw.c file in the authlib directory with this >file, http://www.inter7.com/vpopmail/preauthvchkpw.c I tried but with the versions I use I couldn't even compile courier imap with this new file. I didn't try it more as, as far as I understand, this new preauthvchkpw.c is for vpopmail 4.10.21 only, not for 4.9.10. Maybe I should upgrade. Anybody from Inter7 cares to comment? I haven't upgraded yet because I will have to upgrade qmailadmin also and I don't want to change more variables before knowing what I am doing. > > > > Versions: > > > > > > > > courier-imap: 1.3.8.1 > > > > vpopmail: 4.9.10 > > > > qmail: 1.03 Thanks for your attention, Rodrigo Severo
RE: vpopmail authentication under courier-imap.
Did you update the preauthvchkpw.c file in the authlib directory with this file, http://www.inter7.com/vpopmail/preauthvchkpw.c -- Regards, Kieran Barnes Signum 1226 Ltd Visit our website at http://www.1226.net Phone: 01772 622889 || Fax: 01772 622558 > -Original Message- > From: Rodrigo Severo [mailto:[EMAIL PROTECTED]] > Sent: 19 June 2001 14:47 > To: [EMAIL PROTECTED] > Subject: Re: vpopmail authentication under courier-imap. > > > At 10:08 19/6/2001, Dushyanth Harinath wrote: > >hi, > > > > > My webmail - squirrelmail - is having problems during > authentication if > > > I enter a wrong password. > > > >Thats obvious ... > >BTW ...r u able to access ur mailbox with the correct password > > Maybe I didn't made myself clear. I agree that it is obvious > that I got to > enter the correct password to login. > > My problem is that squirrelmail (and one apache instance > also) is hanging > when I enter a wrong password. This shouldn't happen for sure. > > > >After some researching I figured out that > > > courier-imap is just closing the connection without the > expected NO > > > answer. After talking to Mr. Sam he suggested me to ask > here in this > > > list for help as I use only vpopmail authentication under > > > courier-imap. > > > > > > Versions: > > > > > > courier-imap: 1.3.8.1 > > > vpopmail: 4.9.10 > > > qmail: 1.03 > > > >I have exactly the same setup but diff version though...and > i havent faced > >any problems so far... > > Netscape Messenger and OutLook are dealing better with this > problem. If I > enter the wrong password on Netscape, it tells me that the server has > disconnected, it doesn't hangs but it doesn't tell me I > entered a wrong > password either. > > >Can u post some more info likeerror messages ,logs etc. > > I tried a telnet session. > > When I entered: > > a001 LOGIN "rodrigo%fabricadeideias.com" "correctpassword" > > the server answered: > > a001 OK LOGIN Ok. > > When I entered: > > a001 LOGIN "rodrigo%fabricadeideias.com" "wrongpassword" > > the server closed the connection without any answer. > > > Any ideas? > > Rodrigo Severo >
Re: vpopmail authentication under courier-imap.
At 10:08 19/6/2001, Dushyanth Harinath wrote: >hi, > > > My webmail - squirrelmail - is having problems during authentication if > > I enter a wrong password. > >Thats obvious ... >BTW ...r u able to access ur mailbox with the correct password Maybe I didn't made myself clear. I agree that it is obvious that I got to enter the correct password to login. My problem is that squirrelmail (and one apache instance also) is hanging when I enter a wrong password. This shouldn't happen for sure. > >After some researching I figured out that > > courier-imap is just closing the connection without the expected NO > > answer. After talking to Mr. Sam he suggested me to ask here in this > > list for help as I use only vpopmail authentication under > > courier-imap. > > > > Versions: > > > > courier-imap: 1.3.8.1 > > vpopmail: 4.9.10 > > qmail: 1.03 > >I have exactly the same setup but diff version though...and i havent faced >any problems so far... Netscape Messenger and OutLook are dealing better with this problem. If I enter the wrong password on Netscape, it tells me that the server has disconnected, it doesn't hangs but it doesn't tell me I entered a wrong password either. >Can u post some more info likeerror messages ,logs etc. I tried a telnet session. When I entered: a001 LOGIN "rodrigo%fabricadeideias.com" "correctpassword" the server answered: a001 OK LOGIN Ok. When I entered: a001 LOGIN "rodrigo%fabricadeideias.com" "wrongpassword" the server closed the connection without any answer. Any ideas? Rodrigo Severo
Re: vpopmail authentication under courier-imap.
hi, > My webmail - squirrelmail - is having problems during authentication if > I enter a wrong password. Thats obvious ... BTW ...r u able to access ur mailbox with the correct password >After some researching I figured out that > courier-imap is just closing the connection without the expected NO > answer. After talking to Mr. Sam he suggested me to ask here in this > list for help as I use only vpopmail authentication under > courier-imap. > > Versions: > > courier-imap: 1.3.8.1 > vpopmail: 4.9.10 > qmail: 1.03 I have exactly the same setup but diff version though...and i havent faced any problems so far... Can u post some more info likeerror messages ,logs etc. regards dushyanth -- As we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously." -- Benjamin Franklin Dushyanth Harinath Archean Infotech Limited Ph No:091-040-3228666,6570704,3228674 http://www.archeanit.com
vpopmail authentication under courier-imap.
List, I am using vpopmail and courier-imap under qmail. My webmail - squirrelmail - is having problems during authentication if I enter a wrong password. After some researching I figured out that courier-imap is just closing the connection without the expected NO answer. After talking to Mr. Sam he suggested me to ask here in this list for help as I use only vpopmail authentication under courier-imap. Versions: courier-imap: 1.3.8.1 vpopmail: 4.9.10 qmail: 1.03 Thanks in advance for your attention, Rodrigo Severo
Re: error vpopmail authentication after few minutes
BentO wrote: > > Hi All, > > I use RH 6.2, qmail, vpopmail 4.9.5 (newest) > I've already make virtual-email-domain in /home/vpopmail/domains and in > the beginning..the authentication was succes (using uid : > [EMAIL PROTECTED] ) > > pop3 server run through tcp server : > > env - PATH="/var/qmail/bin:/usr/local/bin" \ > tcpserver -H -R 0 pop-3 \ > /var/qmail/bin/qmail-popup my.domain.com \ > /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & > > But after few minutes +- 0.5 hour,..it fails on authentication (same uid > & passwd),..the error : > "no such user",...and when I try to delete the user,.. > "error: unable to chdir" > > any idea ? > > Thanks > > TIA Check your crontab entries. Some qmail installation packages include a crontab entry that will regenerate your /var/qmail/users/assign file. Wiping out anything that was there before. If you /var/qmail/users/assign file loses it's vpopmail information, then vpopmail authentication will fail. Ken Jones
error vpopmail authentication after few minutes
Hi All, I use RH 6.2, qmail, vpopmail 4.9.5 (newest) I've already make virtual-email-domain in /home/vpopmail/domains and in the beginning..the authentication was succes (using uid : [EMAIL PROTECTED] ) pop3 server run through tcp server : env - PATH="/var/qmail/bin:/usr/local/bin" \ tcpserver -H -R 0 pop-3 \ /var/qmail/bin/qmail-popup my.domain.com \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir & But after few minutes +- 0.5 hour,..it fails on authentication (same uid & passwd),..the error : "no such user",...and when I try to delete the user,.. "error: unable to chdir" any idea ? Thanks TIA
Re: Vpopmail authentication
Andrés wrote: > > Hi there, > > I want to configure my client (Outlook Express under M$) to connect to a > mailbox under a virtual domain. I have created the domain e.g. vdom.com and > I have created a user (named info). But I can't make a connection at all, I > always get a "-ERR authorization failed". > > I added the line containing "/home/vpopmail/bin/vchkpw qmail-pop3d Maildir" > to my /etc/rc.d/init.d/qmail-pop3d.init file but it doesn't work. > > It seems that vchkpw dies too fast. > > How can I solve this? > > My virtual users can receive e-mails but can't download it using pop3 nor > sqwebmail. > > Thanks. Read the FAQ and INSTALL files. you need to set your pop user name to be user@domain If that doesn't work, then you have some other configuration problem. Ken
Re: Vpopmail authentication
Hi. I suppose that's the problem. I'm using it on a RedHat 6.0. I have modified the file /etc/rc.d/init.d/qmail-pop3d.init and now it looks like this: (a lot of code) supervise $DIR \ tcpserver $VERBOSE -c$CONCURRENT -x $CDB -u$USERID -g$GROUPID 0 $PORT \ qmail-popup $HOST $CHKPASS $COMMAND Maildir \ /home/vpopmail/bin/vchkpw qmail-pop3d Maildir \ 2>&1 | setuser $LOGUSER accustamp \ | setuser $LOGUSER cyclog $FILESIZE $FILENO $LOGDIR & (a lot of code) - Original Message - From: "Juergen Hoffmann" <[EMAIL PROTECTED]> To: "Andrés" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 27, 2000 12:56 PM Subject: Re: Vpopmail authentication Hi, have you started qmail-pop3d with the argument that it should use vchkpw to validate if the submittet information is a valid user? or do you still have checkpassword sitting in there? kind regards Juergen Hoffmann Andrés [[EMAIL PROTECTED]] wrote: -> -> -> > > I want to configure my client (Outlook Express under M$) to connect to a -> > > mailbox under a virtual domain. I have created the domain e.g. vdom.com -> and -> > > I have created a user (named info). But I can't make a connection at -> all, I -> > > always get a "-ERR authorization failed". -> > -> > You are using "username%domain.com" as the login POP name in Outlook? -> -> Yes, I've tried that but I think that the problem must be in vchkpw because -> it doesn't appears to be running. If I execute it it doesn't stays running, -> it closes :-? -> -> Is there any way to see a debug of what's happening? -> -- Mit freundlichen Gruessen Juergen Hoffmann --- LueneCom ISC Juergen Hoffmann Rote Str. 9-10 System Administrator 21335 Lueneburg +49-4131-731904 [EMAIL PROTECTED] +49-4131-731906 http://www.luenecom.de --- my quote of the day: The best way to preserve a right is to exercise it, and the right to smoke is a right worth dying for.
RE: Vpopmail authentication
vchkpw doesn't run, it just runs to authenticate a user and then exits. Try getting on the box you're using this on and 'telnet hostname.domain.com 110' so you telnet to the POP3 port. If it is working you should see something like this: mail:~# telnet domain.com 110 Trying 1.2.3.4... Connected to domain.com. Escape character is '^]'. +OK <[EMAIL PROTECTED]> If you get that far, issue: user postmaster%domain.com It should say +OK Finally, try "pass password" It will say +OK or give an error. Once the error happens check your logs. If you don't have anything in the logs, then your init script for the pop3 daemon is probably incorrect. Dave -Original Message- From: Andrés [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 27, 2000 6:41 AM To: [EMAIL PROTECTED] Subject: Re: Vpopmail authentication > > I want to configure my client (Outlook Express under M$) to connect to a > > mailbox under a virtual domain. I have created the domain e.g. vdom.com and > > I have created a user (named info). But I can't make a connection at all, I > > always get a "-ERR authorization failed". > > You are using "username%domain.com" as the login POP name in Outlook? Yes, I've tried that but I think that the problem must be in vchkpw because it doesn't appears to be running. If I execute it it doesn't stays running, it closes :-? Is there any way to see a debug of what's happening?
Re: Vpopmail authentication
Hi, have you started qmail-pop3d with the argument that it should use vchkpw to validate if the submittet information is a valid user? or do you still have checkpassword sitting in there? kind regards Juergen Hoffmann Andrés [[EMAIL PROTECTED]] wrote: -> -> -> > > I want to configure my client (Outlook Express under M$) to connect to a -> > > mailbox under a virtual domain. I have created the domain e.g. vdom.com -> and -> > > I have created a user (named info). But I can't make a connection at -> all, I -> > > always get a "-ERR authorization failed". -> > -> > You are using "username%domain.com" as the login POP name in Outlook? -> -> Yes, I've tried that but I think that the problem must be in vchkpw because -> it doesn't appears to be running. If I execute it it doesn't stays running, -> it closes :-? -> -> Is there any way to see a debug of what's happening? -> -- Mit freundlichen Gruessen Juergen Hoffmann --- LueneCom ISC Juergen Hoffmann Rote Str. 9-10 System Administrator 21335 Lueneburg +49-4131-731904 [EMAIL PROTECTED] +49-4131-731906 http://www.luenecom.de --- my quote of the day: The best way to preserve a right is to exercise it, and the right to smoke is a right worth dying for.
Re: Vpopmail authentication
> > I want to configure my client (Outlook Express under M$) to connect to a > > mailbox under a virtual domain. I have created the domain e.g. vdom.com and > > I have created a user (named info). But I can't make a connection at all, I > > always get a "-ERR authorization failed". > > You are using "username%domain.com" as the login POP name in Outlook? Yes, I've tried that but I think that the problem must be in vchkpw because it doesn't appears to be running. If I execute it it doesn't stays running, it closes :-? Is there any way to see a debug of what's happening?
Re: Vpopmail authentication
Hi, you have to login via the following telnet mail.server.com 110 user user%vdom.com pass password kind regards Juergen Hoffmann Andrés [[EMAIL PROTECTED]] wrote: -> Hi there, -> -> I want to configure my client (Outlook Express under M$) to connect to a -> mailbox under a virtual domain. I have created the domain e.g. vdom.com and -> I have created a user (named info). But I can't make a connection at all, I -> always get a "-ERR authorization failed". -> -> I added the line containing "/home/vpopmail/bin/vchkpw qmail-pop3d Maildir" -> to my /etc/rc.d/init.d/qmail-pop3d.init file but it doesn't work. -> -> It seems that vchkpw dies too fast. -> -> How can I solve this? -> -> My virtual users can receive e-mails but can't download it using pop3 nor -> sqwebmail. -> -> Thanks. -> -- Mit freundlichen Gruessen Juergen Hoffmann --- LueneCom ISC Juergen Hoffmann Rote Str. 9-10 System Administrator 21335 Lueneburg +49-4131-731904 [EMAIL PROTECTED] +49-4131-731906 http://www.luenecom.de --- my quote of the day: If only you knew she loved you, you could face the uncertainty of whether you love her.
Vpopmail authentication
Hi there, I want to configure my client (Outlook Express under M$) to connect to a mailbox under a virtual domain. I have created the domain e.g. vdom.com and I have created a user (named info). But I can't make a connection at all, I always get a "-ERR authorization failed". I added the line containing "/home/vpopmail/bin/vchkpw qmail-pop3d Maildir" to my /etc/rc.d/init.d/qmail-pop3d.init file but it doesn't work. It seems that vchkpw dies too fast. How can I solve this? My virtual users can receive e-mails but can't download it using pop3 nor sqwebmail. Thanks.