[vchkpw] vpopmail netbsd error
Hello, im trying to compile vpopmail on netbsd 1.6.2. this is my configuration for compiling: vpopmail 5.4.6 Current settings --- vpopmail directory = /usr/vpopmail uid = 89 gid = 89 roaming users = ON --enable-roaming-users tcpserver file = /usr/vpopmail/etc/tcp.smtp open_smtp file = /usr/vpopmail/etc/open-smtp rebuild tcpserver file = ON --enable-rebuild-tcpserver-file (default) password learning = OFF --disable-learn-passwords (default) md5 passwords = ON --enable-md5-passwords (default) file locking = ON --enable-file-locking (default) vdelivermail fsync = OFF --disable-file-sync (default) make seekable = ON --enable-make-seekable (default) clear passwd = ON --enable-clear-passwd (default) user dir hashing = ON --enable-users-big-dir (default) address extensions = OFF --disable-qmail-ext (default) ip alias = OFF --disable-ip-alias-domains (default) domain quotas = OFF --disable-domainquotas (default) auth module = cdb --enable-auth-module=cdb (default) auth inc = -Icdb auth lib = system passwords = OFF --disable-passwd (default) pop syslog = show only failed attempts --enable-logging=e (default) auth logging = ON --enable-auth-logging (default) *** running make install give the error: *** Making install in cdb gcc -I. -Icdb -I. -I. -I. -g -O2 -Wall -c `test -f 'vauth.c' || echo './'`vauth.c In file included from vauth.c:38: cdb/cdbmake.h:4: uint32.h: No such file or directory *** Error code 1 Stop. * I did not find anything about this in the mailing-list or in google. Did anybody know where the problem is? Thanks and best regards Reinhold --- RM.ROPPERT, it management agentur Email: [EMAIL PROTECTED]
[vchkpw] problem vpopmail .qmail-files, accounts
Hello, i have some problems since last week. I have qmailserver running with vpopmail for several years for different customers. Last week i add some .qmail-files (.qmail-seconduser) to an virtual domain. The mails to this useres will be copied to an existing account (regulary user). Also I add another virt. domain-alias to the exiting domain. now the problem is: if i send an email to the second-user the mail is copied to the regulary user. If I send an email to the regulary user, the email is copied to the default-account. Another thing. If i use vdominfo to the regulary domain it shows me 0 users, but there are more than 10 emailaccounts for this domain. For other domains this works great. So, did someone have an idea what goes wrong? Sorry for my bad english. Best regards Reinhold Roppert --- RM.ROPPERT, it management agentur Mühlstrasse 6. 89077 Ulm, Germany Fon: ++49 731 9386495, Email: [EMAIL PROTECTED]
RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging.
On Mon, 2002-12-30 at 16:34, Matt Darcy wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 30 December 2002 07:15 To: [EMAIL PROTECTED] Subject: RE: [vchkpw] qmail/vpopmail cannot auth pop3 clients. No logging. Matt Darcy wrote: #!/bin/sh exec /usr/local/bin/softlimit -m 500 \ /usr/local/bin/tcpserver -H -R 0 pop-3 /var/qmail/bin/qmail-popup \ alesi.projecthugo.co.uk /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21 I can't see anything wrong with the startup script... Well Matt from looking at this and the fact that I also run Redhat 7.3 I see one thing wrong. Your default /etc/services file has your pop-3 as pop3. There are several ways to fix this, 1) either modify the /etc/services [bad idea], 2) Modify your run script to say pop3 [good choice], or 3) modify your run script to say 110 instead of pop-3 [best choice, unless you use a different port number]. Hope that helps some. Joe This the question I have just asked.I have modified the script again as suggested to reference pop3 instead of pop-3. I still cannot get the qmail-pop3d daemon to stay up longer than 1 second. I need to know if 1 second is whats expected as I would not expect the pop3 daemon to stay up all the time just spawn when called. I could be wrong though. Thanks, Matt. The pop daemon should be up all the time. You may want to check your qmailctl script for any possible errors in calling the pop3 daemon. Also, a few times I've had problems with different text editors leaving some trash characters in the script when I'v entered tabs of spaces. That especially was a problem when I used gedit (I run redhat too) hope that helps some good luck regis
Re: [vchkpw] autorespond
On Sun, 2002-10-27 at 01:24, Michael Christie wrote: Hi all , Thank you all for the response I got from you last time , your input helped . As you might have worked out I am new to vpopmail. I am having the following config error when I do a make on autorespond I have read the man page I did not think I needed to change any thing in the Makefile as I am using /var/qmail as my qmail dir . I am getting the following message , what am I doing wrong ? make gcc -Wall -o autorespond autorespond.c autorespond.c: In function `send_message': autorespond.c:260: warning: passing arg 1 of `gmtime' from incompatible pointer type Thank you all Michael Seems odd. The error indicates a coding error in the source. Is it possible that the source has become corrupted? Or possibly a gcc compiler problem? I'd suggest first downloading a fresh source. When using gcc 2.96 (RedHat 7.1) it compiles cleanly. good luck, regis
RE: [vchkpw] newbie help?
This may help, I had a similar problem in the past. This is from a Ken Jones post. Edit /var/qmail/users/assign and remove any entries. run /var/qmail/bin/qmail-newu check /home/vpopmail/domains for a directory of that name. If needed, recursively remove the directory and all it's sub directories. Check /var/qmail/control/* files grep domain /var/qmail/control/* Remove any mention of the domain. Signal qmail-send that the control files have changed. killall -HUP qmail-send The above works on default installations of qmail and linux systems. On Fri, 2002-10-25 at 15:56, Joe Oaks wrote: Stephen C Burns wrote: It's probably still defined in your ~qmaild/control/virtualdomains file. It may be referenced somewhere else as well, like in rcpthosts, etc, but I think that its presence in virtualhosts is what is confusing vpopmail. Did you delete the domain with vdeldomain or just remove its directory? Removed the entire vpopmail and recompiled (as it only takes a couple of secs). Correct, it was still defined in the virtualdomains file, I have removed it from all the qmail/control files, and re-ran the qmail config, this set the default control files, now there is no entries pertaining to mailsupport. Then I recompile vpopmail, yet when i run the vadddomain i still get Domain already exists. Joe At 03:19 PM 10/25/2002, Joe Oaks wrote: Hmm, I removed the original install and recompiled with the following... [root@tc3 vpopmail]# ./configure --prefix=/home/vpopmail --enable- qmaildir=/var/qmail --enable-vpopuser=vpopmail --enable-vpopgroup=vchkpw --enable-md5-passwords=y --enable-clear-passwd=n --enable-default- domain=mailsupport.hp.com However when I try vadddomain mailsupport.hp.com 'test' I get the error Domain already exists, and yet there is nothing in the domains directory, and no password file? What did I do wrong? Joe -Original Message- From: Joe Oaks [mailto:trell;trells.com] Sent: Friday, October 25, 2002 12:01 PM To: Vchkpw Subject: RE: [vchkpw] newbie help? YES, thank you, will test that in the next 5 minutes. Joe -Original Message- From: Cory Wright [mailto:cwright-dated-1036004280.8a6ee4;standblue.net] Sent: Friday, October 25, 2002 11:58 AM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] newbie help? On Fri, Oct 25, 2002 at 11:26:10AM -0700, Joe Oaks wrote: is there a way to make his login just lj4050 and not have the @domain part?
[vchkpw] more roaming user problems
I seem to be going backwards with this. I've decided to completely drop the mysql vpopmail database, delete the current vpopmail installation, remove all domain references from qmail control and rcpt host files,removed domain references from /qmail/usrs/assign cdb, run qmail-newu, send killall -HUP to qmail-send, and completely reinstall vpopmail 5.2.1 from a new source download. I used the following configure options ./configure --enable-roaming-users=y --enable-relay-clear-minutes=60 --enable-mysql-logging=y --enable-clear-passwd=y --enable-incdir=/usr/include --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y --enable-valias --enable-tcprules-prog=/usr/local/bin/tcprules --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-auth-logging=y I got a warning when running the above configure line - mkdir: cannot create directory /home/vpopmail/etc: No such file or dir configure: warning: maiking a vpopmail etc directory ./configure: /home/vpopmail/etc/lib_deps: No such file or directory ./configure: /home/vpopmail/etc/inc_deps: No such file or directory It does make and install without error - but.. There is no /home/vpopmail/etc/tcp.smtp file, and when I try to add a test domain I get- Error:Domain does not exist. When I check the domain directory, I find the domain was created - but the postmaster account was not. When I try to add a user to the domain I also get- Error: Domain does not exist. This has become frustrating because I've installed vpopmail several times with few problems, but now even the basic functions won't work, let alone the roaming users feature that started this adventure. Any ideas on what I've done wrong? thanks, regis On Thu, 2002-09-26 at 18:38, [EMAIL PROTECTED] wrote: Hi, I just tried what Alfredo described in his message without success (I still have to manually modify tcp.smtp to relay), any sugestion will be appreciated. MCA Alfredo Perez escribió: This is an old e-mail i found Perhaps it will help BEGIN HERE - On Friday, February 8, 2002, at 09:35 AM, Nicolas DEFFAYET wrote: How do you use it with courier-imap ? Because pop before smtp don't work, the user can't send a mail. This really should be put in the FAQ. Ken, how about adding this: Question: How do I get Courier-IMAP use vpopmail's roaming users? Answer: Follow these steps 1. Make sure vpopmail is compiled with --enable-roaming-users=y 2. Courier-IMAP doesn't detect roaming users in the vpopmail library correctly, so force it by doing something like this just before compiling: export CFLAGS=-DHAVE_OPEN_SMTP_RELAY 3. compile courier-imap with --without-authdaemon --with-authvchkpw 4. Make sure you run your imap server as the same user as your pop server (so open-smtp and tcp.smtp have the same ownership). man couriertcpd for details, but you will change /usr/lib/courier- imap/libexec/imapd.rc something like this: Change this line: /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \ To: /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \ -user=vpopmail -group=vchkpw \ Regards, Bill Shupp END HERE -
[vchkpw] Re:more roaming user problems
Miguel, I think I've found what's causing the problem, but I haven't figured out how to correct it yet. My /tcp.smtp and /tcp.smtp.cdb files were originally created in the /etc directory, not the /home/vpopmail/etc directory. When I changed the smtp/run script I to /home/vpop I manually copied the /etc/tcp files into the /home/vpop... directory. But when I check - the updates are still being written to the /etc/tcp.smtp.cdb file - not the /home/vpop... file. I decided to try to remove the entire vpopmail and recompile from fresh source - but now it's not recognizing my old mysql entries - go figure.. I'll update you as a work through this, It's probably something very minor that I'v overlooked. Regis On Thu, 2002-09-26 at 00:40, [EMAIL PROTECTED] wrote: Regis; I am having the same problem as you, only that I use courier-imap's pop3-ssl... I included the following lines in my vpopmail configuration: --enable-roaming-user=y --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-relay-clear-minutes=60 I run qmail-smtpd with the following line (from lifewithqmail but with the path to tcp.smtp modified: exec /usr/local/bin/softlimit -m 400 /usr/local/bin/tcpserver -v -R -l 0 -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD -u $QMAILUID -g $NOFILESGID 0 smtp /home/qmail/bin/qmail-smtpd 21 I have the following files in /home/vpopmail/etc: -rw-rw-r--1 vpopmail vchkpw 83 Sep 25 19:13 tcp.smtp -rw-rw-r--1 vpopmail vchkpw 2179 Sep 25 22:40 tcp.smtp.cdb ...and I still only relay when I manually modify the tcp.smtp! I am lost, please... if anyone has ideas about this I will be very grateful =/ Thank you... Miguel rm escribió: After several months of getting by with sqwebmail for remote users, we've decided to add the enable roaming users option. It seemed simple enough in reading the docs and the archive messages on this subject. But I seem to have missed something. My configure line is: ./configure --enable-roaming-user=y --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-relay-clear-minutes=60 --enable-mysql-logging=y --enable-clear-passwd=y --enable-incdir=/usr/include --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y --enable-valias=y I modified the smtp run file to use the correct path to /home/vpopmail/etc/tcp.smtp - originally I used the life with qmail example - so the modified file looks like this: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -v -R -l $LOCAL -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into /home/vpopmail/etc I also tried to add /dev/null at the end of the smtp run file, as shown in the FAQ example; but when I add that - the smtp server won't start. In any event - remote logins keep getting the error message recipient not in allowed rcpt hosts when they try to send mail. Any ideas on what I've missed here? Thanks, Regis
RE: [vchkpw] more roaming user problems
Thanks for the reply Dave, I don't have a problem with sqwebmail. I guess I did a lousy job of describing this problem. Sqwebmail log in's work fine. The problem is now I've got some people who want to use their mail clients rather than the web interface - and when they do they can pick up mail from the pop server ok - but when they try to send mail they get an error message that says recipient not in allowed recpts hosts. Which I believe means that their IP is not being written into the tcp.smtp.cdb file to allow them to relay. So I'm thinking I missed a step here, but I don't see it in the docs or archives. Meanwhile I'll keep trying to tweak the smtp/run file and hope I can find the right combination! Regis On Tue, 2002-09-24 at 19:57, Dave Ellsworth wrote: Personally I'd probably try to reconfigure and recompile sqwebmail. I'm not sure if that'll solve the problem though. -Original Message- From: rm [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 6:10 PM To: vchkpw mailing list Subject: [vchkpw] more roaming user problems After several months of getting by with sqwebmail for remote users, we've decided to add the enable roaming users option. It seemed simple enough in reading the docs and the archive messages on this subject. But I seem to have missed something. My configure line is: ./configure --enable-roaming-user=y --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-relay-clear-minutes=60 --enable-mysql-logging=y --enable-clear-passwd=y --enable-incdir=/usr/include --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y --enable-valias=y I modified the smtp run file to use the correct path to /home/vpopmail/etc/tcp.smtp - originally I used the life with qmail example - so the modified file looks like this: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -v -R -l $LOCAL -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into /home/vpopmail/etc I also tried to add /dev/null at the end of the smtp run file, as shown in the FAQ example; but when I add that - the smtp server won't start. In any event - remote logins keep getting the error message recipient not in allowed rcpt hosts when they try to send mail. Any ideas on what I've missed here? Thanks, Regis
Re: [vchkpw] Vpopmail + Mysql. Tables not created?
Hi Gerald, Just a couple of observations - maybe it will help... Your configure line says --enable-sqllibdir=... and --enable-sqlincdir= I don't see those as available configure options when I do ./configure --help in vpopmail5.2.1. I see --enable-libdir; --enable-incdir; and --enable-libs. That may be part of the problem. Also, I've found when I've compiled it on Redhat7.1 I had to truncate the path to the mysql libraries prior to /mysql. I don't know if that would work the same way in BSD. What I mean is my mysql libraries are in /usr/lib/mysql - but when I configured with --enable-libdir=/usr/lib/mysql ; it didn't work - but when I configured with --enable-libdir=/usr/lib ; it worked like a charm. Hope that helps a bit, Regis On Wed, 2002-09-25 at 02:29, Gerald wrote: The ./configure options for vpopmail are as follow.. ./configure --enable-roaming-users=y --enable-logging=y \ --enable-defaultquota=150 --enable-ip-alias-domains=y \ --enable-mysql=y --enable-sqllibdir=/usr/local/lib/mysql/ \ --enable-sqlincdir=/usr/local/include/mysql/ - Original Message - From: Clayton Weise [EMAIL PROTECTED] To: Gerald [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 1:45 AM Subject: RE: [vchkpw] Vpopmail + Mysql. Tables not created? Please paste your ./configure line for vpopmail. -Original Message- From: Gerald [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 10:32 AM To: [EMAIL PROTECTED] Subject: [vchkpw] Vpopmail + Mysql. Tables not created? Hi there I've compiled support for mysql in qmail and vpopmail. I've read README.mysql and went thru the guide at (http://matt.simerson.net/computing/qmail.toaster.shtml) However, when I add a virtual domain, a mysql table wasn't created, and instead, a .cdb file was produced. Why is that so? Programs which are installed on my system: qmail-1.03 vpopmail-5.2.1 mysql-server-3.23.52_1 FreeBSD 4.7-RC Help would be greatly appreciated, Thanks Gerald
RE: [vchkpw] more roaming user problems
Hi Clayton, Yeah, compiling from fresh source was one of the trouble shooting ideas I tried early on. Here's another observation. The mysql relay table does get updated with each new remote log in. But... it seems to be updating the table AFTER the new log in exits. I discovered this when suddenly all of the messages that had previously been refused by smtp - got sent immediately upon log in. That was because the remote log in was, by chance, issued the same IP as the previous log in. So... the IP was in the relay table from the previous login and the mail sent without a problem. Oddly, the IPs listed in my mysql relay table, which match the IP's in the smtp log files - do not match the IP's in the /tcp.smtp.cdb file. Not even the one IP that worked in the example above. Seems like something is fubar. Any other suggestions? Regis On Wed, 2002-09-25 at 09:56, Clayton Weise wrote: A couple things.. When you recompiled vpopmail with roaming user support, did you do it from fresh source code? e.g. source that you didn't alreay compile with different options. Hope that makes sense.. and two, did you try moving your /home/vpopmail/bin directory somehwere else before doing the make install-strip? Maybe some files didn't get overwritten. As far as the syntax in your smtpd/run file it looks fine. All you really need to do is start up tcpserver with -x /home/of/vpopmail/etc/tcp.smtp.cdb, which you've done. -Clayton -Original Message- From: rm [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 5:49 AM To: vchkpw mailing list Subject: RE: [vchkpw] more roaming user problems Thanks for the reply Dave, I don't have a problem with sqwebmail. I guess I did a lousy job of describing this problem. Sqwebmail log in's work fine. The problem is now I've got some people who want to use their mail clients rather than the web interface - and when they do they can pick up mail from the pop server ok - but when they try to send mail they get an error message that says recipient not in allowed recpts hosts. Which I believe means that their IP is not being written into the tcp.smtp.cdb file to allow them to relay. So I'm thinking I missed a step here, but I don't see it in the docs or archives. Meanwhile I'll keep trying to tweak the smtp/run file and hope I can find the right combination! Regis On Tue, 2002-09-24 at 19:57, Dave Ellsworth wrote: Personally I'd probably try to reconfigure and recompile sqwebmail. I'm not sure if that'll solve the problem though. -Original Message- From: rm [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 6:10 PM To: vchkpw mailing list Subject: [vchkpw] more roaming user problems After several months of getting by with sqwebmail for remote users, we've decided to add the enable roaming users option. It seemed simple enough in reading the docs and the archive messages on this subject. But I seem to have missed something. My configure line is: ./configure --enable-roaming-user=y --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-relay-clear-minutes=60 --enable-mysql-logging=y --enable-clear-passwd=y --enable-incdir=/usr/include --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y --enable-valias=y I modified the smtp run file to use the correct path to /home/vpopmail/etc/tcp.smtp - originally I used the life with qmail example - so the modified file looks like this: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -v -R -l $LOCAL -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into /home/vpopmail/etc I also tried to add /dev/null at the end of the smtp run file, as shown in the FAQ example; but when I add that - the smtp server won't start. In any event - remote logins keep getting the error message recipient not in allowed rcpt hosts when they try to send mail. Any ideas on what I've missed here? Thanks, Regis
[vchkpw] more roaming user problems
After several months of getting by with sqwebmail for remote users, we've decided to add the enable roaming users option. It seemed simple enough in reading the docs and the archive messages on this subject. But I seem to have missed something. My configure line is: ./configure --enable-roaming-user=y --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-relay-clear-minutes=60 --enable-mysql-logging=y --enable-clear-passwd=y --enable-incdir=/usr/include --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y --enable-valias=y I modified the smtp run file to use the correct path to /home/vpopmail/etc/tcp.smtp - originally I used the life with qmail example - so the modified file looks like this: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -v -R -l $LOCAL -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into /home/vpopmail/etc I also tried to add /dev/null at the end of the smtp run file, as shown in the FAQ example; but when I add that - the smtp server won't start. In any event - remote logins keep getting the error message recipient not in allowed rcpt hosts when they try to send mail. Any ideas on what I've missed here? Thanks, Regis
Re: [vchkpw] more roaming user problems
Thanks for replying Alfredo, I'm not using courier-imap, just straight pop3d. Sorry, I guess I should've made that clear. The steps I've taken are based on what I've found in the archives and the docs, but I must be mis interpreting something... Also, I'm using Redhat 7.1 if that gives any clues. regis On Tue, 2002-09-24 at 17:23, Alfredo Perez wrote: Hi, I read about this in the archive time ago, since I had this problem before. The problem is when you compile courier-imap. It seems courier-imap does not recognize automatically the roaming users option from vpopmail I don't remember what option or file you have to edit in courier-imap. But I am quite sure it is in the archives. Greetings El mar, 24-09-2002 a las 17:09, rm escribió: After several months of getting by with sqwebmail for remote users, we've decided to add the enable roaming users option. It seemed simple enough in reading the docs and the archive messages on this subject. But I seem to have missed something. My configure line is: ./configure --enable-roaming-user=y --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-relay-clear-minutes=60 --enable-mysql-logging=y --enable-clear-passwd=y --enable-incdir=/usr/include --enable-libdir=/usr/lib --enable-mysql=y --enable-mysql-replication=y --enable-valias=y I modified the smtp run file to use the correct path to /home/vpopmail/etc/tcp.smtp - originally I used the life with qmail example - so the modified file looks like this: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z $QMAILDUID -o -z $NOFILESGID -o -z $MAXSMTPD -o -z $LOCAL ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 400 \ /usr/local/bin/tcpserver -v -R -l $LOCAL -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 I copied the tcp.smtp and the tcp.smtp.cdb file from /etc into /home/vpopmail/etc I also tried to add /dev/null at the end of the smtp run file, as shown in the FAQ example; but when I add that - the smtp server won't start. In any event - remote logins keep getting the error message recipient not in allowed rcpt hosts when they try to send mail. Any ideas on what I've missed here? Thanks, Regis
Re: [vchkpw] can not pop-in
On Wed, 2002-09-18 at 08:08, Oliver Etzel - GoodnGo.COM (R) wrote: hello all, thank you all for helping me. Another problem. I cannot pop-in with my mailclient. I don´t want a whole explaination. Just a hint# Now I can retrieve and send emails with sqwebmail or even pop-in with telnet e.g. telenet localhost 110 user * OK pass OK . and so on. But cannot pop-in by outlook or whatever. Any hints? Oliver Etzel What error messages are you getting in lookout and your logs? Regis
RE: [vchkpw] Compilgin Vpopmail with Mysql General Questions.
On Wed, 2002-09-04 at 11:14, Clayton Weise wrote: No, but you do need to make a vpopmail database. Why has no database been created ? Although vpopmail doesn't create the database, it does automatically create the tables. You'll need to make the database yourself. Just run these commands in mysql... this is just a basic template, all the values can be changed, but should reflect what you specified in vmysql.h The argument of whether or not vpopmail should create the database has been thrown back and forth quite a bit. Check the archives to see why and why not. -Clayton This is interesting. I've installed vpopmail with mysql at least a dozen times. It's always created the Database and tables. However, I've seen several posts saying that it doesn't. Is it possible that this has changed, or behaves differently on different operating systems? just curious regis
[vchkpw] slightly ot -sqweb question
I've tried to search this on the sqwebmail archives and posted it on the sqwebmail list - no luck so far. It's a nagging little matter - but maybe someone has a solution. On the Sqwebmail login page when using a logindomainlist you get a pulldown menu of available domains. When the login page originally displays - there is no selection on the menu bar - just a blank space at the pulldown bar. Once you click the menu it works just fine, and it has all of the correct domain selections, but it looks odd when it first opens and it's blank. When looking at the Mo Lions club example, the bar has molions.com (or something like that) - but mine is blank, you have to click the pull down to get a domain option. Is there a way to eliminate the blank and have it show the first domain on the logindomainlist? regis
Re: [vchkpw] No joy getting vchkpw to replace checkpassword.
On Wed, 2002-09-04 at 21:21, Robert Porter wrote: On Wednesday 04 September 2002 10:30 pm, rm wrote: Could you post your pop3d run script? and are you using the mysql option? regis This is the current one, which works with local users #!/bin/sh MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3` exec /command/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l -o -x /etc/tcp.pop3.cdb -c $MAXPOP3D \ 0 110 /var/qmail/bin/qmail-popup zoomer.rp2c.com /bin/checkpassword \ /var/qmail/bin/qmail-pop3d Maildir 21 This is the modified one which fails. I also tried replacing the real host with mail.rp2c.com which is a valid MX record in DNS but points to the same host. And I added mail.rp2c.com to the virtualhosts file etc. Still no joy. #!/bin/sh MAXPOP3D=`head -1 /var/qmail/control/concurrencypop3` exec /command/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -H -l -o -x /etc/tcp.pop3.cdb -c $MAXPOP3D \ 0 110 /var/qmail/bin/qmail-popup zoomer.rp2c.com /home/vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir 21 Here's a copy of my .../pop3d/run. I guess the big difference is your path to /etc/tcp.pop3.cdb. I'm not sure what's going on there. you might try this format - it's right out of life with qmail. I mentioned the mysql option because you usually have to raise the softlimit. #!/bin/sh exec /usr/local/bin/softlimit -m 4000 \ /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \ pop.mbpost.com /home/vpopmail/bin/vchkpw \ /var/qmail/bin/qmail-pop3d Maildir 21
Re: [vchkpw] Re: error adding Simerson patch
Thanks for the suggestion Chris, I'm using Redhat7.1 (with all updates patches) My conf-ld looks like this: gcc-s I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient This will be used to link .o files into an executable By comparing your conf-ld file to mine, mine appears to be missing a -L and missing a path to the -lmysqlclient so I tried editing the file to add the missing links - but I got the same result. Any other thoughts? regis On Mon, 2002-08-26 at 19:24, chris wrote: In Solaris, you have to use a -R to compile in the path to the linked lib... I didn't see what OS you were using but maybe this'll help you out: mail4:~/devel/ucspi-chris 8% cat conf-cc gcc -O2 -I/usr/local/mysql/include/mysql conf-ld gcc -s -I/usr/local/mysql/include/mysql -R/usr/local/mysql/lib/mysql -L/usr /local/mysql/lib/mysql -lmysqlclient This will be used to link .o files into an executable. hope it helps. Chris Bunnell Senior Engineer - Network Implementation Avantac Technologies, Inc. - Formerly Sonic Internet Services 9719 Lincoln Village Drive #503 Sacramento, CA. 95827 (916) 854-5940 www.avantac.com Powered by Sun. My other OS is your Linux box. While others are dot flopping, we're not stopping. - Original Message - From: rm [EMAIL PROTECTED] To: vchkpw mailing list [EMAIL PROTECTED] Sent: Monday, August 26, 2002 4:18 PM Subject: [vchkpw] Re: error adding Simerson patch On Mon, 2002-08-26 at 07:44, rm wrote: I was attempting to add the simerson ucspi-tcp-0.88-mysql.patch as suggested in the vpopmail INSTALL file. I placed the patch in the ucspi-tcp source directory and entered: patch -p1 ./ucspi-tcp-0.88-mysql.patch I get an error the reads: missing header for context diff at line 3 of patch can't find file to patch at input line 3 The text leading up to this was: --- |***tcpserver.c.origWed Mar 14 10:21:33 2001 |---tcpserver.cFri Mar 16 13:53:52 2001 - File to patch: So it seems I'm doing something wrong - any suggestions? regis OK OK, I figured what I was doing wrong and the patch applied ok. But... When I try to make ucspi-tcp it starts to compile fine, then it chokes at: ./makelib byte.a byte_chr.o byte_copy.o bytecr.o \ byte_diff.o bytecr.o byte_zero.o case_diffb.o \ case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \ str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \ uint16_upack.o uint32_pack.o uint32_unpack.o ( ( ./compile trylsock.c \ ./load trylsock -lsocket -lnsl ) /dev/null 21 \ echo -lsocket -lnsl || exit 0 ) socket.lib rm -f trylsock.o trylsock ./load tcpserver rules.o db.o remoteinfo.o timeoutconn.o cdb.a \ dns.a time.a unix.a byte.a 'cat socket.lib' db.o: IN function 'open_db': db.o(.text+0x14): undefined reference to 'mysql_close' Then goes on to list 11 other undfined references to mysql common mysql functions mysql_init; _real_connenct; _error; _query; etc. and finally quits with: collect2: ld returned 1 exit status make: *** [tcpserver] Error 1 Mysql is installed and working properly, I edited the conf-ld and conf-cc files to include the correct path to mysql. I did notice that the compile command in conf-ld begins with gcc -s. I don't know what the s indicates or if that could be a problem. Anyone else have problems applying this patch? Any ideas? regis
Re: [vchkpw] Re: error adding Simerson patch
Apparently so. On Tue, 2002-08-27 at 16:00, chris wrote: Don't you Linux guys have to place a line in your ld.conf or something like that to point to shared libs? Chris - Original Message - From: rm [EMAIL PROTECTED] To: vchkpw mailing list [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 11:44 AM Subject: Re: [vchkpw] Re: error adding Simerson patch Thanks for the suggestion Chris, I'm using Redhat7.1 (with all updates patches) My conf-ld looks like this: gcc-s I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient This will be used to link .o files into an executable By comparing your conf-ld file to mine, mine appears to be missing a -L and missing a path to the -lmysqlclient so I tried editing the file to add the missing links - but I got the same result. Any other thoughts? regis On Mon, 2002-08-26 at 19:24, chris wrote: In Solaris, you have to use a -R to compile in the path to the linked lib... I didn't see what OS you were using but maybe this'll help you out: mail4:~/devel/ucspi-chris 8% cat conf-cc gcc -O2 -I/usr/local/mysql/include/mysql conf-ld gcc -s -I/usr/local/mysql/include/mysql -R/usr/local/mysql/lib/mysql -L/usr /local/mysql/lib/mysql -lmysqlclient This will be used to link .o files into an executable. hope it helps. Chris Bunnell Senior Engineer - Network Implementation Avantac Technologies, Inc. - Formerly Sonic Internet Services 9719 Lincoln Village Drive #503 Sacramento, CA. 95827 (916) 854-5940 www.avantac.com Powered by Sun. My other OS is your Linux box. While others are dot flopping, we're not stopping. - Original Message - From: rm [EMAIL PROTECTED] To: vchkpw mailing list [EMAIL PROTECTED] Sent: Monday, August 26, 2002 4:18 PM Subject: [vchkpw] Re: error adding Simerson patch On Mon, 2002-08-26 at 07:44, rm wrote: I was attempting to add the simerson ucspi-tcp-0.88-mysql.patch as suggested in the vpopmail INSTALL file. I placed the patch in the ucspi-tcp source directory and entered: patch -p1 ./ucspi-tcp-0.88-mysql.patch I get an error the reads: missing header for context diff at line 3 of patch can't find file to patch at input line 3 The text leading up to this was: --- |***tcpserver.c.origWed Mar 14 10:21:33 2001 |---tcpserver.cFri Mar 16 13:53:52 2001 - File to patch: So it seems I'm doing something wrong - any suggestions? regis OK OK, I figured what I was doing wrong and the patch applied ok. But... When I try to make ucspi-tcp it starts to compile fine, then it chokes at: ./makelib byte.a byte_chr.o byte_copy.o bytecr.o \ byte_diff.o bytecr.o byte_zero.o case_diffb.o \ case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o \ str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o \ uint16_upack.o uint32_pack.o uint32_unpack.o ( ( ./compile trylsock.c \ ./load trylsock -lsocket -lnsl ) /dev/null 21 \ echo -lsocket -lnsl || exit 0 ) socket.lib rm -f trylsock.o trylsock ./load tcpserver rules.o db.o remoteinfo.o timeoutconn.o cdb.a \ dns.a time.a unix.a byte.a 'cat socket.lib' db.o: IN function 'open_db': db.o(.text+0x14): undefined reference to 'mysql_close' Then goes on to list 11 other undfined references to mysql common mysql functions mysql_init; _real_connenct; _error; _query; etc. and finally quits with: collect2: ld returned 1 exit status make: *** [tcpserver] Error 1 Mysql is installed and working properly, I edited the conf-ld and conf-cc files to include the correct path to mysql. I did notice that the compile command in conf-ld begins with gcc -s. I don't know what the s indicates or if that could be a problem. Anyone else have problems applying this patch? Any ideas? regis
[vchkpw] error adding Simerson patch
I was attempting to add the simerson ucspi-tcp-0.88-mysql.patch as suggested in the vpopmail INSTALL file. I placed the patch in the ucspi-tcp source directory and entered: patch -p1 ./ucspi-tcp-0.88-mysql.patch I get an error the reads: missing header for context diff at line 3 of patch can't find file to patch at input line 3 The text leading up to this was: --- |***tcpserver.c.origWed Mar 14 10:21:33 2001 |---tcpserver.cFri Mar 16 13:53:52 2001 - File to patch: So it seems I'm doing something wrong - any suggestions? regis