Re: [vchkpw] Re: Vpopmail with mysql and md5-apop/md5-cram auth
Hi Info, Three notes first: - Writing in German to this list ain't a really good idea. Germans will be the minority here, so english is the preferred language. - Sending your answer to the list is enough, I'm reading the list and don't need a copy in my PM mailbox. - Setting Reply-To in your mails to anything different than this lists address is a bad idea, unless your mail is going to be OT and you want answers _only_ via PM. While you expect answers helping with your vpopmail problem you should set Reply-To to [EMAIL PROTECTED] or leave it empty. On Wed, 18 Dec 2002 21:34:41 +0100 Info @ wdc [EMAIL PROTECTED] wrote: Now I have a new system with mysql-support [...] But md5-driven auth fails, because the auth-process log into the system with a md5-key, which is not the same as the normal password of the user. - log output of vchkpw Dec 18 21:08:23 mx2 /var/log/vpopmail.log[23809]: vchkpw-pop3: password fail [EMAIL PROTECTED]:217.235.36.51 OK, so it seems to lookup the correct user. - log output of MySQL which select statements were given? Also die Abfrage scheitn so auf die Tabelle zu laufen, dass statt nach dem Passwort plain ein md5-gecryptetes Passwort abgefragt wird. - es wird generell, s.o. kein plain Pass abgefragt. [ rough translation] | The query seems to request no plain text but only MD5-crypted | password. That's not correct. select pw_name, pw_passwd, pw_uid, pw_gid, p w_gecos, pw_dir, pw_shell , pw_clear_passwd from vpopmail where pw_name = billing and pw_domain = w-d-c.net This query fetches the whole data set, _including_ clear password (pw_clear_passwd). Have you done this query manually to see if the result contains the clear text password? As I don't run a MySQL backend for vpopmail authentication myself, could anybody who does have a look if APOP is working in general with MySQL as user data storage? BTW: Christian, it might be usefull knowing which version of vpopmail you're using, you didn't provide this information yet. -- Peter
Re: [vchkpw] Qmail + Vpopmail
Hi Rob, On Wed, 18 Dec 2002 16:26:02 -0500 Rob G [EMAIL PROTECTED] wrote: I am trying to get QMail and Vpopmail installed on my Redhat 8 system. Right now I am running in to the problem that the mail is not being received by the end user. I believe I have everything setup correctly but nothing drops into the MailDir of the user that was created through Vpopmail. I am unsure as to what information you would need to help me with this problem but ask away because I need to get this up and running. What's in your mail log files? What error message does qmail log? -- Peter
[vchkpw] Qmail + Vpopmail + patches
Hello, all Probably an already discussed topic.. I need qmail to reject mails whose 'mail from:' contains an invalid domain AND reject mail if the recipient is not known locally (not in the vpopmail mysql database) and not an alias, etc. Both patches work fine for me, but only separately. Tried varios ways of applying both, tried patching manually, but I get various errors and cannot compile qmail-smtpd. (or it compiles but does not do what I want it to do.) Does anyone have a working solution for these 2 features? Or is there a cumulative patch? I tried using http://www.interazioni.it/qmail/qmail-smtpd-chkusr-1.0.patch and http://www.qmail.org/qmail-1.03-mfcheck.3.patch Thanks, Anton G. Popov Bitex.com
Re[2]: [vchkpw] Re: Vpopmail with mysql and md5-apop/md5-cram auth
- log output of vchkpw Dec 18 21:08:23 mx2 /var/log/vpopmail.log[23809]: vchkpw-pop3: password fail [EMAIL PROTECTED]:217.235.36.51 PP OK, so it seems to lookup the correct user. PP | The query seems to request no plain text but only MD5-crypted PP | password. PP That's not correct. select pw_name, pw_passwd, pw_uid, pw_gid, p w_gecos, pw_dir, pw_shell , pw_clear_passwd from vpopmail where pw_name = billing and pw_domain = w-d-c.net PP This query fetches the whole data set, _including_ clear password PP (pw_clear_passwd). PP Have you done this query manually to see if the result contains the PP clear text password? the manual query contain the clear password and the pw_passwd as encrypted (maybe md5) PP As I don't run a MySQL backend for vpopmail authentication myself, could PP anybody who does have a look if APOP is working in general with MySQL as PP user data storage? PP BTW: Christian, it might be usefull knowing which version of vpopmail PP you're using, you didn't provide this information yet. I use Version 5.3.6 of vpopmail as used in shupp.org/toaster but with the mysql-backend. -- Greetings Christian Michel webdesign-centre
[vchkpw] Using vchkwp on a seperate box for smtp auth
I am wanting to setup a seperate smtp auth server and use vchkpw to query a vpopmail DB for user id and password. I then use the qmail smtproutes command to foward that mail to a virus scanning gateway and then to the final destination (the vpopmail users mailbox or external MTA). My question is do I need to set anything different on the vpopmail install other than pointing to the server running MySQL and the vpopmail db? If not will this allow the users to just use the smtp auth settings with thier email address and password? -- Ron Culler
Re: [vchkpw] Qmail + Vpopmail
One step ahead of you on that one. I deleted the Postfix user before installing Vpopmail because it would not allow me those userID's . Since PostFix is not installed on my system I figured the User Group was not needed. So I blew it away. Rob G - Original Message - From: Michael Bowe [EMAIL PROTECTED] To: 'Vchkpw' [EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 7:03 PM Subject: RE: [vchkpw] Qmail + Vpopmail One gotcha that I noticed with vpopmail and redhat 8.0 is documented in the vpopmail section of my guide at http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm It says : Make the user accounts # If you are using RH8.0, you will need to run this following command, # because RH8.0 comes preconfigured with UID/GID 89 allocated to postfix # # userdel postfix groupadd -g 89 vchkpw useradd -g vchkpw -u 89 vpopmail Michael. -Original Message- From: Rob G [mailto:[EMAIL PROTECTED]] Sent: Thursday, 19 December 2002 8:26 AM To: Qmail; Vchkpw Subject: [vchkpw] Qmail + Vpopmail Hi All, I am trying to get QMail and Vpopmail installed on my Redhat 8 system. Right now I am running in to the problem that the mail is not being received by the end user. I believe I have everything setup correctly but nothing drops into the MailDir of the user that was created through Vpopmail. I am unsure as to what information you would need to help me with this problem but ask away because I need to get this up and running. Regards, Rob G
Re: [vchkpw] Qmail + Vpopmail
Hi Peter, Which logfile are you looking for... as I have looked at a few of them but don't see anything about not finding the user etc in the logfiles that I looked at. Rob G - Original Message - From: Peter Palmreuther [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 6:14 AM Subject: Re: [vchkpw] Qmail + Vpopmail Hi Rob, On Wed, 18 Dec 2002 16:26:02 -0500 Rob G [EMAIL PROTECTED] wrote: I am trying to get QMail and Vpopmail installed on my Redhat 8 system. Right now I am running in to the problem that the mail is not being received by the end user. I believe I have everything setup correctly but nothing drops into the MailDir of the user that was created through Vpopmail. I am unsure as to what information you would need to help me with this problem but ask away because I need to get this up and running. What's in your mail log files? What error message does qmail log? -- Peter
[vchkpw] make error
Hi again, another problem: After doing ./configure --enable-roaming-users=y --enable-logging=y --enable-learn-passw ords=y --enable-clear-passwd=y --enable-defalt-domain=inrack.com --enable-my sql --enable-defaultquota=20M [EMAIL PROTECTED] --e nable-incdir=/usr/include/mysql --enable-libdir=/usr/lib/mysql/ It gives me this: vpopmail 5.3.12 Current settings --- vpopmail directory = /home/vpopmail uid = 515 gid = 510 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = OFF --enable-qmail-ext=n (default) roaming users = ON --enable-roaming-users=y tcpserver file = /etc/tcp.smtp open_smtp file = /home/vpopmail/etc/open-smtp user quota = 20M -enable-hardquota=20M auth module = mysql --enable-mysql=y mysql replication = OFF --enable-mysql-replication=n default table optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y default file sync = OFF --enable-file-sync=n default disable vdelivermail fsync make seekable = ON --enable-make-seekable=y default auth logging = ON --enable-auth-logging=y default mysql logging = OFF --enable-mysql-logging=n default clear passwd = ON --enable-clear-passwd=y (default) users big dir = ON --enable-users-big-dir=y (default) valias processing = OFF --enable-valias=n mysql limits = OFF --enable-mysql-limits=n default pop syslog = show successful and failure login attempts --enable-logging=y default domain = --enable-default-domain= auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql/ -lmysqlclient -lz After typing 'make', is get (just the last part of it): vlimits.c: In function `vget_limits': vlimits.c:100: warning: assignment makes integer from pointer without a cast rm -f libvpopmail.a ar cru libvpopmail.a vpopmail.o md5.o bigdir.o vauth.o file_lock.o vpalias.o seek.o vlimits.o cdb/*.o ranlib libvpopmail.a gcc -I. -I/usr/include/mysql -g -O2 -Wall -c vchkpw.c gcc -I. -I/usr/include/mysql -g -O2 -Wall -c hmac_md5.c gcc -g -O2 -Wall -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status make[2]: *** [vchkpw] Error 1 make[2]: Leaving directory `/var/src/vpopmail-5.3.12' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/src/vpopmail-5.3.12' make: *** [all-recursive-am] Error 2 libz resides in /usr/lib/ What's wrong ? Thanks.
Re: [vchkpw] make error
Hi Thomas, On Thu, 19 Dec 2002 15:31:31 +0100 Thomas Stian Bergheim [EMAIL PROTECTED] wrote: /usr/bin/ld: cannot find -lz [...] libz resides in /usr/lib/ What's wrong ? I don't know. Does a 'ldconfig -p' show 'libz.so' too? If not you maybe might want to update your ld-cache by running ldconfig??? -- Peter
Re: [vchkpw] Qmail + Vpopmail
Hi Rob, On Thu, 19 Dec 2002 09:05:07 -0500 Rob G [EMAIL PROTECTED] wrote: I am trying to get QMail and Vpopmail installed on my Redhat 8 system. Right now I am running in to the problem that the mail is not being received by the end user. I believe I have everything setup correctly but nothing drops into the MailDir of the user that was created through Vpopmail. I am unsure as to what information you would need to help me with this problem but ask away because I need to get this up and running. What's in your mail log files? What error message does qmail log? Which logfile are you looking for... I don't know where your computer stores log entries generated by qmail. It depends on your qmail setup, how you start qmail-send. There are two options I remember instantly: qmail-start ./Maildir splogger or qmail-start ./Maildir 21 whichs output is piped into a multilog ... But there are other possibilities. If _you_ don't know where qmail log entries are directed to it will be hard for anybody on this list to help. as I have looked at a few of them but don't see anything about not finding the user etc in the logfiles that I looked at. Haven't you found _any_, or haven't you found error messages? If it's the latter: have you found messages of _success_ for this particular mails you're trying to send? Has your qmail worked ever (w/o vpopmail)? Does it still work if you send mails to a local, non-vpopmail handled, domain? P.S.: Why is it the last days getting worse with subscribers having Reply-To's set to their e-mail-addresses? Why aren't these header fields empty, if they only contain redundant information??? This makes replying to the correct address (mailing list address) only more difficult. -- Peter
Re: [vchkpw] make error
Hmm, I didn't have zlib-devel so getting that fixed it. Thanks anyway :) - Original Message - From: Peter Palmreuther [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 4:02 PM Subject: Re: [vchkpw] make error Hi Thomas, On Thu, 19 Dec 2002 15:31:31 +0100 Thomas Stian Bergheim [EMAIL PROTECTED] wrote: /usr/bin/ld: cannot find -lz [...] libz resides in /usr/lib/ What's wrong ? I don't know. Does a 'ldconfig -p' show 'libz.so' too? If not you maybe might want to update your ld-cache by running ldconfig??? -- Peter
[vchkpw] how to display current vpopmail settings
How can I see which options my build of vpopmail is running? I want to re-compile vpopmail with a new option, but I don't want to mistakenly leave out an option that is currently running. TIA Brendan
Re: [vchkpw] how to display current vpopmail settings
cat config.status in the source directory. better yet, save your preferred options to a shell script. makes life much easier. cat VPOPOPTS #!/bin/sh ./configure \ --enable-mysql=y \ --enable-incdir=/usr/local/mysql/include \ --enable-libdir=/usr/local/mysql/lib \ --enable-valias=y \ --enable-roaming-users=y \ --enable-logging=p \ --enable-logname=vpopmail \ --enable-clear-passwd=y \ --enable-learn-passwords=y \ --enable-defaultquota=2S,1000C At 08:07 AM 12-19-2002, Brendan McAlpine wrote: How can I see which options my build of vpopmail is running? I want to re-compile vpopmail with a new option, but I don't want to mistakenly leave out an option that is currently running. TIA Brendan Paul Theodoropoulos http://www.anastrophe.com http://folding.stanford.edu The Nicest Misanthrope on the Net
Re: [vchkpw] how to display current vpopmail settings
- Original Message - From: Brendan McAlpine [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 8:07 AM Subject: [vchkpw] how to display current vpopmail settings How can I see which options my build of vpopmail is running? I want to re-compile vpopmail with a new option, but I don't want to mistakenly leave out an option that is currently running. TIA Brendan Brendan, /usr/local/src/qmail/vpopmail-5.2.1/config.status #! /bin/sh # Generated automatically by configure. # Run this file to recreate the current configuration. # This directory was configured as follows, # on host nathan: # # ./configure --includedir=/space/vpopmail/include --libdir=/space/vpopmail/l ib --enable-roaming-users=y --enable-learn-passw ords=y --enable-clear-passwd=n --enable-logging=v --enable-sqwebmail-pass=n
Fwd: Re: [vchkpw] devel: vqadmin-2.3.4 availble
this was posted to the list some time ago. you don't really need the patch file, it's just a couple of text edits. i'm kind of surprised these legitimate fixes haven't been incorporated into the code yet. in any event, they can help with some of the compile problems folks have experienced. Date: Thu, 10 Oct 2002 19:21:16 -0300 From: Dorneles Treméa [EMAIL PROTECTED] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; pt-BR; rv:1.1) Gecko/20020826 X-Accept-Language: pt-br, en To: [EMAIL PROTECTED] X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime X-eFilter: eFilter/EPS (http://www.inter7.com/efilter) Subject: Re: [vchkpw] devel: vqadmin-2.3.4 availble Hi Ken, Package: vqadmin Version: 2.3.4 (devel) Home: http://www.inter7.com/vqadmin/ Devel Home: http://www.inter7.com/devel/ ChangeLog: http://www.inter7.com/vqadmin/ChangeLog The latest development version of vqadmin is now available at http://www.inter7.com/devel/vqadmin-2.3.4.tar.gz I'm sending a patch to fix: - a typo in 'configure' file: $FILTER - $EFILTER - static string 'Qmail Control Files' in main.html - #-061 - some messages in brazilian portuguese translation file Additionaly, IHMO only 1 bytes is few to files like 'badmailfrom', so: - increase MAX_CONTENT_LENGTH limit to 5, in global.h Note: name of brazilian portuguese translation file must be 'pt-br' instead of 'br', so we need to rename it. Best regards, -- Dorneles Treméa Caxias do Sul - RS - Brasil +55 54 9114 9312 - UIN: 2413568 X3ng Web Technology http://www.x3ng.com.br Paul Theodoropoulos http://www.anastrophe.com http://folding.stanford.edu The Nicest Misanthrope on the Net
Re: [vchkpw] how to display current vpopmail settings
Hi Brendan, On Thu, 19 Dec 2002 11:07:31 -0500 Brendan McAlpine [EMAIL PROTECTED] wrote: How can I see which options my build of vpopmail is running? ~vpopmail/include/config.h It's not exactly the options passed to ./configure, but the result configure made from these options, so 'guessing what was what' is possible. -- Peter
Re: [vchkpw] changing defaults for vqadmin
H This is very weird. I have vpopmail compiled with a default quota already, but when I add someone in vqadmin, vuserinfo still displays NO QUOTA for that account's information. Now are you saying that there really is a quota set, even though it says NO QUOTA when running vuserinfo, or is my vqadmin a little flaky? Brendan On Wednesday, December 18, 2002, at 04:25 PM, Clayton Weise wrote: Compile vpopmail with a default quota. vQadmin is sort of deceiving, if you compiled vpopmail with a default quota, just leave the quota field emtpy and vqadmin will assume the default. It doesn't automatically fill in the box. On Wednesday, December 18, 2002, at 01:06 PM, Brendan McAlpine wrote: when my techs create a new account using vqadmin, by default the account is created without a quota. How do I change it so that when a new account is created it automatically has a quota of say 5MB. thanks Brendan
[vchkpw] Address book with/without LDAP
Hi guys I have a client that is using WindoZs and I am going to setup qmail for their mail server. I do have a question since I have not configure vpopmail with ldap yet some suggestions and links where to get the info from. I am guessing that this is needed to make a corp. system wide address book. Thanks, Remo
[vchkpw] IMAP and OE issue
Hi all, I got problem with Outlook Express and qmail+vpopmail+courier-imap. Ocasionally it happens that new message is marked as Message is no longer available and then the on;ly way to read it is to get via other reader. Any hints? Thx Solt
Re: [vchkpw] Address book with/without LDAP
LDAP, in basic terms, is a protocol and method of storing stuff. All sorts of stuff. The LDAP that vpopmail would be talking about would be the usernames, passwords, home directories, etc of the various email accounts on your system. Just like you would store it on a mysql or cdb database. You can also store address books in LDAP, but that's a different program. vpopmail just does email delivery. On Thursday, December 19, 2002, at 10:58 AM, Remo Mattei wrote: Hi guys I have a client that is using WindoZs and I am going to setup qmail for their mail server. I do have a question since I have not configure vpopmail with ldap yet some suggestions and links where to get the info from. I am guessing that this is needed to make a corp. system wide address book. Thanks, Remo
Re: [vchkpw] Address book with/without LDAP
Once LDAP authentication is setup, you'll know what 'fields' are being used. Ie. LDAP fullename = users Real Name. LDAP cn=email address or login name. Then configure your Addressbook of choice to read those fields. My personal experience is with LDAP on NDS, so I've had to grant rights to those properties within NDS for an LDAP guest login to view those properties, but I don't know if that applies to OpenLDAP. Just get the box setup to auth to LDAP, that should take more work than merely reading cn,fullname from the directory. Rick On Thu, 2002-12-19 at 13:28, Clayton Weise wrote: LDAP, in basic terms, is a protocol and method of storing stuff. All sorts of stuff. The LDAP that vpopmail would be talking about would be the usernames, passwords, home directories, etc of the various email accounts on your system. Just like you would store it on a mysql or cdb database. You can also store address books in LDAP, but that's a different program. vpopmail just does email delivery. On Thursday, December 19, 2002, at 10:58 AM, Remo Mattei wrote: Hi guys I have a client that is using WindoZs and I am going to setup qmail for their mail server. I do have a question since I have not configure vpopmail with ldap yet some suggestions and links where to get the info from. I am guessing that this is needed to make a corp. system wide address book. Thanks, Remo
Re: [vchkpw] configuring vpopmail with mysql
Hello I have a quick guide to vpopmail with MySQL at http://www.pipeline.com.au/staff/mbowe/isp/vpopmail-mysql.htm Perhaps have a read of that doc and see if it answers your questions Michael. - Original Message - From: Thomas Stian Bergheim To: [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 11:30 PM Subject: [vchkpw] configuring vpopmail with mysql Hi When I add --enable-mysql=y to the configure script, I get configure: error: Unable to find your inc dir, specify --enable-incdir. The sparse help tells me this should point to the auth files, but where can I find those? (And why doesn't it find them itself on my installation... ? ) Thanks, - Thomas
[vchkpw] SMTP Authentication
Ok I have the Virtual Directories working proplerly for the domain. I did a oopsie on the install and tried dropping the mail into ./Maildir instead of ./Maildir/ which was the problem. Now I have the problem that I am unable to send email what-so-ever from remote systems through the SMTP server of QMail. I thought I read that vpopmail does this if it is compiled it the --enable-roaming-users=y command Not sure but this is not working at all. It tells me whenever I try to send mail that the address is not in the rcpthosts file. Anyone have any ideas? Regards, Rob G
Re: [vchkpw] IMAP and OE issue
At 8:14 PM +0100 12/19/02, Marcin Soltysiak wrote: Hi all, I got problem with Outlook Express and qmail+vpopmail+courier-imap. Ocasionally it happens that new message is marked as Message is no longer available and then the on;ly way to read it is to get via other reader. Any hints? Umm, don't use OE? (Sorry, I just couldn't resist.) -Kit -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -Benjamin Franklin ...qui desiderat pacem, praeparet bellum (...if you would have peace, be prepared for war) -Flavius Vegetius Renatus
Re: [vchkpw] IMAP and OE issue
On Thu, 2002-12-19 at 13:14, Marcin Soltysiak wrote: Hi all, I got problem with Outlook Express and qmail+vpopmail+courier-imap. Ocasionally it happens that new message is marked as Message is no longer available and then the on;ly way to read it is to get via other reader. Any hints? Not any good ones. I had the same (random) problem with Evolution reading messages via IMAP from a Mercury/32 server. The latest Evolution doesn't have this problem. Have you tried newer OE? (OE 6 comes with IE 6) Rick Thx Solt