Re: [vchkpw] Qutoa not showing correct usage
Andrew Niemantsverdriet wrote: I have a user who currently has about .5 Megs of messages in their mailbox. However the quota usages says that are using 97% of there quota. Has anybody had a problem like this before? Or does anybody have any suggestions on how to fix it? Did you compile courier-imap (asume you use that) with --withtrashquota? Maybe his trash is full. Read ./courier-imap-3.0.3/maildir/readme.mailquota.html for more info. Hope this helps -Patrick I did compile withrashquota, the trash and sent folder were both empty everything was empty. Even the maildir and the mailbox was still showing around 100% usage. I modified the quota to keep messages from bounceing and when I did that it fixed the problem magicly. When I droped the quota back down to the orginal level the mailbox usage was showing the correct amount. I am not sure what happened but I will update the list if I figure anything out.
Re: [vchkpw] Qutoa not showing correct usage
On May 10, 2004 10:21 am, Andrew Niemantsverdriet wrote: I have a user who currently has about .5 Megs of messages in their mailbox. However the quota usages says that are using 97% of there quota. Has anybody had a problem like this before? Or does anybody have any suggestions on how to fix it? _ /-\ ndrew http://www.pure-wireless.net [EMAIL PROTECTED] I've run into this before, and removing the maildirzie file, and letting it rebuild on the next logon fixes it. I've yet to figure out whay the file gets corrupted in the first place, but it seems to happen after changing a users quota. Could be coincidental though, as I haven't been able to duplicate the problem purposely yet. -- Neil Jolly Jolly Computations 30 Bow Close Cochrane, Ab T4C 1M9 Phone: 403.875.7250 Fax: 403.851.0873
Re: [vchkpw] Mysterious Problem with vdelivermail using vpasswd.cdb instead of mysql (while the all the other tools use mysql)
Are you sure the paths for old users and new users are absolutely the same? What does maillog says for e-mails sent to old users? Tonino Hi, regarding the vdominfo issue ... it looks like only the new created user accounts are accounted in the usercount output of vdominfo. The weird thing is .. I can't see how vpopmail can differ between old users and new users (they look totaly identically inside the mysqltable). Greetings, Stefan Am Montag, 10. Mai 2004 12:54 schrieb Stefan Siefert [KGN]: Hi, ldd shows that there is mysql-support linked into vdelivermail. I tested creating of a new domain .. and then create a new user .. those new users get their mails delivered ... so there needs to be a difference between the imported domains and the new domains .. I checked /var/qmail/users/assign and compared the entries ... no difference at all .. the .qmail-default files are the same too. The only difference I can see is that there is no vpasswd file in the new domain directory. Another weird point: vdominfo olddomain returns inaccurate user counts for imported domains (for example it shows that there are 4 users but checking the database I see all 37 users are imported) ... vdominfo newdomain shows the correct user count. Don't know if that has someting todo with the above probleme. Greetings, Stefan ldd as follows: # ldd vdelivermail libmysqlclient.so.12 = /usr/lib/libmysqlclient.so.12 (0x4001b000) libz.so.1 = /usr/lib/libz.so.1 (0x40052000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x4006) libc.so.6 = /lib/libc.so.6 (0x4008d000) libnsl.so.1 = /lib/libnsl.so.1 (0x401b9000) libm.so.6 = /lib/libm.so.6 (0x401cd000) libssl.so.0.9.7 = /usr/local/ssl/lib/libssl.so.0.9.7 (0x401f1000) libcrypto.so.0.9.7 = /usr/local/ssl/lib/libcrypto.so.0.9.7 (0x4021f000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) libdl.so.2 = /lib/libdl.so.2 (0x4030d000) Your case is strange since vconvert does its job well, mysql support should be enabled correctly. Do the same test with vconvert. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- La tua posta elettronica senza virus su UfficioPostale.IT Your virus free electronic mail on UfficioPostale.IT
Re: [vchkpw] Mysterious Problem with vdelivermail using vpasswd.cdb instead of mysql (while the all the other tools use mysql)
And protections of old accounts also (accounts must all belong to vpopmail and must be readable/writeable only by vpopmail). Tonino Are you sure the paths for old users and new users are absolutely the same? What does maillog says for e-mails sent to old users? Tonino Hi, regarding the vdominfo issue ... it looks like only the new created user accounts are accounted in the usercount output of vdominfo. The weird thing is .. I can't see how vpopmail can differ between old users and new users (they look totaly identically inside the mysqltable). Greetings, Stefan Am Montag, 10. Mai 2004 12:54 schrieb Stefan Siefert [KGN]: Hi, ldd shows that there is mysql-support linked into vdelivermail. I tested creating of a new domain .. and then create a new user .. those new users get their mails delivered ... so there needs to be a difference between the imported domains and the new domains .. I checked /var/qmail/users/assign and compared the entries ... no difference at all .. the .qmail-default files are the same too. The only difference I can see is that there is no vpasswd file in the new domain directory. Another weird point: vdominfo olddomain returns inaccurate user counts for imported domains (for example it shows that there are 4 users but checking the database I see all 37 users are imported) ... vdominfo newdomain shows the correct user count. Don't know if that has someting todo with the above probleme. Greetings, Stefan ldd as follows: # ldd vdelivermail libmysqlclient.so.12 = /usr/lib/libmysqlclient.so.12 (0x4001b000) libz.so.1 = /usr/lib/libz.so.1 (0x40052000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x4006) libc.so.6 = /lib/libc.so.6 (0x4008d000) libnsl.so.1 = /lib/libnsl.so.1 (0x401b9000) libm.so.6 = /lib/libm.so.6 (0x401cd000) libssl.so.0.9.7 = /usr/local/ssl/lib/libssl.so.0.9.7 (0x401f1000) libcrypto.so.0.9.7 = /usr/local/ssl/lib/libcrypto.so.0.9.7 (0x4021f000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) libdl.so.2 = /lib/libdl.so.2 (0x4030d000) Your case is strange since vconvert does its job well, mysql support should be enabled correctly. Do the same test with vconvert. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- La tua posta elettronica senza virus su UfficioPostale.IT Your virus free electronic mail on UfficioPostale.IT -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- La tua posta elettronica senza virus su UfficioPostale.IT Your virus free electronic mail on UfficioPostale.IT
[vchkpw] Re: vdelivermail bounce-no-mailbox. Can I drop?
Hello List, On Monday, May 10, 2004 at 3:02:09 PM [EMAIL PROTECTED] wrote (at least in part): does vdelivermail mail have a drop-no-mailbox option? || /home/vpopmail/bin/vdelivermail '' delete [...] stupid me, here I was reading the manual for the thing and never got that answer. http://www.inter7.com/vpopmail/doc/vdelivermail.html Thanks Pit! Thanks for your reply that shows the incompleteness in docs. I've created and send a patch to CVS version. Maybe it's incorporated and Inter7 website updated accordingly. -- Best regards Peter Palmreuther How can I believe that everything in this world is going to be fine?
Re: [vchkpw] Mysterious Problem with vdelivermail using vpasswd.cdb instead of mysql (while the all the other tools use mysql)
Some answers ... the setup is the following: Vpopmail is installed to /var/vpopmail ..because of diskspace issues I linked /var/vpopmail/domains to /home/vpopmail/domains/ (where the vpopmail installation was installed on the old server). All new domains get /var/vpopmail/domains/domainname/as directory while all old domains have /home/vpopmail/domains/. But this can't be the problem because new domains does works without any problems ... only new user accounts of old domains make trouble. All File Ownerships and Permissions are checked twice .. looks everything the same. Greetings, Stefan Am Montag, 10. Mai 2004 15:30 schrieb Tonix: And protections of old accounts also (accounts must all belong to vpopmail and must be readable/writeable only by vpopmail). Tonino Are you sure the paths for old users and new users are absolutely the same? What does maillog says for e-mails sent to old users? Tonino Hi, regarding the vdominfo issue ... it looks like only the new created user accounts are accounted in the usercount output of vdominfo. The weird thing is .. I can't see how vpopmail can differ between old users and new users (they look totaly identically inside the mysqltable). Greetings, Stefan Am Montag, 10. Mai 2004 12:54 schrieb Stefan Siefert [KGN]: Hi, ldd shows that there is mysql-support linked into vdelivermail. I tested creating of a new domain .. and then create a new user .. those new users get their mails delivered ... so there needs to be a difference between the imported domains and the new domains .. I checked /var/qmail/users/assign and compared the entries ... no difference at all .. the .qmail-default files are the same too. The only difference I can see is that there is no vpasswd file in the new domain directory. Another weird point: vdominfo olddomain returns inaccurate user counts for imported domains (for example it shows that there are 4 users but checking the database I see all 37 users are imported) ... vdominfo newdomain shows the correct user count. Don't know if that has someting todo with the above probleme. Greetings, Stefan ldd as follows: # ldd vdelivermail libmysqlclient.so.12 = /usr/lib/libmysqlclient.so.12 (0x4001b000) libz.so.1 = /usr/lib/libz.so.1 (0x40052000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x4006) libc.so.6 = /lib/libc.so.6 (0x4008d000) libnsl.so.1 = /lib/libnsl.so.1 (0x401b9000) libm.so.6 = /lib/libm.so.6 (0x401cd000) libssl.so.0.9.7 = /usr/local/ssl/lib/libssl.so.0.9.7 (0x401f1000) libcrypto.so.0.9.7 = /usr/local/ssl/lib/libcrypto.so.0.9.7 (0x4021f000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) libdl.so.2 = /lib/libdl.so.2 (0x4030d000) Your case is strange since vconvert does its job well, mysql support should be enabled correctly. Do the same test with vconvert. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- La tua posta elettronica senza virus su UfficioPostale.IT Your virus free electronic mail on UfficioPostale.IT -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- La tua posta elettronica senza virus su UfficioPostale.IT Your virus free electronic mail on UfficioPostale.IT
[vchkpw] known bug dont fixed in vpopmail?
Hi folks! After I used vdeldomain and vadddomain. I could not login on my qmail with telnet 127.0.0.1: 421 unable to read controls (#4.3.0) After a googled I found this: http://www.faqts.com/knowledge_base/view.phtml/aid/10043/fid/139 The report is on: Jun 12th, 2002 05:47 I use : # ./vuserinfo -v version: 5.4.2 Is it a known bug in vpopmail? Viele Grusse, Peter. -- www: http://peter.tux.hm www: http://tux.hm - Linux- und BSD-UserGroup im Weserbergland gpg: http://blackhole.pca.dfn.de:11371/pks/lookup?op=getsearch=0x690A1AC2
Re: [vchkpw] Mysterious Problem with vdelivermail using vpasswd.cdb instead of mysql (while the all the other tools use mysql)
Hm ... I read a little bit through the vpopmail source code ... and I don't understand some things: vdelivermail uses a funcion called vauth_getpwd() to get the userdetails. This function is located in the file vauth.c. But this Function ONLY uses the cdb files: struct vqpasswd *vauth_getpw(char *user, char *domain) { set_vpasswd_files( in_domain ); if ((pwf = fopen(vpasswd_cdb_file,r)) == NULL) { } There is a vauth_getpw functon in vmysql.h so I guess the configre / make script just substitutes the choosen Authentificationfunctions at build time ... but .. the vauth_getpw funcion in mysql.c can ONLY use mysql and there is no fallback for cbd files .. which means that I can't find any possibility how vdelivermail could chose for one user the cbd file and for another the mysql database ... So why does qmail stops delivering mail to my old users when I remove the cbd files in the old domains? Greetings, Stefan Am Montag, 10. Mai 2004 16:45 schrieb Stefan Siefert [KGN]: Some answers ... the setup is the following: Vpopmail is installed to /var/vpopmail ..because of diskspace issues I linked /var/vpopmail/domains to /home/vpopmail/domains/ (where the vpopmail installation was installed on the old server). All new domains get /var/vpopmail/domains/domainname/as directory while all old domains have /home/vpopmail/domains/. But this can't be the problem because new domains does works without any problems ... only new user accounts of old domains make trouble. All File Ownerships and Permissions are checked twice .. looks everything the same. Greetings, Stefan Am Montag, 10. Mai 2004 15:30 schrieb Tonix: And protections of old accounts also (accounts must all belong to vpopmail and must be readable/writeable only by vpopmail). Tonino Are you sure the paths for old users and new users are absolutely the same? What does maillog says for e-mails sent to old users? Tonino Hi, regarding the vdominfo issue ... it looks like only the new created user accounts are accounted in the usercount output of vdominfo. The weird thing is .. I can't see how vpopmail can differ between old users and new users (they look totaly identically inside the mysqltable). Greetings, Stefan Am Montag, 10. Mai 2004 12:54 schrieb Stefan Siefert [KGN]: Hi, ldd shows that there is mysql-support linked into vdelivermail. I tested creating of a new domain .. and then create a new user .. those new users get their mails delivered ... so there needs to be a difference between the imported domains and the new domains .. I checked /var/qmail/users/assign and compared the entries ... no difference at all .. the .qmail-default files are the same too. The only difference I can see is that there is no vpasswd file in the new domain directory. Another weird point: vdominfo olddomain returns inaccurate user counts for imported domains (for example it shows that there are 4 users but checking the database I see all 37 users are imported) ... vdominfo newdomain shows the correct user count. Don't know if that has someting todo with the above probleme. Greetings, Stefan ldd as follows: # ldd vdelivermail libmysqlclient.so.12 = /usr/lib/libmysqlclient.so.12 (0x4001b000) libz.so.1 = /usr/lib/libz.so.1 (0x40052000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x4006) libc.so.6 = /lib/libc.so.6 (0x4008d000) libnsl.so.1 = /lib/libnsl.so.1 (0x401b9000) libm.so.6 = /lib/libm.so.6 (0x401cd000) libssl.so.0.9.7 = /usr/local/ssl/lib/libssl.so.0.9.7 (0x401f1000) libcrypto.so.0.9.7 = /usr/local/ssl/lib/libcrypto.so.0.9.7 (0x4021f000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) libdl.so.2 = /lib/libdl.so.2 (0x4030d000) Your case is strange since vconvert does its job well, mysql support should be enabled correctly. Do the same test with vconvert. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- La tua posta elettronica senza virus su UfficioPostale.IT Your virus free electronic mail on UfficioPostale.IT -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- La tua posta elettronica senza virus su UfficioPostale.IT Your virus free electronic mail on UfficioPostale.IT
RE: [vchkpw] known bug dont fixed in vpopmail?
After I used vdeldomain and vadddomain. I could not login on my qmail with telnet 127.0.0.1: 421 unable to read controls (#4.3.0) Is it a known bug in vpopmail? I've seen the same thing happen after using vdeldomain. It changed permisisons on /var/qmail/control/rcpthosts to 600. Didn't happen using vadddomain though. I posted about it months ago but never got a response so I scripted a fix. I recently upgraded to the latest vpopmail (from 5.2.1 to 5.4.3)and it doesn't do it anymore. Make sure you have the latest vpopmail.
RE: [vchkpw] -ERR authorization failed
Does vpopmail work with both local and virtual users at the same time? -Original Message- From: Edward Neville [mailto:[EMAIL PROTECTED] Sent: 06 May 2004 10:39 To: [EMAIL PROTECTED] Subject: [vchkpw] -ERR authorization failed Hello, I have spent two hours debugging why neither local or virtual users can log into a mail system via pop. I have now found the answer, but it was very obscure and yet obvious. echo '#!/bin/sh' /var/qmail/supervise/qmail-pop3d/run echo 'PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin' /var/qmail/supervise/qmail-pop3d/run echo 'export PATH' /var/qmail/supervise/qmail-pop3d/run echo 'exec tcpserver -H -R -v -c100 0 110 qmail-popup '$FQDN' \\' /var/qmail/supervise/qmail-pop3d/run echo '/home/vpopmail/bin/vchkpw qmail-pop3d Maildir 21' /var/qmail/supervise/qmail-pop3d/run The above is a segment of a script that I use to create the run file. Myself being a C person found it hard to spot the error until I decided to run the tcpserver with logging output to the console so I can see whats going on. The users could then login without problem. So I rebooted. Users could not log in. Then I looked at the process table to see that a '\\' appearing after the domain name. Once I changed the \\ to \ the script was then fine, and no authorization errors!
[vchkpw] test
test
[vchkpw] Qutoa not showing correct usage
I have a user who currently has about .5 Megs of messages in their mailbox. However the quota usages says that are using 97% of there quota. Has anybody had a problem like this before? Or does anybody have any suggestions on how to fix it? _ /-\ ndrew http://www.pure-wireless.net [EMAIL PROTECTED]
[vchkpw] Problem after installing vpopmain [UPDATE]
In addition to my earlier posted problem I have found out the following: If I check the imapd/current log I see that it tries to chdir to /home/test After I created the new user skel consisting out of a homedir+maildir I can log in. However, the mailbox is still empty. Mail is delivered to /server/vpopmail/domains/[FQDM]/test Why is it that imap is looking at the wrong places and how do I make it work with the correct files? -Patrick
Re: [vchkpw] Mysterious Problem with vdelivermail using vpasswd.cdb instead of mysql (while the all the other tools use mysql)
On May 10, 2004, at 8:31 AM, Stefan Siefert [KGN] wrote: vdelivermail uses a funcion called vauth_getpwd() to get the userdetails. This function is located in the file vauth.c. But this Function ONLY uses the cdb files: At configuration time, vpopmail makes vauth.c a static link to vcdb.c, vmysql.c, vpgsql.c or one of the other auth modules. When you look at vauth.c, you're looking at the auth module you configured for. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Problems with authentication
What version of vpopmail? The defaultdomain file was added somewhere in the 5.3 series. Be sure to recompile/install Courier-IMAP (if you're using it) so it can use the new vpopmail code for setting the default domain. On May 7, 2004, at 8:44 AM, Michael J Humphries wrote: I have this in now and it still does not authenticate with the full name [EMAIL PROTECTED] root]# cd ~vpopmail/etc [EMAIL PROTECTED] etc]# cat defaultdomain uptel.local [EMAIL PROTECTED] etc]# Michael J. Humphries Alphacomm.net Getting You Connected!!! 906-639-3500 - Carney 906-753-6410 - Stephenson 877-450-3500 - Toll Free www.alphacomm.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 10:14 AM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] Problems with authentication I am using netqmail 1.05, tcpserver, and vpopmail. I can now login using all means necessary but I have to use the username%domainname setup to login. I only have one domain here. Is there a setting that I am missing so that I can not use the %domainname suffix? Michael J. Humphries Alphacomm.net Getting You Connected!!! 906-639-3500 - Carney 906-753-6410 - Stephenson 877-450-3500 - Toll Free www.alphacomm.net default domain for vpopmail is ~vpopmail/etc/defaultdomain run: echo sddt.com ~vpopmail/etc/defaultdomain -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] MySQL error messages vpalias.c
On May 6, 2004, at 7:11 PM, Rick Widmer wrote: At first glance, it appers that vpalias.c, vmysql.c and vpgsql.c share common functions. It seems to me that if the code is in vmysql.c and vpgsql.c it should also appear in vcdb.c and vpalias.c should not exist. It looks like there is some ifdef magic going on to hide the code in this file. It seems to me it would be better to add vpalias.c to vcdb.c and add empty function definitions in the other auth back-ends. Ifdefs would remain so you can still switch valias on or off with a ./configure option. Should I move it to cdb.c? No, because we need to continue supporting aliases stored as .qmail-alias files (which is actually unrelated to the backend) even when using a database as a front-end. vpalias.c is the default method for storing aliases. --enable-valias overrides that option and stores aliases in MySQL (only if you're using MySQL as the backend). -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] Qutoa not showing correct usage
Andrew Niemantsverdriet wrote: I have a user who currently has about .5 Megs of messages in their mailbox. However the quota usages says that are using 97% of there quota. Has anybody had a problem like this before? Or does anybody have any suggestions on how to fix it? _ /-\ ndrew http://www.pure-wireless.net [EMAIL PROTECTED] Did you compile courier-imap (asume you use that) with --withtrashquota? Maybe his trash is full. Read ./courier-imap-3.0.3/maildir/readme.mailquota.html for more info. Hope this helps -Patrick
[vchkpw] Problem after installing vpopmain [SOLVED]
It appeared that the daemontools run file was pointing to the wrong authlib; authshadow while authvchkpw was needed. All is working as expected. So, every person who was franticly looking for an answer to help me out, thanks. Oh wait, nobody repliedwell thats ok :) -Patrick
[vchkpw] Mysterious Problem with vdelivermail using vpasswd.cdb instead of mysql (while the all the other tools use mysql)
Hi, I hope this is the correct Mailinglist for my little Problem, if not please excuse this annoyance. I converted one of our mailserver yesterday to vpopmail 5.4.0 with mysql-support. Vconvert did a great job and all users where converted to mysql-format and are working withut any problems. If I add new users everthing is working fine too ... apart from Sorry no mailbox ... Errors in the logs and every mail to those new accounts bounces. The account is added to the mysql table, vuserinfo is showing the correct values ... I can log into those accounts using imap/pop3. Every tool seems to use the mysql-database ... apart from vdelivermail .. vdelivermail seems to use the vpasswd files (which are still present because of the old setup). So only mails for user standing in the vpasswd file will be delivered (removing the vpasswd file results in no user is getting any mail anymore). Anyone out there who might provide a hint? Any other infos you might need? Greetings and thanks a lot, Stefan
Re: [vchkpw] Mysterious Problem with vdelivermail using vpasswd.cdb instead of mysql (while the all the other tools use mysql)
On Mon, 2004-05-10 at 12:34, Stefan Siefert [KGN] wrote: Hi, I hope this is the correct Mailinglist for my little Problem, if not please excuse this annoyance. I converted one of our mailserver yesterday to vpopmail 5.4.0 with mysql-support. Vconvert did a great job and all users where converted to mysql-format and are working withut any problems. If I add new users everthing is working fine too ... apart from Sorry no mailbox ... Errors in the logs and every mail to those new accounts bounces. The account is added to the mysql table, vuserinfo is showing the correct values ... I can log into those accounts using imap/pop3. Every tool seems to use the mysql-database ... apart from vdelivermail .. vdelivermail seems to use the vpasswd files (which are still present because of the old setup). So only mails for user standing in the vpasswd file will be delivered (removing the vpasswd file results in no user is getting any mail anymore). Anyone out there who might provide a hint? Any other infos you might need? Greetings and thanks a lot, Stefan I think you can check whether vdelivermail is using mysql or not with ldd as follows: # ldd vdelivermail libmysqlclient.so.12 = /usr/lib/libmysqlclient.so.12 (0x4001b000) libz.so.1 = /usr/lib/libz.so.1 (0x40052000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x4006) libc.so.6 = /lib/libc.so.6 (0x4008d000) libnsl.so.1 = /lib/libnsl.so.1 (0x401b9000) libm.so.6 = /lib/libm.so.6 (0x401cd000) libssl.so.0.9.7 = /usr/local/ssl/lib/libssl.so.0.9.7 (0x401f1000) libcrypto.so.0.9.7 = /usr/local/ssl/lib/libcrypto.so.0.9.7 (0x4021f000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) libdl.so.2 = /lib/libdl.so.2 (0x4030d000) Your case is strange since vconvert does its job well, mysql support should be enabled correctly. Do the same test with vconvert.
Re: [vchkpw] Mysterious Problem with vdelivermail using vpasswd.cdb instead of mysql (while the all the other tools use mysql)
Hi, ldd shows that there is mysql-support linked into vdelivermail. I tested creating of a new domain .. and then create a new user .. those new users get their mails delivered ... so there needs to be a difference between the imported domains and the new domains .. I checked /var/qmail/users/assign and compared the entries ... no difference at all .. the .qmail-default files are the same too. The only difference I can see is that there is no vpasswd file in the new domain directory. Another weird point: vdominfo olddomain returns inaccurate user counts for imported domains (for example it shows that there are 4 users but checking the database I see all 37 users are imported) ... vdominfo newdomain shows the correct user count. Don't know if that has someting todo with the above probleme. Greetings, Stefan ldd as follows: # ldd vdelivermail libmysqlclient.so.12 = /usr/lib/libmysqlclient.so.12 (0x4001b000) libz.so.1 = /usr/lib/libz.so.1 (0x40052000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x4006) libc.so.6 = /lib/libc.so.6 (0x4008d000) libnsl.so.1 = /lib/libnsl.so.1 (0x401b9000) libm.so.6 = /lib/libm.so.6 (0x401cd000) libssl.so.0.9.7 = /usr/local/ssl/lib/libssl.so.0.9.7 (0x401f1000) libcrypto.so.0.9.7 = /usr/local/ssl/lib/libcrypto.so.0.9.7 (0x4021f000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) libdl.so.2 = /lib/libdl.so.2 (0x4030d000) Your case is strange since vconvert does its job well, mysql support should be enabled correctly. Do the same test with vconvert.
Re: [vchkpw] Mysterious Problem with vdelivermail using vpasswd.cdb instead of mysql (while the all the other tools use mysql)
Hi, regarding the vdominfo issue ... it looks like only the new created user accounts are accounted in the usercount output of vdominfo. The weird thing is .. I can't see how vpopmail can differ between old users and new users (they look totaly identically inside the mysqltable). Greetings, Stefan Am Montag, 10. Mai 2004 12:54 schrieb Stefan Siefert [KGN]: Hi, ldd shows that there is mysql-support linked into vdelivermail. I tested creating of a new domain .. and then create a new user .. those new users get their mails delivered ... so there needs to be a difference between the imported domains and the new domains .. I checked /var/qmail/users/assign and compared the entries ... no difference at all .. the .qmail-default files are the same too. The only difference I can see is that there is no vpasswd file in the new domain directory. Another weird point: vdominfo olddomain returns inaccurate user counts for imported domains (for example it shows that there are 4 users but checking the database I see all 37 users are imported) ... vdominfo newdomain shows the correct user count. Don't know if that has someting todo with the above probleme. Greetings, Stefan ldd as follows: # ldd vdelivermail libmysqlclient.so.12 = /usr/lib/libmysqlclient.so.12 (0x4001b000) libz.so.1 = /usr/lib/libz.so.1 (0x40052000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x4006) libc.so.6 = /lib/libc.so.6 (0x4008d000) libnsl.so.1 = /lib/libnsl.so.1 (0x401b9000) libm.so.6 = /lib/libm.so.6 (0x401cd000) libssl.so.0.9.7 = /usr/local/ssl/lib/libssl.so.0.9.7 (0x401f1000) libcrypto.so.0.9.7 = /usr/local/ssl/lib/libcrypto.so.0.9.7 (0x4021f000) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) libdl.so.2 = /lib/libdl.so.2 (0x4030d000) Your case is strange since vconvert does its job well, mysql support should be enabled correctly. Do the same test with vconvert.
[vchkpw] Odity with local users
Hello, Im having some issues when local users are trying to log in, they receive -ERR authorization failed, however, imap is working fine, with the same accounts. In the /var/log/syslog I have vchkpw-pop3: vpopmail user not found [EMAIL PROTECTED] Could someone shed some light on this for me please?
[vchkpw] vdelivermail bounce-no-mailbox. Can I drop?
The standard implementation of the ~.qmail-default for a vpopmail domain is to use the string | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox I don't care about handling bounces for typo'd addresses and I want to /dev/null them. does vdelivermail mail have a drop-no-mailbox option?
[vchkpw] Problem after installing vpopmain
Hi all, I have the strangest of problems going on after installing vpopmail qmailadmin. But first some history; At first I installed Qmail + Courier-Imap + Squirrelmail, which all worked fine using 1 domain and system users. After that I wanted to host multiple domains, so I created one using dyndns and I installed vpopmail and qmailadmin. All went well, encountering the usual installation quirks :) Anyhow, everything looks fine, but the funny thing is, I cannot log in using virtual users, but with system users I can. Other thing is, I the mailboxes remain empty, while mail /is/ delivered (they show in the ./maildir/new files). So, I can create virtual domains and virtual users; no errors and they show up in the appropiate files and folders. I can send mail to those domains and users. However, I cannot login to the virtual domains using virtual users (incorrect username or password), but I can using a system account. After loggin in with a system account the mailbox is empty, even though mail is successfully delivered as I can see them in the /mailbox/new folder. I have rechecked the installation notes and everything looks ok. Now, how can I trace what is going wrong, and what could possibly have gone wrong as I have followed the instructions from the inter7 site. Any help is most apreciated. -Patrick
Re: [vchkpw] vdelivermail bounce-no-mailbox. Can I drop?
[EMAIL PROTECTED] wrote: does vdelivermail mail have a drop-no-mailbox option? Replace drop-no-mailbox with delete Rick
[vchkpw] Re: vdelivermail bounce-no-mailbox. Can I drop?
Hello List, On Monday, May 10, 2004 at 2:20:31 PM [EMAIL PROTECTED] wrote (at least in part): I don't care about handling bounces for typo'd addresses and I want to /dev/null them. does vdelivermail mail have a drop-no-mailbox option? Yes: ,- [ vpopmail FAQ ] | 32. I don't want to bounce emails for non existent users. Instead I want | to delete them, how? | |The last parameter in the .qmail-default file tells vdelivermail |what to do with non-matching emails. The default is to bounce |the email back to the sender. But you can also delete it instead. | |update your .qmail-default file from something like this: || /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox | |to something like this: || /home/vpopmail/bin/vdelivermail '' delete `- Reading s***s, I know. -- Best regards Peter Palmreuther If at first you don't succeed, skydiving is not for you.
Re: [vchkpw] Re: vdelivermail bounce-no-mailbox. Can I drop?
Hello List, On Monday, May 10, 2004 at 2:20:31 PM [EMAIL PROTECTED] wrote (at least in part): I don't care about handling bounces for typo'd addresses and I want to /dev/null them. does vdelivermail mail have a drop-no-mailbox option? Yes: ,- [ vpopmail FAQ ] | 32. I don't want to bounce emails for non existent users. Instead I want | to delete them, how? | |The last parameter in the .qmail-default file tells vdelivermail |what to do with non-matching emails. The default is to bounce |the email back to the sender. But you can also delete it instead. | |update your .qmail-default file from something like this: || /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox | |to something like this: || /home/vpopmail/bin/vdelivermail '' delete `- Reading s***s, I know. -- Best regards Peter Palmreuther If at first you don't succeed, skydiving is not for you. stupid me, here I was reading the manual for the thing and never got that answer. http://www.inter7.com/vpopmail/doc/vdelivermail.html Thanks Pit!