[vchkpw] Auto re-creation of maildir failed. vpopmail (#5.9.9)
I'm building a new mail server to replace the existing one. I built the qmail+vpopmail+mysql+qmailadmin+sqwebmail setup, and it is all working. When I try and migrate the data over from the old server to the new, most accounts come over fine. However for some I get the following error: Auto re-creation of maildir failed. vpopmail (#5.9.9) Google searching the error has not been fruitful I'm afraid, I was hoping someone here could enlighten me before I go stark raving mad as this error has put me far far behind my schedule... -- Kent Ritchie Corlink Communications L.L.C Customer Service 1-888-727-4305
Re: [vchkpw] vpopmail 5.3.13
On Monday 13 January 2003 07:53 pm, Bill Shupp wrote: Ken, All: I have posted my vpopmail 5.3.13: Download: http://shupp.org/patches/vpopmail-5.3.13.tar.gz From the ChangeLog: - major changes to vdeloldusers - Works with any module that supports auth-logging (mysql, cdb) - lots of cleanup.. removed all mysql specific code - deprecated -r switch, replaced it with -V (verbose) - users are NOT deleted by default.. a new -D argument is required to actually delete users - brought back the -d option to specify only one domain The changes are only to vdeloldusers, but they were significant enough that I just went ahead and updated the version number. Please help test. I can find no problems on cdb or mysql. Regards, Bill Shupp Nice work. It's up on the vpopmail web site for distribution. Ken Jones
Re: [vchkpw] Vpopmail's 'tcp.smtp' question...
On Tuesday 14 January 2003 01:58 am, Alan Murrell wrote: Hello, --- Ken Jones [EMAIL PROTECTED] wrote: If --enable-roaming-users=y during configuration, Okay, so unless I have enabled romaining-users, then I don't really need to worry about tcp.smtp for Vpopmail, then? Makes sense, I guess :-) Alan Yep. Just have to worry about getting your smtp startup script to use that tcp.smtp.cdb file with the -x option. Ken
Re: [vchkpw] Vpopmail installation
My question is how do I start up Qmail to just run the queue and not have it try and bind to port 25. I want Postfix to remain bound to port 25 and act as my SMTP server. I just need Qmail to deliver mail to the vpopmail/domains/whatever Maildir's so people can get their mail. Just don't run qmail-smtpd. I get around this just by not running tcpserver, which listens on port 25 and passes requests off to qmail-smtpd. Regards, Andrew
Re: [vchkpw] Vpopmail installation
tcpserver listens on whatever port it's told to listen on, not just port 25. At 06:46 AM 01-14-2003, Andrew Kohlsmith wrote: My question is how do I start up Qmail to just run the queue and not have it try and bind to port 25. I want Postfix to remain bound to port 25 and act as my SMTP server. I just need Qmail to deliver mail to the vpopmail/domains/whatever Maildir's so people can get their mail. Just don't run qmail-smtpd. I get around this just by not running tcpserver, which listens on port 25 and passes requests off to qmail-smtpd. Regards, Andrew Paul Theodoropoulos http://www.anastrophe.com http://folding.stanford.edu The Nicest Misanthrope on the Net
Re: [vchkpw] vpopmail 5.3.13
At 05:53 PM 01-13-2003, Bill Shupp wrote: From the ChangeLog: - lots of cleanup.. removed all mysql specific code i'm curious what exactly that means. at the most basic level, it almost sounds like mysql support has been removed, though i strongly doubt that. can you clarify? Paul Theodoropoulos http://www.anastrophe.com http://folding.stanford.edu The Nicest Misanthrope on the Net
[vchkpw] roaming user for imap
I am sorry the question may be off topic. I am running vpopmail and courier-imap, roaming with vpopmail works fine but for user using imap roaming does not work. I have searched any relevant info on this topic but it is rather scare. Would anyone point me to the right direction? Many thanks in advance. David Kwok
Re: [vchkpw] vpopmail 5.3.13
On Tuesday, January 14, 2003, at 11:08 AM, Paul Theodoropoulos wrote: At 05:53 PM 01-13-2003, Bill Shupp wrote: From the ChangeLog: - lots of cleanup.. removed all mysql specific code i'm curious what exactly that means. at the most basic level, it almost sounds like mysql support has been removed, though i strongly doubt that. can you clarify? Sure. The vpopmail programs, for the most part, use the vpopmail library to do things. The library will contain the specific authorization module code... like mysql, cdb, etc... but for some reason, vdeloldusers didn't use the available function in the vpopmail libarary (vget_lastauth(), which might not have been available when vdeloldusers was written). Anyway, I just made vdeloldusers modular by using the vget_lastauth() function, rather coding it for mysql only. This was, any authorization module can benefit from vdeloldusers. I have only tested cdb and mysql, though. Regards, Bill Shupp
Re: [vchkpw] roaming user for imap
On Tuesday 14 January 2003 01:51 pm, dkwok wrote: I am sorry the question may be off topic. I am running vpopmail and courier-imap, roaming with vpopmail works fine but for user using imap roaming does not work. I have searched any relevant info on this topic but it is rather scare. Would anyone point me to the right direction? Many thanks in advance. David Kwok Here is a slice of code i put in authlib/preauthvchkpw.c It handles both courier imap and courier pop3 users. vpopmail has to be installed with roaming users first. Not sure if this is in the lastest courier releases Ken Jones preauthvchkpw.c: if ( strcmp(webmail, (char *)service) == 0 vpw-pw_gid NO_WEBMAIL ) { return(-1); } else if ( strcmp(pop3, (char *)service) == 0 ) { if ( vpw-pw_gid NO_POP ) { return(-1); } else { #ifdef POP_AUTH_OPEN_RELAY /* open the relay to pop users */ open_smtp_relay(); #endif } } else if ( strcmp(imap, (char *)service) == 0 ) { if ( vpw-pw_gid NO_IMAP ) { return(-1); } else { #ifdef POP_AUTH_OPEN_RELAY /* open the relay to imap users */ open_smtp_relay(); #endif } }
[vchkpw] Slightly OT: Sqwebmail Auth Probs?
Greetings All, Sorry if this is slightly OT, but has anyone running qmail/vpopmail/mysql/sqwebmail (on RH 7.3 in our case) run into a problem with sqwebmail logins after multiple login/logouts? We're seeing a situation where if a single user logs into and out of sqwebmail more than about 4 times over a short period of time (say 5-10 minutes), the login screen will start rejecting known good login/passwd combos with the error message invalid userid or password. TIA for any and all pointers/suggestions, --Duncan
Re: [vchkpw] Slightly OT: Sqwebmail Auth Probs?
On Tuesday 14 January 2003 02:23 pm, [EMAIL PROTECTED] wrote: Greetings All, Sorry if this is slightly OT, but has anyone running qmail/vpopmail/mysql/sqwebmail (on RH 7.3 in our case) run into a problem with sqwebmail logins after multiple login/logouts? We're seeing a situation where if a single user logs into and out of sqwebmail more than about 4 times over a short period of time (say 5-10 minutes), the login screen will start rejecting known good login/passwd combos with the error message invalid userid or password. TIA for any and all pointers/suggestions, --Duncan The only thing I can recommend is disableing the authdeamon for sqwebmail during configuration. Ken Jones
Re: [vchkpw] Slightly OT: Sqwebmail Auth Probs?
Have you tried compiling sqwebmail with the following configure options : --without-authdaemon --with-authvchkpw Michael. - Original Message - From: [EMAIL PROTECTED] To: vpopmail list [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 7:23 AM Subject: [vchkpw] Slightly OT: Sqwebmail Auth Probs? Greetings All, Sorry if this is slightly OT, but has anyone running qmail/vpopmail/mysql/sqwebmail (on RH 7.3 in our case) run into a problem with sqwebmail logins after multiple login/logouts? We're seeing a situation where if a single user logs into and out of sqwebmail more than about 4 times over a short period of time (say 5-10 minutes), the login screen will start rejecting known good login/passwd combos with the error message invalid userid or password. TIA for any and all pointers/suggestions, --Duncan
Re: [vchkpw] Slightly OT: Sqwebmail Auth Probs?
Everyone, It turns out that turning off all authentication except the vchkpw method can be done at authdaemon start time by editing (for default installs): /usr/local/share/sqwebmail/authdaemonrc even if many auth modules were built/compiled during the sqwebmail build process. Many thanks to all who replied for sending me in the right direction... --Duncan
RE: [vchkpw] roaming user for imap
Hi !! I've seen this topic come up over and over again so I finally decided to contribute to the thread... I think the problem has most likely to do with IMAP clients using persistent connections. When they first login successfully vpopmail updates tcp.smtp.cdb file and the user has open relay for one hour or whatever it is for timeout. But since the IMAP client uses persistant connection a new login procedure never takes place and the old RELAYCLIENT flag times out. Maybe this is not the case in Davids problem but I want to give a hint anyway... I know there is solution for this problem but I do not remember the webaddress. =d0Mi= I am sorry the question may be off topic. I am running vpopmail and courier-imap, roaming with vpopmail works fine but for user using imap roaming does not work. I have searched any relevant info on this topic but it is rather scare. Would anyone point me to the right direction? Many thanks in advance. David Kwok
Re: [vchkpw] roaming user for imap
I think the problem has most likely to do with IMAP clients using persistent connections. When they first login successfully vpopmail updates tcp.smtp.cdb file and the user has open relay for one hour or whatever it is for timeout. But since the IMAP client uses persistant connection a new login procedure never takes place and the old RELAYCLIENT flag times out. That's a good point -- In my particular case authdaemon is not updating the tcp.smtp.cdb file at all though. Maybe this is not the case in Davids problem but I want to give a hint anyway... I know there is solution for this problem but I do not remember the webaddress. A solution could be to revalidate the IP on any IMAP access, instead of just the initial login. Regards, Andrew
Re: [vchkpw] roaming user for imap
On Tuesday, January 14, 2003, at 03:25 PM, Andrew Kohlsmith wrote: That's a good point -- In my particular case authdaemon is not updating the tcp.smtp.cdb file at all though. authdaemon does NOT pass the IP to vpopmail. That's why you can't use it if you want roaming IMAP users. Bill
RE: [vchkpw] Postgres support?
I had done some finishing work with the code that Nels wrote and am currently running vpopmail 5.3.4 in a production environment with a little over 1000 users. It works very well with no hangups that I have noticed. I submitted the code to the vpopmail developers back around May or April of 2002. Since then there has been little interest from the vpopmail community for postgresql support and the vpopmail development team. From the looks of it, postgresql support will not be making it into vpopmail unless someone makes patches for every release. I still have the code and would like to see it integrated into vpopmail. I don't know much about autoconf and haven't had the time to learn or I'd do that part myself. I think that's about all that needs to be done. Once autoconf knows about postgresql, the make file should be generated properly and we'd have postgresql support. Feel free to contact me off list if you'd like to discuss this further. Charlie -Original Message- From: Caffeinate The World [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 9:49 AM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] Postgres support? --- Andrew Kohlsmith [EMAIL PROTECTED] wrote: Back in April of last year I'd asked about Postgres support in vpopmail and Bill had mentioned that it was in the development version. Has that been abandoned altogether? I didn't see it in the current stable release, and there's been a few releases between 04/02 and now. :-) I checked with the guy who did the original Postgresql patch, but he hacked together the Configure files etc to make it compile. He has not done any work on it and someone else seemed to have taken over the work. What I ended up doing was using qmail-sql available at: http://qmail-sql.digibel.be Then I patched courier-imap for configurable custom SELECT and UPDATE SQL queries for use with IMAP and POP3. I sent the patch back to Sam (author of Courier). Courier IMAP SQL uses its own table schema which is different from qmail-sql. Having customizable SELECT and UPDATE queries allow you to glue the two together. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Re: [vchkpw] Postgres support?
On Tuesday, January 14, 2003, at 04:29 PM, Charles J. Boening wrote: I had done some finishing work with the code that Nels wrote and am currently running vpopmail 5.3.4 in a production environment with a little over 1000 users. It works very well with no hangups that I have noticed. I submitted the code to the vpopmail developers back around May or April of 2002. Since then there has been little interest from the vpopmail community for postgresql support and the vpopmail development team. From the looks of it, postgresql support will not be making it into vpopmail unless someone makes patches for every release. I still have the code and would like to see it integrated into vpopmail. I don't know much about autoconf and haven't had the time to learn or I'd do that part myself. I think that's about all that needs to be done. Once autoconf knows about postgresql, the make file should be generated properly and we'd have postgresql support. Feel free to contact me off list if you'd like to discuss this further. Please send it directory to me, and I can integrate it. Regards, Bill
RE: [vchkpw] Postgres support?
I for one am very interested in postgresql support in vpopmail and have been quietly waiting for it. I had even inquired about the cost of finishing up the work on this list, but received no replies. Since then I have setup mysql, but would still like to use postgresql someday. If there is anything I can do to help out, let me know. Jay Tortorelli -Original Message- From: Charles J. Boening [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 4:30 PM To: 'Caffeinate The World' Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [vchkpw] Postgres support? I had done some finishing work with the code that Nels wrote and am currently running vpopmail 5.3.4 in a production environment with a little over 1000 users. It works very well with no hangups that I have noticed. I submitted the code to the vpopmail developers back around May or April of 2002. Since then there has been little interest from the vpopmail community for postgresql support and the vpopmail development team. From the looks of it, postgresql support will not be making it into vpopmail unless someone makes patches for every release. I still have the code and would like to see it integrated into vpopmail. I don't know much about autoconf and haven't had the time to learn or I'd do that part myself. I think that's about all that needs to be done. Once autoconf knows about postgresql, the make file should be generated properly and we'd have postgresql support. Feel free to contact me off list if you'd like to discuss this further. Charlie -Original Message- From: Caffeinate The World [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 9:49 AM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] Postgres support? --- Andrew Kohlsmith [EMAIL PROTECTED] wrote: Back in April of last year I'd asked about Postgres support in vpopmail and Bill had mentioned that it was in the development version. Has that been abandoned altogether? I didn't see it in the current stable release, and there's been a few releases between 04/02 and now. :-) I checked with the guy who did the original Postgresql patch, but he hacked together the Configure files etc to make it compile. He has not done any work on it and someone else seemed to have taken over the work. What I ended up doing was using qmail-sql available at: http://qmail-sql.digibel.be Then I patched courier-imap for configurable custom SELECT and UPDATE SQL queries for use with IMAP and POP3. I sent the patch back to Sam (author of Courier). Courier IMAP SQL uses its own table schema which is different from qmail-sql. Having customizable SELECT and UPDATE queries allow you to glue the two together. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
[vchkpw] qmail-newu: fatal: bad format in users/assign
I have recently upgraded from Mandrake 8.2 to 9.0. For quite a few months I have had a smoothly working qmail-vpopmail-ezmlm-qmailadmin set-up working. The upgrade seemed to have caused no problems. I have just tried to add a new domain and received the following error. (I have changed the domain name to ? and the password has also been mangled to protect the innocent.) [root@server bin]# ./vadddomain ???.com 4563?? qmail-newu: fatal: bad format in users/assign Error: Domain does not exist After this error, the domain name exists in /home/vpopmail but the domain folder itself is empty - no postmaster or any other file. When I open the file /var/qmail/users/assign there seems to be a normal entry as below - (snip) +???.com-:???.com:399:399:/home/vpopmail/domains/???.com:-:: There is one line a white space at the top of the file if this is significant. When I try to remove the domain using ./vdeldomain I get Error: Domain does not exist I have tried re-installing vpopmail (5.2.1) but no change. Where should I now look or what should I re-install. Apart from trying to add a domain, everything has been wonderfully trouble free. Many thanks for your help in advance, Rick Phillips
[vchkpw] .quotawarn.msg To: field
Quota Warnings are working fine, apart from the To: field not containing the users correct address: .quotawarn.msg example has To: Valued Customer:; Just wondering what I could change this to in order to have the users correct address inserted when the warining is sent? The header Delivered-To: Contains the correct users address. Deb 3.0, vpopmail-5.3.9 Regards, MB
[vchkpw] tcp.smtpd
If --enable-roaming-users=y during configuration, the vpopmail configure script attempts to auto-discoverif there is an /etc/tcp.smtp file already on the system anduse that. If it doesn't find one it will create a ~vpopmail/etc/tcp.smtpfile automatically. Ken Jones I read this on the list. This is fine. But I have a running system, and I want to move the tcp.smtd.cdb out from /etc/ directory, to the vpopmail/etc dir, than I can run everything under vpopmail user. Can I do this with a compiled vpopmail system, or I have to recompile everything ? onother : If I recompile vpopmail, than I have to recompile courier-imap too ? Thx CoyoteTM