Re: [vchkpw] Aliases not working with maildrop spamassassin?
I thought I had solved this problem for a client of mine. At the domain level, qmail seems to read .qmail-ext then .qmail-default file for delivery instruction. So if your .qmail-test file says /user/Maildir (default by qmailadmin), it'll completely bypass .qmail-default. Yes, your .qmail-test should include maildrop mailfilter like in .qmail-default, which will invoke maildrop but spam tagging rule will be ignored because it can't find you test alias in the database. You can choose to fix it at the database schema level, which probably will require a re-architecting the whole system. Fortunately, maildrop can be scripted to manipulate the way mail is delivered. What I've done was added a little code in the mailfilter file: # Environment variables needed import HOME import EXT # user import HOST # domain ALIASTO=$1 if($xALIAS ne x) { EXT=$ALIASTO } and my .qmail-test would say: /path/to/maildrop /path/to/mailfilter user so when maildrop is invoked, mailfilter checks to see if there's a command line option passed to it. If there is, change the environment variable EXT and pass it through spamd. If you choose to do it at the user level, i.e. Maildir/.qmail, it might not work (depending on your mailfilter) because it'll execute maildrop and then delivermail, which would then reads .qmail-ext and .qmail-default, then Maildir/.qmail and the cycle is repeated. Even if you can program your mailfilter to break the cycle, CPU time is wasted in another qmail cycle. Then again, my approach runs into problem when you have a .qmail-forward file because of the loosely defined .qmail-ext system, but that's another topic. Dzuy Jasper Metselaar wrote: Hi, I have a real [EMAIL PROTECTED] which is tagged for spam checking. The .qmail-default contains | /usr/local/bin/maildrop mailfilter file which calls maildrop and in mailfilter, runs through spamd to check for spam then pass it back to vdelivermail to deliver to the proper mailbox. Then I created a [EMAIL PROTECTED], which is an alias to [EMAIL PROTECTED] A .qmail-test is created which points to mydomain.com/user/Maildir. When an email is sent to [EMAIL PROTECTED], qmail just dumps it directly into user's mailbox,completely out of the spam checking task. Shouldn't the .qmail-test file's content be the same as the .qmail-default file? How do you enable alias to behave the same as the account that it's aliased to? Of course I can use a forwarder to [EMAIL PROTECTED] instead, but I don't think this is the best wayor? Thanks in advance for your suggestions! Jasper ___
Re: [vchkpw] vdelivermail problem?
Bill Shupp wrote: On Monday, February 10, 2003, at 08:50 AM, Dzuy Nguyen wrote: Juraj Hantak wrote: Hi all, I have a problem with vdelivermail it is not correctly proceeding .qmail- files. Imagine situation you have a domain called test.com. Do you want to forward the whole domain everything@test.com into address [EMAIL PROTECTED] and the address should be proceed acording its .qmail file. {local deliverded and forwarded to external address} do you have in .qmail-default | path to vdelivermail vdelivermail '' [EMAIL PROTECTED] and there is a file called .qmail-john [EMAIL PROTECTED] path to domain/test.com/john/Maildir/ there is a mailbox [EMAIL PROTECTED] And the behaviour is now: when you send mail directly to [EMAIL PROTECTED] its correctly proceed and is local delivered and a copy is forwarded to external address. But when you send mail to [EMAIL PROTECTED] its only localy delivered it is not forwarded to external mail address. Can somebody help me with this problem, I have tested the stable 5.2.1 version and developement 5.3.14 The correct thing to do is put the external email address in the vdelivermail line, like so: | /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED] .qmal files in the domain directory are for qmail-local processing, NOT vdelivermail. This is why the setup you described fails. vdelivermail checks for a vpasswd entry for john since test.com is the local domain. It does NOT look at .qmail files in the domain's directory, just .qmail files in the user's directory. Best regards Juraj Hantak There is a bug in vdelivermail since 5.2 which I identified and reported. I'm surprised it didn't make it to 5.3 development releases. Basically, forward and keeps a copy works fine, but forward alone does not. Please check the archive for details of the problem. I assume you are referring to this message: http://www.mail-archive.com/vchkpw@inter7.com/msg11007.html Bill, the message above was unrelated to this problem. I was looking for ways to make alias user to get the spam checking. I didn't say it was a bug. BTW, I still have not found a suitable solution for qmail/vpopmail/spamassassin to play nice with each other. The bug I was refering to was mentioned in a thread months ago. It involves .qmail file in the user's directory. If it's fixed, then I apologized. See the argument above. The same logic applies, and it's not a bug. Regards, Bill Shupp
Re: [vchkpw] vdelivermail problem?
Juraj Hantak wrote: Hi all, I have a problem with vdelivermail it is not correctly proceeding .qmail- files. Imagine situation you have a domain called test.com. Do you want to forward the whole domain everything@test.com into address [EMAIL PROTECTED] and the address should be proceed acording its .qmail file. {local deliverded and forwarded to external address} do you have in .qmail-default | path to vdelivermail vdelivermail '' [EMAIL PROTECTED] and there is a file called .qmail-john [EMAIL PROTECTED] path to domain/test.com/john/Maildir/ there is a mailbox [EMAIL PROTECTED] And the behaviour is now: when you send mail directly to [EMAIL PROTECTED] its correctly proceed and is local delivered and a copy is forwarded to external address. But when you send mail to [EMAIL PROTECTED] its only localy delivered it is not forwarded to external mail address. Can somebody help me with this problem, I have tested the stable 5.2.1 version and developement 5.3.14 Best regards Juraj Hantak There is a bug in vdelivermail since 5.2 which I identified and reported. I'm surprised it didn't make it to 5.3 development releases. Basically, forward and keeps a copy works fine, but forward alone does not. Please check the archive for details of the problem.
[vchkpw] alias and spamd
Hello, My environment is qmail + vpopmail/MySQL + spamassassin + maildrop + qmailadmin. I have a real [EMAIL PROTECTED] which is tagged for spam checking. The .qmail-default contains | /usr/local/bin/maildrop mailfilter file which calls maildrop and in mailfilter, runs through spamd to check for spam then pass it back to vdelivermail to deliver to the proper mailbox. Then I created a [EMAIL PROTECTED], which is an alias to [EMAIL PROTECTED] A .qmail-test is created which points to mydomain.com/user/Maildir. When an email is sent to [EMAIL PROTECTED], qmail just dumps it directly into user's mailbox, completely out of the spam checking task. Shouldn't the .qmail-test file's content be the same as the .qmail-default file? How do you enable alias to behave the same as the account that it's aliased to?
Re: [vchkpw] maildrop and bounced mails
Try if($EXITCODE == 100) { exit } after the VPOP exception block. qlist wrote: Hi, I use maildrop to filter incomming mails domainwide. Here is the config: root@ns:~# cat /home/vpopmail/domains/intertet.net/.qmail-default | maildrop mailfilter - root@ns:~# cat /home/vpopmail/domains/intertet.net/mailfilter VPOP=| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST` exception { include $VHOME/.mailfilter } exception { to $VPOP Everything is normal when the user exists, but if say send a mail to a non-existent user it bounces but a copy if this mail is saved in /var/spool/mail/vpopmail in mbox format. logs says: @40003e328fd53440a7d4 new msg 16420 @40003e328fd53440b38c info msg 16420: bytes 606 from [EMAIL PROTECTED] qp 30370 uid 1016 @40003e328fd5344ee074 starting delivery 16312: msg 16420 to local [EMAIL PROTECTED] @40003e328fd5344ef3fc status: local 1/10 remote 20/20 @40003e328fd5394d49e4 delivery 16312: failure: Sorry,_no_mailbox_here_by_that_name._vpopmail_(#5.1.1)/ @40003e328fd5394d5d6c status: local 0/10 remote 20/20 @40003e328fd5396f8b6c bounce msg 16420 qp 30377 @40003e328fd5396f9ef4 end msg 16420 -- Do have any idea to solve this problem? Ertan Yusufoglu
Re: [vchkpw] Integration of SpamAssassin
Have you looked at maildrop? It's a configurable/scriptable mail delivery agent you can use to call vdelivermail or spamassassin. Gabriel Ambuehl wrote: I wonder how SpamAssassin could best be integrated into vpopmail (preferably without having .qmail for each user). I know there's small C stub (spamc) for SpamAssassin that reads the mail on stdin, feeds it to the spam assassin daemon (TCP or pipe, cna't remember, doesn't matter, anyay) and delivers whatever changes back to stdout. Now I wonder about two things: does vdelivermail know how big a given message is (you don't want SpamAssassin check mails bigger than a few kb for the sake of CPU utilization)? Given we feed the message to spamd, can vpopmail just link stdin to the FD that feeds back the data from spamd and go on with its job? If so, it would probably be easy enough to integrate spamc into vpopmail and have it check for existence of a file like user/.usespamassassin to figure out whether it should filter the data through spamd. I'd appreciate any comments on this. I'm thinking about trying to integrate spamc into vpopmail, but I'd like to hear comments on this and some feedback on my planned approach. Unfortunately, my time resources are kinda limited these days but it's high time I do something about the huge amounts of spam our servers are faced with each day...
Re: [vchkpw] courier-imap tends to stop authenticating after awhile
There is a bug in vchkpwd in vpopmail 5.2.1. Version 5.3.x seems to fix it. [EMAIL PROTECTED] wrote: I am using a qmail/vpopmail/courier-imap mail solution. After re-installing courier-imap, the first few times, imap sessions to work and authenticate, but after awhile, authentication fails and I get nothing but LOGIN FAILED messages in my maillog. A reboot of the server will fix it for a short time; however, it keeps happening. Has anyone had this occur before or have a possible solution? I am running these versions: FreeBSD 4.5-RELEASE Qmail - 1.03_1 vpopmail - 5.2 Courier-Imap - 1.5.3 Any suggestions would be helpful. Thanks, Taylor Dondich
Re: [vchkpw] Problems with forwarding from .qmail using maildrop
There is a bug in vdelivermail.c which was discussed in earlier threads. I suggested a fix for 5.3.7 but am not sure if it made it into the latest version. You can search on past threads for details. [EMAIL PROTECTED] wrote: Hello All, I have: vpopmail-5.2.1 qmail-1.03 maildrop-1.4.0 qmailadmin-1.0.6 among other things running on RH 7.3 I have the .qmail-default file for each of my virtual domains read like this: | preline maildrop /home/vpopmail/mailfilter where mailfilter reads: # line below only wrapped in mail message... VPOP=| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/$HOST/postmaster VHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST` if ( $SIZE 262144 ) { exception { xfilter /usr/bin/spamc -f -u $EXT@$HOST } } if (/^X-Spam-Flag: *YES/) { exception { to /home/vpopmail/domains/spam/postmaster/Maildir/ } } else { exception { to $VPOP } } And this works fine, except for forwarding from a users .qmail file. ..qmail-whatever files in the domain directory work fine, but $USER/.qmail doesn't work with the: [EMAIL PROTECTED] format. |forward [EMAIL PROTECTED] works, but qmailadmin doesn't use that format. When I disable my maildrop in the .qmail-default and just call vpopdeliver the [EMAIL PROTECTED] format in $USER/.qmail works. What have I broken with my mailfilter? I want all my virtual domains to have postmaster as their catchall and I want all mail tagged as spam to end up in a common location. But I need the forwarding functionality to work via qmailadmin... All suggestions greatly appreciated. Joseph
Re: [vchkpw] vpopmail bug?
Ken, I saw this problem in 5.2.1 too. At times, the email parser function just appends an extra character to the user name. I've debugged it and saw that the entire string [EMAIL PROTECTED] was passed in correctly, but at times the user name has extra character added to it. I think it's either the memory is not clean from previous call or there is some flaw in the algorithm itself. I re-wrote the email parser function using strok() and it worked for me. Then I saw a new function in 5.3 and decided to try it and it worked. Ken Jones wrote: Can anyone else reproduce this problem? What version of courier-imap are you using? The authlib/preauthvchkpw.c file is worth checking against the one on the inter7 page. Mysql Quits can be caused by a program not calling mysql_close before exiting. Which in of itself would not cause an authentication failure. It's worth double checking your courier-imap configuration file. The one that specifies max client connections. The vpopmail ChangeLog shows the change to the email parser function and also reports that it fixed all known problems. To really track down the problem, lots of debugging output is needed to isolate what is ocurring. Hopefully leading to a solution :) Ken Jones On Friday 20 September 2002 04:20 pm, [EMAIL PROTECTED] wrote: I upgraded to 5.3.8 - and am still seeing this behavior. *sigh* Is this limited to Courier? Quoting Dzuy Nguyen [EMAIL PROTECTED]: There is a bug in vpopmail's email parser function which adds extra character to the end of user login at times, when called by courier. Version 5.3.x has a newer email parser which seems to work. [EMAIL PROTECTED] wrote: I am seeing strange behaviour on my Qmail+VpopMail(w/ MySQL)+COurier setup. Authenticating via IMAP works 90% of the time, but doesn't for 10%. I don't seem to be able to find any pattern as to it not working - it doesn't consistently fail in any particular manner. The problem happens with multiple mail clients. This might be a courier related issue, if so, then please tell me. Here is what I see in the mysql logs, when I try to log in to an account with a login of doug (actually, it this using a webmail client, so the login is [EMAIL PROTECTED]): 540747 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = doug and pw_domain = innerworldscuba.com 540747 Quit 020915 4:36:10 540748 Connect qmail@localhost on vpopmail 540748 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = doug and pw_domain = innerworldscuba.com ..all looks good. I show failed logins like this: 020917 12:56:28 590250 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougs and pw_domain = innerworldscuba.com 590250 Quit 020917 12:56:33 590251 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougs and pw_domain = innerworldscuba.com 590251 Quit 020917 12:56:38 590252 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougs and pw_domain = innerworldscuba.com 590252 Quit 020917 12:57:03 590253 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougs and pw_domain = innerworldscuba.com 590253 Quit -or-020917 13:20:01 590609 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougu and pw_domain = innerworldscuba.com 590609 Quit 020917 13:20:06 590641 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougu and pw_domain = innerworldscuba.com 590641 Quit -or- 020916 10:09:48 564000 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougt and pw_domain = innerworldscuba.com 564000 Quit so it appears that the piece that parses the login isn't doing what it is supposed too. Is this vchpw.. or is this something else? Courier is compiled with --enable-workarounds-for-imap-client-bugs if that matters. Anyone else seen this? Is this a know issue at all? Thanks in advance for the help.. -Brendan - Webmail Services Provided by KPG Inc. (http://www.kpginc.com) - Webmail Services Provided by KPG Inc. (http://www.kpginc.com)
Re: [vchkpw] vpopmail bug?
There is a bug in vpopmail's email parser function which adds extra character to the end of user login at times, when called by courier. Version 5.3.x has a newer email parser which seems to work. [EMAIL PROTECTED] wrote: I am seeing strange behaviour on my Qmail+VpopMail(w/ MySQL)+COurier setup. Authenticating via IMAP works 90% of the time, but doesn't for 10%. I don't seem to be able to find any pattern as to it not working - it doesn't consistently fail in any particular manner. The problem happens with multiple mail clients. This might be a courier related issue, if so, then please tell me. Here is what I see in the mysql logs, when I try to log in to an account with a login of doug (actually, it this using a webmail client, so the login is [EMAIL PROTECTED]): 540747 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = doug and pw_domain = innerworldscuba.com 540747 Quit 020915 4:36:10 540748 Connect qmail@localhost on vpopmail 540748 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = doug and pw_domain = innerworldscuba.com ..all looks good. I show failed logins like this: 020917 12:56:28 590250 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougs and pw_domain = innerworldscuba.com 590250 Quit 020917 12:56:33 590251 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougs and pw_domain = innerworldscuba.com 590251 Quit 020917 12:56:38 590252 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougs and pw_domain = innerworldscuba.com 590252 Quit 020917 12:57:03 590253 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougs and pw_domain = innerworldscuba.com 590253 Quit -or-020917 13:20:01 590609 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougu and pw_domain = innerworldscuba.com 590609 Quit 020917 13:20:06 590641 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougu and pw_domain = innerworldscuba.com 590641 Quit -or- 020916 10:09:48 564000 Query select pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell from vpopmail where pw_name = dougt and pw_domain = innerworldscuba.com 564000 Quit so it appears that the piece that parses the login isn't doing what it is supposed too. Is this vchpw.. or is this something else? Courier is compiled with --enable-workarounds-for-imap-client-bugs if that matters. Anyone else seen this? Is this a know issue at all? Thanks in advance for the help.. -Brendan - Webmail Services Provided by KPG Inc. (http://www.kpginc.com)
Re: [vchkpw] Limit local user's e-mail
You might want to take a look at maildrop. Per user configurable and has regex rules for delivery. Jeremy Oddo wrote: Does anyone know if there's an easy way to deny SOME users the right to e-mail outside our organization? For example, let's say I have three users: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] I would like user1 and user2 to be able to e-mail anyone over the Internet. But I'd like to restrict user3 to ONLY be able to e-mail those people in his domain, meaning, he can only e-mail user1 and user2. How does one go about setting this up? Thanks, Jer
Re: [vchkpw] Restrict amount of vchkpw authentications
I don't think there is anything in POP that makes the client pop a warning. Cheapest way is to write something that reads the log file and mail warnings or do your desired actions to offenders. Jeremy Kister wrote: Hi I've got vpopmail 5.2.1 on top of qmail 1.03 on a Solaris 2.7 SPARC machine. Everything is going well. I've noticed, though, that several of my users are abusing my pop3 service, that is, that they are popping their email every minute, 24 hours a day. this has not become a problem for my mail server performance as of yet, but i'm being pro active. It is clearly stated in my aup that checking your mail more than once every 5 minutes is unacceptable, and that once (or less than) every 10 minutes is preferred. I'm wondering if anybody has implemented a method of making vchkpw only allow one authentication per user per 5 minutes.. I'm looking for something that will not silently deny their connection, but something that will actually make their mail client do something like pop up a message, or pop up a username and password window.. just so that the client knows that he's doing something wrong. --- Jeremy Kister www.jeremykister.com PGP: http://www.jeremykister.com/jeremy/public_key.asc ---
Re: [vchkpw] -lz instalation error
Make sure the LIBRARY_PATH includes the directory where zlib resides or include it in /etc/ld.cache.conf Thiago Campos wrote: 020e01c24dd8$84a3d7c0$0400a8c0@terra"> zlib is installed![root@email vpopmail-5.2.1]# rpm -q zlibzlib-1.1.3-25.7The libmysqlclient is in the /usr/lib/mysql- Original Message -From: "Dzuy Nguyen" [EMAIL PROTECTED]To: "Thiago Campos" [EMAIL PROTECTED]; [EMAIL PROTECTED]Sent: Tuesday, August 27, 2002 11:32 AMSubject: Re: [vchkpw] -lz instalation error Install zlib!Thiago Campos wrote: Hi,I'm getting the following error on my RH 7.3This is my ./configure outputvpopmail directory = /home/vpopmail uid = 89 gid = 89 ip alias = OFF --enable-ip-alias-domains=n (default)address extentions = OFF --enable-qmail-ext=n (default)roaming users = OFF --enable-roaming-users=n default user quota = OFF --enable-defaultquota=NOQUOTA default auth module = mysql --enable-mysql=ymysql replication = OFF --enable-mysql-replication=n defaulttable optimization = many domains --enable-many-domains=y default system passwords = OFF --enable-passwd=n default file locking = ON --enable-file-locking=y defaultfile sync = OFF --enable-file-sync=n default disable vdelivermail fsync auth logging = ON --enable-auth-logging=y defaultmysql logging = OFF --enable-mysql-logging=n default clear passwd = ON --enable-clear-passwd=y (default)valias processing = ON --enable-valias=y pop syslog = show only failure attempts--enable-logging=e default default domain =email.consult.eng.br --enable-default-domain=email.consult.eng.br auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz[root@email vpopmail-5.2.1]# makemake all-recursivemake[1]: Entering directory `/usr/local/src/vpopmail-5.2.1'Making all in cdbmake[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb'make[2]: Nothing to be done for `all'.make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb'make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1'gcc -g -O2 -Wall -o vchkpw vchkpw.oibvpop mail.a -L/usr/lib/mysql -lmysqlclient -lz -lnsl -lcrypt -lm/usr/bin/ld: cannot find -lzcollect2: ld returned 1 exit statusmake[2]: *** [vchkpw] Error 1make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'make: *** [all-recursive-am] Error 2
Re: [vchkpw] -lz instalation error
Install zlib! Thiago Campos wrote: Hi, I'm getting the following error on my RH 7.3 This is my ./configure output vpopmail directory = /home/vpopmail uid = 89 gid = 89 ip alias = OFF --enable-ip-alias-domains=n (default) address extentions = OFF --enable-qmail-ext=n (default) roaming users = OFF --enable-roaming-users=n default user quota = OFF --enable-defaultquota=NOQUOTA default 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 auth logging = ON --enable-auth-logging=y default mysql logging = OFF --enable-mysql-logging=n default clear passwd = ON --enable-clear-passwd=y (default) valias processing = ON --enable-valias=y pop syslog = show only failure attempts --enable-logging=e default default domain = email.consult.eng.br --enable-default-domain=email.consult.eng.br auth inc = -I/usr/include/mysql auth lib = -L/usr/lib/mysql -lmysqlclient -lz [root@email vpopmail-5.2.1]# make make all-recursive make[1]: Entering directory `/usr/local/src/vpopmail-5.2.1' Making all in cdb make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1/cdb' make[2]: Entering directory `/usr/local/src/vpopmail-5.2.1' gcc -g -O2 -Wall -o vchkpw vchkpw.o ibvpopmail.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 `/usr/local/src/vpopmail-5.2.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1' make: *** [all-recursive-am] Error 2
Re: [vchkpw] qmail vs ms exchange???
qmail: 0$ MS Xchange: Yee Siew Chin wrote: Hi, Does anybody has any write-up of qmail vs ms exchange? Rgds, Yee __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com
Re: [vchkpw] vchkpw can't connect to mysql update server
You might want to bump up the number of connections allowed on your mysql server. Juan Enciso - DNSQ wrote: Hi friends I am using vpopmail-5.2.1 with mysql running vchkpw authentication. Once in a while, the qmail-send show me this error message: 2002-08-25 04:32:50.580965500 status: local 16/100 remote 0/250 2002-08-25 04:32:50.601224500 delivery 4226: deferral: could_not_connect_to_mysql_update_server_To o_many_connections_with_database/could_not_connect_to_mysql_update_server_To o_many_connections/ 2002-08-25 04:32:50.601241500 status: local 15/100 remote 0/250 And when I make a connection pop3 show me this: [root@linux /root]# telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK [EMAIL PROTECTED] user [EMAIL PROTECTED] +OK pass XX could not connect to mysql update server Too many connections with database could not connect to mysql update server Too many connections could not create lastauth table CREATE TABLE vlog ( id BIGINT PRIMARY KEY AUTO_I NCREMENT, user char(32), passwd CHAR(32), domain CHAR(64), logon VAR CHAR(200), remoteip char(18), message VARCHAR(255), timestamp bigint default 0 NOT NULL, error INT, INDEX user_idx (user), INDEX domain_ idx (domain), INDEX remoteip_idx (remoteip), INDEX error_idx (error), INDE X message_idx (message) ) error inserting into lastauth table -ERR authorization failed In order to solve this problem, I erase the table vlog using this mysql command: delete from vlog; and I have shutdown qmail and mysql services. In addition I have than fix the table vlog using the command: myisamchk -r -q /var/lib/mysql/vpopmail/vlog Somebody has an idea of which it can be happening? Thanks for your replies. Bye