Client won't authenticate - help requested urgently please
Roger wrote: Hi All, This is a continuation from a previous problem and request to the group. It was suggested that I recompile using verbose logging, which I have done, the results are below: Oct 8 15:57:47 ns1 ipop3d[21493]: pop3 service init from 203.34.169.134 Oct 8 15:57:51 ns1 ipop3d[21493]: AUTHENTICATE LOGIN failure host=169-134.dsl.connexus.net.au [203.34.169.134] Oct 8 15:57:51 ns1 ipop3d[21493]: Command stream end of file while reading line user=??? host=169-134.dsl.connexus.net.au [203.34.169.134] I have tried everything I know of to find out why it won't authenticate, with no success. Also what is a Command stream end of file, is there a limit to the number of characters in a user name? In this case rbarnold%futurecorporation.net and lastly Netscape Messenger insists on adding the following to the username in the password request box [EMAIL PROTECTED] even though the username is specified as just rbarnold%futuecorporation.net (this however still works on my own stystem) I may not be setting Netscape Messenger up correctly (although I am using the same configuration that works on my own system), Could some knowledgeable person of Netscape provide the correct way to set it up please? I am really at the end of my rope and request help urgently please Below this is a copy of the original email regarding the whole problem for reference. I am trying to set vpopmail up on a remote server (for someone else) and everything seems to work except for using a client to recieve email. The problem is (using netscape) after setting up the user, that the client can't or won't authenticate the user, so preventing any email from being received. I have also installed qmailadmin and that is all working, i.e. I can create new users, passwords etc and when checking the vpopmail directory the new users are listed under the domain. Also if mail is sent to the new user, the mail appears in the new users mail directory and can be read using an editor. I have set vpopmail up to use Mysql for authentication and added the username/password in the vmysql.h file in the vpopmailmail source prior to compiling. I have also checked that mysql is running. I have also setup a test user in vpopmail using vadduser and the new test user shows up in qmailadmin. I have setup the user under Netscape Messenger on a seperate machine as user%domain.com (which works on my own local system) however Messenger, when get mail is clicked asks first for the password and then replies with unable to authenticate. Any and all help would be appreciated Thanks in advance Roger
Re: required conversion from Netscape mail server to QMAIL
hi all iam using Netscape mail server due to the cost, i have shifted to Qmail Nice ... :) what is my problem is how do i convert the existing mails from netscape mail server to qmail server if not, how do i ask my existing user to check pull mail from existing mail server to here Maybe you can advice your Netscape server to resend all stored and queued mail via a relay-server to your qmail-box. That would be the easiest way i think :) Greets, Thomas
Re: required conversion from Netscape mail server to QMAIL
hello sir what iam looking is not new mail, iam looking old stored mails to move to new qmail server with out dropping singel mail so the my clients will have transparent moving to qmial server with new look and old mails thanks any advice hari - Original Message - From: Thomas Foerster [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 08, 2001 1:31 PM Subject: Re: required conversion from Netscape mail server to QMAIL hi all iam using Netscape mail server due to the cost, i have shifted to Qmail Nice ... :) what is my problem is how do i convert the existing mails from netscape mail server to qmail server if not, how do i ask my existing user to check pull mail from existing mail server to here Maybe you can advice your Netscape server to resend all stored and queued mail via a relay-server to your qmail-box. That would be the easiest way i think :) Greets, Thomas _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
feature required
Hello Group. I am using vpopmail 5.0 with mysql authentification. I want to know the date of an email was created, but this field isn't the table vpopmail :( -- Saludos, Fabian mailto:[EMAIL PROTECTED]
Re: required conversion from Netscape mail server to QMAIL
iam using Netscape mail server due to the cost, i have shifted to Qmail my qmail setup running fine, i have setup like this Qmail+vpopmail+mysql+qmailadmin+sqwebmail about 2 weeks ago I migrated from Netscape Message Server for that a little program were created to parse LDIF-file which could be created by netscape export. all accounts were succesfully processed (including passwords in SHA-1 format). but messages... their were leaved on old server. from where they could be taken by users by themselves, i dont know how to resolve this automatically.
Re: Client won't authenticate - help requested urgently please
Bjarne Hansen wrote: Hi! Don't know much about the software you are using now, but at least it looks like if you have a imap account set up on your client, and maybe you shuld use pop3? If I am wrong then at least I tryed to help. I know this error from using imap and default RH pop/imap server. I closed for imap because of this error message, and zombi prosseses and loked out users. Maybe you shuld do a ps aux or something and check for zombi prosseses on your box. Bjarne Hansen Oct 8 15:57:51 ns1 ipop3d[21493]: Command stream end of file while reading line user=??? host=169-134.dsl.connexus.net.au [203.34.169.134]
Re: required conversion from Netscape mail server to QMAIL
hello sir what iam looking is not new mail, iam looking old stored mails to move to new qmail server with out dropping singel mail so the my clients will have transparent moving to qmial server with new look and old mails thanks What I did when I had to do something similar was to compile vpopmail with clear text passwords and learn passwords, as well as using MySQL. I wrote a little perl script that would query the MySQL db once every hour or so, and collect all the users who had a clear text password set and weren't the postmaster. From that, I built a config file for fetchmail, then ran fetchmail against the old server (still running), and reinjected the mail into the new qmail server. Good Luck! any advice hari Dave W
courier imap...
hi- i was going off the faq for vpopmail and its courier imap support. I ran into a make error: Making all in authlib make[1]: Entering directory `/home/src/courier-imap-1.3.11/authlib' gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -L/usr/local/lib/mysql -lmysqlclient -lz -lm -lcrypt /usr/bin/ld: cannot find -lvpopmail collect2: ld returned 1 exit status make[1]: *** [authvchkpw] Error 1 make[1]: Leaving directory `/home/src/courier-imap-1.3.11/authlib' make: *** [all-recursive] Error 1 any help? thanks duncan
Re: lastauth table in Vpop5
On Sat, 2001-10-06 at 18:18, cbunnell wrote: Anyone else notice that the lastauth table in 5.0 (maybe anything after 4.9.10 too...) doesn't use a nice timestamp anymore? It used to be human readable format, now it's ticks... or have I screwed something up during install? No big deal, just wondering why it changed - or more importantly - if I screwed up. We changed it from the mysql timestamp format to unix seconds so that the sql table format (and code) would work with oracle or any other sql server. Ken Jones
weird auth errors after 4.9 - 5.0 update
Due to an unexpected system crash, I ended up making a somewhat hurried migration from vpopmail 4.9.8 and sqwebmail 0.99 on a solaris 2.6 system to vpopmail 5.0 and sqwebmail 3.0 on a solaris 8 box. Mail delivery and sqwebmail work perfectly, but strangely, vchkpw itself (and thus, pop3 access) is broken. Any user attempting to authenticate through vchkpw is denied with a vpopmail user not found error: Oct 6 19:22:52 bigtime vpopmail[3256]: [ID 436289 mail.notice] vchkpw: vpopmail user not found velcro@Óä:127.0.0.1 Oct 6 19:58:55 bigtime vpopmail[3602]: [ID 969420 mail.notice] vchkpw: vpopmail user not found velcro@cdb:127.0.0.1 Oct 6 20:00:35 bigtime vpopmail[3628]: [ID 436289 mail.notice] vchkpw: vpopmail user not found velcro@Óä:127.0.0.1 (The cdb entry in the second line was me trying to manually force vchkpw to regenerate the cdb datafile.) If I truss the vchkpw process itself, I find the following very odd section: 3628: open(/var/qmail/users/cdb, O_RDONLY) = 3 3628: lseek(3, 1264, SEEK_SET)= 1264 3628: read(3, C218\0\0\0\0\0\0, 8) = 8 3628: llseek(3, 0, SEEK_CUR) = 1272 3628: close(3)= 0 3628: getpid()= 3628 [3626] 3628: open(FF:/vpasswd.cdb, O_RDONLY) Err#2 ENOENT 3628: open(FF:/.vpasswd.lock, O_RDWR|O_CREAT|O_TRUNC, 0666) Err#2 ENOENT 3628: fstat(-1, 0xFFBEEE10) Err#9 EBADF It _looks_ like vchkpw isn't aware of what the proper path to the vpasswd cdb file is, but I can't quite understand why that would be, since all of the settings look to be in order: vpopmail 5.0 Current settings --- vpopmail directory = /project/vpopmail uid = 7800 gid = 10001 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = ON --enable-qmail-ext=y roaming users = ON --enable-roaming-users=y tcpserver file = /etc/tcp.smtp open_smtp file = /project/vpopmail/etc/open-smtp user quota = OFF --enable-hardquota=n default table optimization = many domains --enable-many-domains=y default auth module = cdb default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = ON --enable-file-sync=y default auth logging = OFF --enable-auth-logging=n default mysql logging = OFF --enable-mysql-logging=n default mysql clear passwd = OFF --enable-clear-passwd=n default valias processing = OFF --enable-valias=n pop syslog = show only failure attempts --enable-logging=e default default domain = --enable-default-domain= auth inc = -Icdb auth lib = Any clues that anybody could offer would be most appreciated. -n [EMAIL PROTECTED] What you want -- and I think you are very strange for wanting it, by the way, but I will supply you a solution anyway... (--Sean M. Doran) http://blank.org/memory/
Re: weird auth errors after 4.9 - 5.0 update
Is this a domain owned by vpopmail or a different user? What is the domain? What are the contents of the assign file for the domain? What is the real path to the vpasswd file? who owns the vpasswd and vpasswd.cdb files? Ken On Mon, 2001-10-08 at 10:53, Nathan J . Mehl wrote: Due to an unexpected system crash, I ended up making a somewhat hurried migration from vpopmail 4.9.8 and sqwebmail 0.99 on a solaris 2.6 system to vpopmail 5.0 and sqwebmail 3.0 on a solaris 8 box. Mail delivery and sqwebmail work perfectly, but strangely, vchkpw itself (and thus, pop3 access) is broken. Any user attempting to authenticate through vchkpw is denied with a vpopmail user not found error: Oct 6 19:22:52 bigtime vpopmail[3256]: [ID 436289 mail.notice] vchkpw: vpopmail user not found velcro@Óä:127.0.0.1 Oct 6 19:58:55 bigtime vpopmail[3602]: [ID 969420 mail.notice] vchkpw: vpopmail user not found velcro@cdb:127.0.0.1 Oct 6 20:00:35 bigtime vpopmail[3628]: [ID 436289 mail.notice] vchkpw: vpopmail user not found velcro@Óä:127.0.0.1 (The cdb entry in the second line was me trying to manually force vchkpw to regenerate the cdb datafile.) If I truss the vchkpw process itself, I find the following very odd section: 3628: open(/var/qmail/users/cdb, O_RDONLY) = 3 3628: lseek(3, 1264, SEEK_SET)= 1264 3628: read(3, C218\0\0\0\0\0\0, 8) = 8 3628: llseek(3, 0, SEEK_CUR) = 1272 3628: close(3)= 0 3628: getpid()= 3628 [3626] 3628: open(FF:/vpasswd.cdb, O_RDONLY) Err#2 ENOENT 3628: open(FF:/.vpasswd.lock, O_RDWR|O_CREAT|O_TRUNC, 0666) Err#2 ENOENT 3628: fstat(-1, 0xFFBEEE10) Err#9 EBADF It _looks_ like vchkpw isn't aware of what the proper path to the vpasswd cdb file is, but I can't quite understand why that would be, since all of the settings look to be in order: vpopmail 5.0 Current settings --- vpopmail directory = /project/vpopmail uid = 7800 gid = 10001 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = ON --enable-qmail-ext=y roaming users = ON --enable-roaming-users=y tcpserver file = /etc/tcp.smtp open_smtp file = /project/vpopmail/etc/open-smtp user quota = OFF --enable-hardquota=n default table optimization = many domains --enable-many-domains=y default auth module = cdb default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = ON --enable-file-sync=y default auth logging = OFF --enable-auth-logging=n default mysql logging = OFF --enable-mysql-logging=n default mysql clear passwd = OFF --enable-clear-passwd=n default valias processing = OFF --enable-valias=n pop syslog = show only failure attempts --enable-logging=e default default domain = --enable-default-domain= auth inc = -Icdb auth lib = Any clues that anybody could offer would be most appreciated. -n [EMAIL PROTECTED] What you want -- and I think you are very strange for wanting it, by the way, but I will supply you a solution anyway... (--Sean M. Doran) http://blank.org/memory/
Re: weird auth errors after 4.9 - 5.0 update
In the immortal words of Ken Jones ([EMAIL PROTECTED]): Is this a domain owned by vpopmail or a different user? What is the domain? This is a vpopmail user in the null/default domain. (Ie: ~vpopmail/users/velcro/) What are the contents of the assign file for the domain? =velcro:velcro:7800:10001:/project/vpopmail/users/velcro::: +velcro-:velcro:7800:10001:/project/vpopmail/users/velcro:-:: (from /var/qmail/users/assign) What is the real path to the vpasswd file? /project/vpopmail/users/vpasswd (/project/vpopmail is $HOME for the vpopmail user.) who owns the vpasswd and vpasswd.cdb files? -rw--- 1 vpopmail vchkpw 1703 Oct 6 18:49 vpasswd -rw--- 1 vpopmail vchkpw 4207 Jul 29 13:19 vpasswd.cdb -n [EMAIL PROTECTED] And by / the phone / I live / in fear. Sheer chance / will draw / you in / to here. (--Soul Coughing) http://blank.org/memory/
Re: required conversion from Netscape mail server to QMAIL
hari_bhr escribió: hi all iam using Netscape mail server due to the cost, i have shifted to Qmail Great chance what is my problem is how do i convert the existing mails from netscape mail server to qmail server I got it. NS-Mail Servers adds a DOS (NL+CR) to the messages. You need to pass-trought a shell to converts. That's what i did: Notes: 01.zip=all the mail from one client compress for get from old mail server to new mail server 199*=all the mail from year 1999 (NS-MailServer nomenclator) 200*=all the mail from year 2000 (NS-MailServer nomenclator) The shell: ## First, I compress all the old email from my client in a zip file called 01.zip and put it in /root/cambio if [ -r /root/cambio/01.zip ] ; then ## Copy to the right place cp /root/cambio/01.zip /home/vpopmail/domains/aac.es/user1/Maildir/new cd /home/vpopmail/domains/aac.es/a.calandria/Maildir/new ## Uncompress it unzip 01 ## Convert (that's equal to dos2unix command) recode ibmpc..lat1 199* 200** rm *.zip ## Put the rigth permission and owner:group chown vpopmail:vchkpw 199* 200* chmod 600 199* 200* fi ## That's all folks and so, continue to all your user. I hope that you understand me (sorry about my english). Please, notify me successfully changes. -- TYCTYCTYCTYCTYCTYCTYCTYCTYCTYCTYCTYCTYCTYC Juan Jose Gallardo mailto:[EMAIL PROTECTED] Departamento de Sistemas TECNOLOGIA Y CONSULTING S.A. http://www.tyc.es Capitan Haya nº55 915712114 28020-Madrid TYCTYCTYCTYCTYCTYCTYCTYCTYCTYCTYCTYCTYCTYC
Re[2]: weird auth errors after 4.9 - 5.0 update
-BEGIN PGP SIGNED MESSAGE- Hello Nathan, Monday, October 08, 2001, 6:17:39 PM, you wrote: This is a vpopmail user in the null/default domain. (Ie: ~vpopmail/users/velcro/) If you don't need support for /etc/passwd users, I highly recommend you add the default domain as normal domain and recreate the users under the domain directory. We've encountered all kind of weird trouble when we tried to use the users stuff from vpopmail. Now with everything being virtual domains, it runs absolutely smooth (to take care of system accounts: simply setup a domain named after the hostname of the machine and all mail will be delivered to it). Best regards, Gabriel -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQEVAwUBO8HWoMZa2WpymlDxAQEIVAgAjf4i7iYWRi2xd4RiEJb67LTu/6NawO9o nOEIQGY4/rt3IoDIbyMAkCaEJJ1j9XUPgIvTW516fnZXzHUpbEF0D1SuIcaH13hT sFJola3RdInMsb63iHGHbA7kfVmppqRnMYZzMnABbvsO6s09+6ahYzENc6cxDR7D uLcAYhZmjW9EN8dt2EUrNB3ONR0ScGXTG/QoxOw+vvstLEJ36pgW7P8uiKoV1xVm CqJgjFbUyErxFssQ1w5M49pJbhiHJTeYIfG3nbjlI/JVXDjH/8AdPLBtMXMABB6Z +no/P5m85x4Saar55EUO2TfFwAk23zbmcAhmnimkkRQDyLUz5V8hxw== =EdD5 -END PGP SIGNATURE-
Re[2]: required conversion from Netscape mail server to QMAIL
-BEGIN PGP SIGNED MESSAGE- Hello Vladimir, Monday, October 08, 2001, 2:49:30 PM, you wrote: but messages... their were leaved on old server. from where they could be taken by users by themselves, i dont know how to resolve this automatically. Aside from parsing Netscape's message format (no idea what would be involved in this), you could of course simply fetch the data over pop3 and save it in the maildir of the user. If you don't have cleartext passwords available, then you could have vpopmail log them to some file (although I guess you'd need to patch it in order to do this). Best regards, Gabriel -BEGIN PGP SIGNATURE- Version: PGP 6.5i iQEVAwUBO8HXXMZa2WpymlDxAQGZNQgAunlzBHZY7uVVkRb5E5DDho2kcIA7W0UM JYpfNTlWF/Ba9oVKPnmB1F8ssdop7Il4fThetuJdOV4OHyd90MLtzAlHrrkKMChP Qs58CA1jUEA7W8Mxk24qO0lMi885yy3Pcd3SLFI6z5TIqMKhhcwg50EQravhMEiT OlcCds7iHOn0yCza2nP5iqj/x5S5CXAWHT4a5Diqu72DOeS2fRpL7uWzL+sdwI10 MDwMLG0FreafmaXHm1pTxh5VTqnKTaiZggzh4z9Wj75Vnla4M6KjPpDfoC/GOG7J xrPqIm2JX2XDFfCtRJjpjZ6tISkP/4w8wgYXjINXZlpySvyjRex8Dw== =KXC/ -END PGP SIGNATURE-
How does Vpopmail authenticate a pop3 client
Roger wrote: How does Vpopmail authenticate a pop3 client using mysql, and what is required from the client please? What if any are the length of username strings etc.? What does Command stream end of file while reading line user=??? mean and what causes the error? Thanks in advance for any help Regards Roger
Vpopmail question on tree struction
HI guys, I have installed and works great qmail with vpopmail and sqwebmail, I notice though, after creating serveral users, (created a script with all user name) I end up with directories called A B C etc... which contains users, I check with qmailadmin and they look ok. Just wonder is this normal? Here is the script that I used: #!/bin/sh file=webusers1 for i in `cat $file` do if [ ! -d /home/vpopmail/domains/webpipe.net/$i ]; then /home/vpopmail/bin/vadduser -n $i fi done exit 0 here is the output of the dir ls a d f j k MARINA nopeprice s u vpasswd Y alexm dbrock g jami o q S UWZ b e h jasonw l mattg p r t v vpasswd.cdbwebpipe c elliot i juanm n postmaster remo T V X as you can see there are users but also there are dir like a which contains this: ls dwillow ebaker ehigham emderu epierce ervaboy ewb feimisu dwilson eboyer ehoelemi eppleyfam ervaboy1 ewingt felicia dwinnechina eis emily eppleyj ervaboy2000 excaliburstrategies ffaks dwpalmer eclipse ejgj emirandaerica ervaboy23exoticpantherffej dwroland ecoq elainea emmayer ericb ervaboy7 eyes328 fieldf dxxfbbzftbq ecto1eldredgesemnes erick7000 ervaboy97f16spec fierodee dybitter edc electra emsandens ericksen esthansonfae fineart eagleeddieelitevisual enchantedtreasures erik esther familyfunfinger eagle2 edelong ellenora endod erikj estout fatman finlayson eagle25 edg ells endoj ermac ethompsonfayrton eaglerental eesmith elpaso england ernest europa fbetts eaglesales egor emac069 enteto erothey evanhfederspill ebabaegorsemailhelpentsersrent evansd fefe they do not go by order either. Just want to know if this is normal. Thanks, REMO
vqadmin...I know
HI guys, I know this is not the right list, but I hope someone can give me an answer on this. I have about 3000 users on a domain now and I have vqadmin but I cannot see all users when I do select show users then type the domain name there. I can see all users on qmailadmin. THANKS, REMO
Re: vqadmin...I know
on 10/8/01 3:24 PM, Remo Mattei at [EMAIL PROTECTED] spake: HI guys, I know this is not the right list, but I hope someone can give me an answer on this. I have about 3000 users on a domain now and I have vqadmin but I cannot see all users when I do select show users then type the domain name there. I can see all users on qmailadmin. Last time I checked, that was a new feature in vqadmin, and it's not done. It only shows x number of users. Basically, it doesn't work yet. vqadmin is still really new. Cheers, Bill Shupp
Bounced Mail
I installed Qmail + Vpopmail with Mysql support and having some wierd issues. I can create domains fine and users, but when i send those users email to even the default domain i get a bounce saying [EMAIL PROTECTED]:Sorry, no mailbox here by that name. vpopmail (#5.1.1) but the user still gets his mail. Why is this also going to another user. thanks for any input. Che' Stevens
SegFaults instead of error codes?
Hello VPopMail List! I've noticed that sometimes the VPopMail utilities will SegFault instead of returning an error number or an error message. For instance, if you try to add a user to a non-existant domain...which _I_ would never do... ;) Is this supposed to happen at this stage in development or is something awry with my compile? thanks, -dougl Doug Ledbetter -- Hagen Software, Inc. [EMAIL PROTECTED]