[vchkpw] vpopmail 5.3.27 does not compile with --enable-ldap=y
Hello List, I tried to install vpopmail 5.3.27 with ldap authentication. Unfortunately, the following error occured during make. gcc -I. -I/usr/local/include -g -O2 -Wall -c vauth.c vauth.c: In function `vauth_getpw': vauth.c:70: storage size of `limits' isn't known vauth.c:290: warning: implicit declaration of function `vget_limits' vauth.c:290: `in_domain' undeclared (first use in this function) vauth.c:290: (Each undeclared identifier is reported only once vauth.c:290: for each function it appears in.) vauth.c:292: warning: implicit declaration of function `vlimits_get_gid_mask' vauth.c:70: warning: unused variable `limits' vauth.c: In function `vset_lastauth': vauth.c:918: warning: implicit declaration of function `vset_lastauth_time' vauth.c: In function `vset_lastauth_time': vauth.c:950: warning: control reaches end of non-void function make[2]: *** [vauth.o] Error 1 make[2]: Leaving directory `/usr/local/src/vpopmail-5.3.27' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/vpopmail-5.3.27' Compiling with normal cdb authentication seems to work without error. Regards, --- Tohru Kobayashi [EMAIL PROTECTED]
[vchkpw] vqregister quota
Hi, First excuse my bad english I want set quota on vqregister, it is possible !!? thnks you
[vchkpw] qmail-send is eating all availible cpu time
Thanks very much Tobias. Have a look at this ls -la /var/qmail/supervise/qmail-send/supervise/ total 12 drwx-- 2 root root 4096 Aug 29 16:40 ./ drwxr-xr-t 4 root root 4096 Aug 27 20:30 ../ prw--- 1 root root 0 Aug 29 16:40 control| -rw--- 1 root root 0 Aug 26 16:55 lock prw--- 1 root root 0 Aug 26 16:55 ok| -rw-r--r-- 1 root root 18 Aug 29 16:40 status You see that the ok and the control file are named pipes. If they don´t have that p in front of the permission Stop qmail and delete those 2 files and start the server again and i should be all fine. //Tobias - Original Message - From: Jesus Ruiz [EMAIL PROTECTED] To: Vpopmail Mailing List [EMAIL PROTECTED] Sent: Friday, August 29, 2003 5:56 PM Subject: [vchkpw] Re: qmail-send is eating all availible cpu time I have the same problem i check the file permission and they are ok, and i also check that qmail-send don't restart very often. I'm using qmail, with vpopmail 5.2.1 and spamcontrol2.09 [EMAIL PROTECTED] /root]# svstat /service/* /service/qmail-pop3d: up (pid 1129) 7392 seconds /service/qmail-send: up (pid 1121) 7393 seconds /service/qmail-smtpd: up (pid 1122) 7393 seconds [EMAIL PROTECTED] /root]# svstat /service/*/log /service/qmail-pop3d/log: up (pid 1128) 7406 seconds /service/qmail-send/log: up (pid 1127) 7406 seconds /service/qmail-smtpd/log: up (pid 1130) 7406 seconds the log dir owner is qmaill drwxr-xr-x 4 qmaill root 4096 Aug 29 11:50 qmai drwxr-xr-x 2 qmaill root 4096 Aug 29 11:28 pop3d drwxr-xr-x 2 qmaill root 4096 Aug 29 10:10 smtpd the supervise scripts are like this [EMAIL PROTECTED] /root]# ls -la /var/qmail/supervise/qmail-smtpd/ drwxr-xr-t 4 root root 4096 Aug 25 13:06 . drwxr-xr-x 5 root root 4096 Aug 28 2001 .. drwxr-xr-x 3 root root 4096 Aug 25 11:01 log -rwxr-xr-x 1 root root 334 Aug 25 13:06 run -rwxr-xr-x 1 root root 347 Jan 14 2003 run.20030114 -rwxr-xr-x 1 root root 336 Jun 12 2002 run.bak drwx-- 2 root root 4096 Aug 29 10:02 supervise [EMAIL PROTECTED] /root]# ls -la /var/qmail/supervise/qmail-send/ drwxr-xr-t 4 root root 4096 Jul 29 15:53 . drwxr-xr-x 5 root root 4096 Aug 28 2001 .. drwxr-xr-x 3 root root 4096 Jul 29 15:53 log -rwxr-xr-x 1 root root 29 Aug 27 2001 run drwx-- 2 root root 4096 Aug 29 10:02 supervise [EMAIL PROTECTED] /root]# ls -la /var/qmail/supervise/qmail-pop3d/ drwxr-xr-t 4 root root 4096 Aug 28 18:13 . drwxr-xr-x 5 root root 4096 Aug 28 2001 .. drwxr-xr-x 3 root root 4096 Jul 31 08:57 log -rwxr-xr-x 1 root root 198 Aug 28 18:13 run drwx-- 2 root root 4096 Aug 29 10:02 supervise At 06:38 PM 25/08/2003 +0200, [EMAIL PROTECTED] wrote: That solved it! Thanks now i´m happy : ) Although i have stunbled in to another problem but i´ll do a new post for that one if i don´t solve it //Tobias - Original Message - From: Kurt Hansen [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, August 25, 2003 6:11 PM Subject: Re: qmail-send is eating all availible cpu time [EMAIL PROTECTED] wrote: Okay so this cd /var/qmail/supervise/qmail-send/supervise -rw-r--r-- 1 root root 2 Aug 25 17:36 control -rw--- 1 root root 0 Aug 12 13:30 lock -rw-r--r-- 1 root root 0 Jul 16 14:56 ok -rw-r--r-- 1 root root 18 Aug 25 13:44 status Could be a problem ? how do i make them named pipes ? I just deleted the control file, and it was recreated as a named pipe almost immediately. I'm guessing the same would be true with ok. Take care, Kurt Hansen
[vchkpw] Solaris - Symbol referencing errors. No output written to authvchkpw
Hi to all, If anyone can help me with the following will be greatly appreciated. I am trying to installing Solaris 9 + QMAIL 1.03 + APACHE 1.3.28 + PHP 4.3.3 + MYSQL + VPOPMAIL (with MySQL accounts) + COURIER-IMAP + SQUIRRELMAIL (with MySQL prefs/addrbook), QMAIL-SCANNER + SPAMASSASSIN Vpopmail was already installed, but Courier-Imap bombs out and it has something to do with vchkpw. below you will find my configure line syntax: CPPFLAGS=-I/usr/local/include \ LDFLAGS=-L/usr/local/lib -R/usr/local/lib -L/usr/local/mysql/lib -R/usr/local/mysql/lib .../configure \ --prefix=/usr/local/courier-imap \ --disable-root-check \ --without-authpam \ --without-authldap \ --without-authpwd \ --without-authmysql \ --without-authpgsql \ --without-authshadow \ --without-authuserdb \ --without-authcustom \ --without-authcram \ --with-authdaemon \ --with-authvchkpw \ --with-waitfunc=wait3 Configure comes out fine. But when I try to make i get the following error: Compiling modauthvchkpw.c gcc -I/opt/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a /md5/libmd5.a ../sha1/libsha1.a -L/opt/vpopmail/lib -lvpopmail -L/usr/local/mysql/lib -lmysqlclient -lz -lm -lcrypt -lnsl -lsocket Undefined first referenced symbol in file socket /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) getpeername /usr/local/mysql/lib/libmysqlclient.a(viosocket.o) gethostbyname_r /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) setsockopt /usr/local/mysql/lib/libmysqlclient.a(viosocket.o) getservbyname /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) inet_addr /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) inet_ntoa /usr/local/mysql/lib/libmysqlclient.a(my_net.o) shutdown /usr/local/mysql/lib/libmysqlclient.a(viosocket.o) connect /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) ld: fatal: Symbol referencing errors. No output written to authvchkpw collect2: ld returned 1 exit status make[2]: *** [authvchkpw] Error 1 make[2]: Leaving directory `/data/NewInstall/courier-imap-2.0.0/authlib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/data/NewInstall/courier-imap-2.0.0/authlib' make: *** [all-recursive] Error 1 Does anyone know how to solve this issue or what I can do to make it work. Thanks to everyone. jeb -- HigherAccess.com for web and email hosting needs. http://www.higheraccess.com/
[vchkpw] Solaris - Symbol referencing errors. No output written to authvchkpw
Hi to all, If anyone can help me with the following will be greatly appreciated. I am trying to installing Solaris 9 + QMAIL 1.03 + APACHE 1.3.28 + PHP 4.3.3 + MYSQL + VPOPMAIL (with MySQL accounts) + COURIER-IMAP + SQUIRRELMAIL (with MySQL prefs/addrbook), QMAIL-SCANNER + SPAMASSASSIN Vpopmail was already installed, but Courier-Imap bombs out and it has something to do with vchkpw. below you will find my configure line syntax: CPPFLAGS=-I/usr/local/include \ LDFLAGS=-L/usr/local/lib -R/usr/local/lib -L/usr/local/mysql/lib -R/usr/local/mysql/lib /configure \ --prefix=/usr/local/courier-imap \ --disable-root-check \ --without-authpam \ --without-authldap \ --without-authpwd \ --without-authmysql \ --without-authpgsql \ --without-authshadow \ --without-authuserdb \ --without-authcustom \ --without-authcram \ --with-authdaemon \ --with-authvchkpw \ --with-waitfunc=wait3 Configure comes out fine. But when I try to make i get the following error: Compiling modauthvchkpw.c gcc -I/opt/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../numlib/libnumlib.a ./md5/libmd5.a ../sha1/libsha1.a -L/opt/vpopmail/lib -lvpopmail -L/usr/local/mysql/lib -lmysqlclient -lz -lm -lcrypt -lnsl -lsocket Undefined first referenced symbol in file socket /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) getpeername /usr/local/mysql/lib/libmysqlclient.a(viosocket.o) gethostbyname_r /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) setsockopt /usr/local/mysql/lib/libmysqlclient.a(viosocket.o) getservbyname /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) inet_addr /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) inet_ntoa /usr/local/mysql/lib/libmysqlclient.a(my_net.o) shutdown /usr/local/mysql/lib/libmysqlclient.a(viosocket.o) connect /usr/local/mysql/lib/libmysqlclient.a(libmysql.o) ld: fatal: Symbol referencing errors. No output written to authvchkpw collect2: ld returned 1 exit status make[2]: *** [authvchkpw] Error 1 make[2]: Leaving directory `/data/NewInstall/courier-imap-2.0.0/authlib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/data/NewInstall/courier-imap-2.0.0/authlib' make: *** [all-recursive] Error 1 Does anyone know how to solve this issue or what I can do to make it work. -- HigherAccess.com for web and email hosting needs. http://www.higheraccess.com/
Re: [vchkpw] 5.3.26 error with chkusr patch + mysql
I agree with tonix on this one. It is probably better to put the function back into the distribution with the comment that it is depreciated and will be removed in a future version. The last thing we want to do is release a new version of vpopmail that breaks current software. Ken Jones inter7.com On Thursday 04 September 2003 4:41 pm, Charles Sprickman wrote: FWIW, I'm getting a similar error with 5.3.27: ./load qmail-smtpd rcpthosts.o commands.o timeoutread.o timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o ssl_timeoutio.o ndelay.a -L/usr/local/ssl/lib -lssl -lcrypto -L/home/vpopmail/lib -L/usr/local/lib/mysql -lvpopmail -lmysqlclient received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a open.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat socket.lib` qmail-smtpd.o: In function `realrcpt_check': qmail-smtpd.o(.text+0xc51): undefined reference to `vget_real_domain' *** Error code 1 As mentioned below, if I comment out the section referencing vget_real_domain in qmail-smtpd.c, it does compile, but I would think that would affect functionality, no? [EMAIL PROTECTED]/usr/local/src/toaster/vpopmail/vpopmail-5.3.27]# grep vget_real_dom * ChangeLog: - removed the need for vget_real_domain() function ChangeLog: tracked it down to vget_real_domain calling ChangeLog: the vget_real_domain() function to change the domain vpopmail.h:int vget_real_domain(char *domain, int len ); Looks like the function is gone... Charles On Sun, 31 Aug 2003, tonix (Antonio Nati) wrote: Shane, I did not try the last versions of vpopmail. It looks like function vget_real_domain does not exists anymore. Try commenting out these lines of code, and please let me know. /* Check if domain is a real domain */ /* if (!stralloc_0 (domain)) die_nomem(); vget_real_domain(domain.s, domain.a); domain.len = strlen (domain.s); if (domain.len (domain.a - 1)) die_nomem(); */ /* Let's get domain's real path */ Tonino At 01/09/03 01/09/03 +0800, Shane Chrisp wrote: Im setting up a new system and I found that there is an error when trying to use the chkusr patch with the latest version. Below is the error from qmail. I tried compiling again with 5.3.24 successfully so I then tried 5.3.25 and that failed also, with the same error. ./load qmail-smtpd qregex.o rcpthosts.o commands.o timeoutread.o \ timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \ received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \ datetime.a getln.a open.a sig.a case.a env.a stralloc.a \ alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat \ socket.lib` -lssl -lcrypto dns.o `cat dns.lib` -lcrypt \ `head -1 conf-vpopmail`/lib/libvpopmail.a \ /usr/lib/mysql/libmysqlclient.a -lz qmail-smtpd.o: In function `realrcpt_check': qmail-smtpd.o(.text+0xf29): undefined reference to `vget_real_domain' collect2: ld returned 1 exit status make: *** [qmail-smtpd] Error 1 Regards Shane [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED]
[vchkpw] Retrive From Catch ALL Pop Account
Hi all, is they anyway I can retrive a catch all pop account from my ISP server to a local server and distribute it to the users. eg: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] (catch all pop acc in ISP) -- distribute to according user in qmail/vpopmail local server . . [EMAIL PROTECTED] Thanks, Keng Heng. Chan
[vchkpw] vpopmail and mysql replication
Greetings, I've got a working mysql and vpopmail setup going, with replication support. For those that don't know, replication support in vpopmail means that all updates go to a single server, where lookups can be sent to another server. I have a local copy of the replicated database on each machine to spread the load out and to be more robust in the face of other machine failure. Unfortunately, this makes each machine dependant on the mysql update server, since each login triggers an update to the lastauth table. How have other people solved this, without just disabling mysql logging? Has anyone used any of the more rare multiple-master ring topologys in mysql to let each server update? I really don't want to setup a dedicated mysql server just to handle updates like this. I'm also planning to start using spamassassin mysql preferences, so I'd like any server to be able to update the database with user preferences, and the change replicate around. Does anyone have any input on this? Anyone use squirrelmail with their preferences in the database as well? Thanks! --Doug
Re: [vchkpw] vpopmail and mysql replication
Doug Clements wrote: Greetings, I've got a working mysql and vpopmail setup going, with replication support. For those that don't know, replication support in vpopmail means that all updates go to a single server, where lookups can be sent to another server. I have a local copy of the replicated database on each machine to spread the load out and to be more robust in the face of other machine failure. Unfortunately, this makes each machine dependant on the mysql update server, since each login triggers an update to the lastauth table. How have other people solved this, without just disabling mysql logging? Has anyone used any of the more rare multiple-master ring topologys in mysql to let each server update? I really don't want to setup a dedicated mysql server just to handle updates like this. I'm also planning to start using spamassassin mysql preferences, so I'd like any server to be able to update the database with user preferences, and the change replicate around. Does anyone have any input on this? Anyone use squirrelmail with their preferences in the database as well? Thanks! --Doug I'm about to tackle this same problem myself, since I'm about to ditch a pair of Solaris boxes for my NFS mounted mail spools and instead move to filers. My plan is to instead use Linux HA to have two machines as a failover cluster mounting the database via NFS. I think this'll be a lot cleaner, and will also integrate in a nicer fashion with the concept vpopmail has of mysql replication. Your other option, if you've got money to spend on the problem, is to get a database server which is both supported by vpopmail and supports more flexible replication. I'd recommend Sybase, since they support real two way replication, and their replication speed is amazing. Hope that helps, Nick Harring System Administrator Webley Systems, Inc.
Re: [vchkpw] vpopmail and mysql replication
You could potentially code in a multiple call update from vpopmail to some IFDEF'd in mysql servers. I'm thinking that you could make certain update calls to as many MySQL servers as you wanted, sending the same SQL statement to each. I imagine some critical thinking in the process could lead to judgement on what would be the essential updates to multi-home and which updates could be written to the master for later replication. My $0.02USD, before taxes. Doug Clements wrote: Greetings, I've got a working mysql and vpopmail setup going, with replication support. For those that don't know, replication support in vpopmail means that all updates go to a single server, where lookups can be sent to another server. I have a local copy of the replicated database on each machine to spread the load out and to be more robust in the face of other machine failure. Unfortunately, this makes each machine dependant on the mysql update server, since each login triggers an update to the lastauth table. How have other people solved this, without just disabling mysql logging? Has anyone used any of the more rare multiple-master ring topologys in mysql to let each server update? I really don't want to setup a dedicated mysql server just to handle updates like this. I'm also planning to start using spamassassin mysql preferences, so I'd like any server to be able to update the database with user preferences, and the change replicate around. Does anyone have any input on this? Anyone use squirrelmail with their preferences in the database as well? Thanks! --Doug
[vchkpw] Re: Retrive From Catch ALL Pop Account
Hello Kengheng, On Friday, September 5, 2003 at 6:45:50 PM you wrote (at least in part): Hi all, is they anyway I can retrive a catch all pop account from my ISP server to a local server and distribute it to the users. Yes. E.g. 'fetchmail' with 'multidrop' configuration. -- Best regards Peter Palmreuther Believe anything anyone ever tells you. It's not funny anymore. - FNM
Re: [vchkpw] vpopmail and mysql replication
On Fri, Sep 05, 2003 at 02:31:39PM -0500, Nick Harring wrote: I'm about to tackle this same problem myself, since I'm about to ditch a pair of Solaris boxes for my NFS mounted mail spools and instead move to filers. My plan is to instead use Linux HA to have two machines as a failover cluster mounting the database via NFS. I think this'll be a lot cleaner, and will also integrate in a nicer fashion with the concept vpopmail has of mysql replication. Your other option, if you've got money to spend on the problem, is to get a database server which is both supported by vpopmail and supports more flexible replication. I'd recommend Sybase, since they support real two way replication, and their replication speed is amazing. Thanks for the input. I would assume Sybase also supports concurrent access to the DB files over NFS, since you're planning to use that. I know mysql specifically doesn't allow that (at least with MyISAM tables). Unfortunately, Sybase pricing is probably greater than the cost of labor in setting up a dedicated mysql server. What is a typical Sybase price for a setup like yours? --Doug
Re: [vchkpw] vpopmail and mysql replication
Doug Clements wrote: On Fri, Sep 05, 2003 at 02:31:39PM -0500, Nick Harring wrote: I'm about to tackle this same problem myself, since I'm about to ditch a pair of Solaris boxes for my NFS mounted mail spools and instead move to filers. My plan is to instead use Linux HA to have two machines as a failover cluster mounting the database via NFS. I think this'll be a lot cleaner, and will also integrate in a nicer fashion with the concept vpopmail has of mysql replication. Your other option, if you've got money to spend on the problem, is to get a database server which is both supported by vpopmail and supports more flexible replication. I'd recommend Sybase, since they support real two way replication, and their replication speed is amazing. Thanks for the input. I would assume Sybase also supports concurrent access to the DB files over NFS, since you're planning to use that. I know mysql specifically doesn't allow that (at least with MyISAM tables). Unfortunately, Sybase pricing is probably greater than the cost of labor in setting up a dedicated mysql server. What is a typical Sybase price for a setup like yours? --Doug I've not yet actually priced out Sybase for this, and probably wouldn't do concurrent NFS access, since with two way replication it'd be easier to just have two servers with a virtual IP for failover (makes it totally transparent to the clients). Sybase licensing is typically on a per CPU basis though, so if you have low load the pricing shouldn't be too bad. Also, with MySQL I'm not planning on doing concurrent access, but active/passive failover. The scenario plays out roughly like this: Server A is primary, and thus active. Server B is secondary, and thus passive. Servers A and B mount the nfs share, but only Server A starts MySQL and takes ownership of the virtual IP. Server A chugs along happily for an arbitrary period of time, serving requests and keeping the table files up to date. Server A fails, server B fails to receive a heartbeat and immediately assumes the virtual IP, forcibly arps to notify the switch, and then starts MySQL, loading the tables via NFS. When Server A resumes it sees that B is primary, and stays passive, waiting for a heartbeat failure in order to fail back over. The other option, one that I'm also considering, is instead of using shared storage is to have two configuration files on each server, one with it being the master, and the other with it being the slave. You still use a virtual IP, but both servers run all the time. Which ever is the slave just connects to the master as a slave and pulls updates from it, only restarting in master mode in order to server updates properly to the rest of the cluster. In the first scenario, if you're leery of NFS (which is a reasonable thing for databases), the other option is to hang one storage array with two scsi host channels off of two boxes and have them mount/umount based on their active or passive role. In either scenario you need to be 100% positive that you'll completely fail rather than have both sides become active, as split brain syndrome is incredibly difficult to recover from. You might want to look at Veritas Cluster Services for this sort of setup, as they're pretty reasonable to manage and they offer the flexibility to do a lot of fail over scenarios. I'd definitely advise looking at the Linux HA tools and see what kind of reliability and flexibility you need. I have had very, very positive experiences with both LVS and Pirahna in the past, including doing it with MySQL. The upfront effort is a little on the high side, especially for dynamically reconfiguring MySQL servers to flip from master to slave and back, but its well worth it when you get an essentially bulletproof cluster. Nick
[vchkpw] cmd5checkpw 'free user ID'
Help me please understand what is meant in the INSTALL doc, when it says Select a free user id in your system... and what does he mean by that user? http://members.elysium.pl/brush/cmd5checkpw/ Am I supposed to useradd a *new system user*? And how do I select an id for 'thatuser'... before I make 'thatuser'? I have already patched with qmail-smptd-auth-0.31 I've run the make on cmd5checkpw-0.22 But it's the 'thatuser', which is slowing me down. (I have several users with Mac OS-X, whose 'password' settings do not seem to work with this smptd-auth, and they can use CRAM, so I thought I'd patch for that.) I think I'm missing something basic. (Have not changed my run files, yet). Thanks for help, Rick #!/bin/sh exec /usr/local/bin/softlimit -m 500 /usr/local/bin/tcpserver -v -R -H - l 0 0 110 \ /var/qmail/bin/qmail-popup vanmorel.com /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 21
Re: [vchkpw] Retrive From Catch ALL Pop Account
Hi, How do I need to configure the .fetechmailrc file? Thanks - Original Message - From: Simon Adlem [EMAIL PROTECTED] To: kengheng [EMAIL PROTECTED] Sent: Saturday, September 06, 2003 1:10 AM Subject: Re: [vchkpw] Retrive From Catch ALL Pop Account -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 05 Sep 2003 5:45 pm, kengheng may quite possibly have written: Hi all, is they anyway I can retrive a catch all pop account from my ISP server to a local server and distribute it to the users. Yes, use fectchmail: http://catb.org/~esr/fetchmail/ Simon -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/WMNwAEPeBJNaHh0RAsN0AJ9pVYIOpzoJiLzrH4dse+w+3SaCwwCfSxG/ oYELBYdl894X33BEMCiGfj8= =G7P8 -END PGP SIGNATURE-
Re: [vchkpw] 5.3.26 error with chkusr patch + mysql
There is a sourceforge tracker item open for this issue [800738] I have uploaded a patch there now to restore this function to ensure backwards compatibility with the chkusr patch I added comments to the function to mark it is depreciated Michael. - Original Message - From: Ken Jones [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, September 06, 2003 2:02 AM Subject: Re: [vchkpw] 5.3.26 error with chkusr patch + mysql I agree with tonix on this one. It is probably better to put the function back into the distribution with the comment that it is depreciated and will be removed in a future version. The last thing we want to do is release a new version of vpopmail that breaks current software. Ken Jones inter7.com On Thursday 04 September 2003 4:41 pm, Charles Sprickman wrote: FWIW, I'm getting a similar error with 5.3.27: ./load qmail-smtpd rcpthosts.o commands.o timeoutread.o timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o ssl_timeoutio.o ndelay.a -L/usr/local/ssl/lib -lssl -lcrypto -L/home/vpopmail/lib -L/usr/local/lib/mysql -lvpopmail -lmysqlclient received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a open.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat socket.lib` qmail-smtpd.o: In function `realrcpt_check': qmail-smtpd.o(.text+0xc51): undefined reference to `vget_real_domain' *** Error code 1 As mentioned below, if I comment out the section referencing vget_real_domain in qmail-smtpd.c, it does compile, but I would think that would affect functionality, no? [EMAIL PROTECTED]/usr/local/src/toaster/vpopmail/vpopmail-5.3.27]# grep vget_real_dom * ChangeLog: - removed the need for vget_real_domain() function ChangeLog: tracked it down to vget_real_domain calling ChangeLog: the vget_real_domain() function to change the domain vpopmail.h:int vget_real_domain(char *domain, int len ); Looks like the function is gone... Charles On Sun, 31 Aug 2003, tonix (Antonio Nati) wrote: Shane, I did not try the last versions of vpopmail. It looks like function vget_real_domain does not exists anymore. Try commenting out these lines of code, and please let me know. /* Check if domain is a real domain */ /* if (!stralloc_0 (domain)) die_nomem(); vget_real_domain(domain.s, domain.a); domain.len = strlen (domain.s); if (domain.len (domain.a - 1)) die_nomem(); */ /* Let's get domain's real path */ Tonino At 01/09/03 01/09/03 +0800, Shane Chrisp wrote: Im setting up a new system and I found that there is an error when trying to use the chkusr patch with the latest version. Below is the error from qmail. I tried compiling again with 5.3.24 successfully so I then tried 5.3.25 and that failed also, with the same error. ./load qmail-smtpd qregex.o rcpthosts.o commands.o timeoutread.o \ timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \ received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \ datetime.a getln.a open.a sig.a case.a env.a stralloc.a \ alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat \ socket.lib` -lssl -lcrypto dns.o `cat dns.lib` -lcrypt \ `head -1 conf-vpopmail`/lib/libvpopmail.a \ /usr/lib/mysql/libmysqlclient.a -lz qmail-smtpd.o: In function `realrcpt_check': qmail-smtpd.o(.text+0xf29): undefined reference to `vget_real_domain' collect2: ld returned 1 exit status make: *** [qmail-smtpd] Error 1 Regards Shane [EMAIL PROTECTED]Interazioni di Antonio Nati http://www.interazioni.it [EMAIL PROTECTED]