Re[2]: attachment size does not tally
> At a guess I would say it is because when you attach a file it is converted > to base64 or mime which is 7 bit. So for every 8 bits you only get 7 bits of > data. Therefore an attachment uses much more space than the original file. I'd say so too.. Plus the added linebreak after every 72th (character), and i guess could be some extra bytes (checksums...) too. Regards, Justin
behaviour of vadduser username ??
How is the following meant to behave? vadduser john I can see that it creates a directory and vpasswd entry in ~vpopmail/users The weird thing is that I can access this with username: john via IMP (courier-imap with vauth module) but I can't access it through POP. I get the following error in syslog: vchkpw: setgid() failed Any ideas what is going on here? Iain. -- public key available at http://www.minihub.org/~iain/iain.asc
RE: Vdelivermail, Maildir support and NFS 'safety'
Hi - I had a look at the new code and it looks much closer to the Maildir algorithm now. I think you could still put a call to fsync() before the file close() function call to ensure the file has been written to the drive and not to the local cache. This gives you something like: /* done with the new file */ if ( is_file == 1) { if(fsync(write_fd) == -1 || close(write_fd) == -1) { if ( unlink(local_file) != 0 ) { printf("unlink failed %s errno = %d\n", local_file, errno); return(errno); } printf("fsync/close failed %s errno = %d\n", local_file, errno); return(errno); } } else close(write_fd); (around line 529 of vdelivermail.c). Now you can pretty much guarantee that the tmp file is written to the drive. You may be able to use fdatasync() if you want to optimise this as that will leave out a write operation to update the modification time on the inode and just writes the data out to disk but how much time that will save I dont know. Hope this is of use, Marcus > -Original Message- > From: Ken Jones [mailto:[EMAIL PROTECTED]] > Sent: 05 June 2001 15:56 > To: [EMAIL PROTECTED] > Subject: Re: Vdelivermail, Maildir support and NFS 'safety' > > > > Oops, I forgot to put a url. It has been a long day > already. > > http://www.inter7.com/vpopmail/vpopmail-4.10.15.tar.gz >
Re: behaviour of vadduser username ??
I wonder if we can drop this functionality and make vpopmail only talk to virtual domains with the @domain. I never liked the need for "vadduser username" The only use is for domains that want virtual email users mixed with /etc/passwd users. Ken Jones Iain writes: > How is the following meant to behave? > > vadduser john > > I can see that it creates a directory and vpasswd entry in > ~vpopmail/users > > The weird thing is that I can access this with username: john > > via IMP (courier-imap with vauth module) > > but I can't access it through POP. I get the following error in syslog: > > vchkpw: setgid() failed > > Any ideas what is going on here? > > Iain. > > -- public key available at > http://www.minihub.org/~iain/iain.asc
Re: behaviour of vadduser username ??
On Wed, Jun 06, 2001 at 10:35:16AM +, Ken Jones wrote: > > The only use is for domains that want virtual email > users mixed with /etc/passwd users. This is exactly what i want to do. iain. > > Ken Jones > > Iain writes: > > > How is the following meant to behave? > > > > vadduser john > > > > I can see that it creates a directory and vpasswd entry in > > ~vpopmail/users > > > > The weird thing is that I can access this with username: john > > > > via IMP (courier-imap with vauth module) > > > > but I can't access it through POP. I get the following error in syslog: > > > > vchkpw: setgid() failed > > > > Any ideas what is going on here? > > > > Iain. > > > > -- public key available at > > http://www.minihub.org/~iain/iain.asc > > -- public key available at http://www.minihub.org/~iain/iain.asc
RE: sqwebmail configure loops
I altered the line in authlib/Makefile to read LDFLAGS = -L/home/vpopmail/lib -lvpopmail -L/usr/local/mysql/lib/mysql -lmysqlclient That worked, but failed on something else unrelated. At that point I gave up and installed squirrelmail. (www.squirrelmail.org) Maybe update your authlib/preauthvchkpw.c with this file http://www.inter7.com/vpopmail/preauthvchkpw.c Any one know if that would help? Regards, Kieran Barnes Signum 1226 Ltd Use our Web site at... http://www.1226.net Phone us on... 01772 622889 Fax us on... 01772 622558 > -Original Message- > From: Qmail [mailto:[EMAIL PROTECTED]] > Sent: 06 June 2001 01:24 > To: '[EMAIL PROTECTED]' > Subject: RE: sqwebmail configure loops > > > Still no dice: > gcc -I/home/vpopmail/include -lmysqlclient -Wall -I.. -I./.. > -L/home/vpopmail/lib -L/usr/lib/mysql -o authvchkpw modauthvchkpw.o > libauthmod.a libauth.a ../md5/libmd5.a ../sha1/libsha1.a > -lvpopmail -lm > -lcrypt > . > . > . > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function > `vwrite_dir_control': > /root/vpopmail-4.10.14/vauth.c:1030: undefined reference to > `mysql_query' > /root/vpopmail-4.10.14/vauth.c:1034: undefined reference to > `mysql_store_result' > /root/vpopmail-4.10.14/vauth.c:1035: undefined reference to > `mysql_free_result' > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function > `vcreate_dir_control': > /root/vpopmail-4.10.14/vauth.c:1047: undefined reference to > `mysql_query' > /root/vpopmail-4.10.14/vauth.c:1052: undefined reference to > `mysql_store_result' > /root/vpopmail-4.10.14/vauth.c:1053: undefined reference to > `mysql_free_result' > /root/vpopmail-4.10.14/vauth.c:1071: undefined reference to > `mysql_query' > /root/vpopmail-4.10.14/vauth.c:1076: undefined reference to > `mysql_store_result' > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function > `vdel_dir_control': > /root/vpopmail-4.10.14/vauth.c:1088: undefined reference to > `mysql_query' > /root/vpopmail-4.10.14/vauth.c:1092: undefined reference to > `mysql_store_result' > /root/vpopmail-4.10.14/vauth.c:1093: undefined reference to > `mysql_free_result' > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function > `vupdate_rules': > /root/vpopmail-4.10.14/vauth.c:761: undefined reference to > `mysql_free_result' > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function > `vcreate_dir_control': > /root/vpopmail-4.10.14/vauth.c:1077: undefined reference to > `mysql_free_result' > collect2: ld returned 1 exit status > make[1]: *** [authvchkpw] Error 1 > make[1]: Leaving directory `/usr/local/src/sqwebmail-2.1.0/authlib' > make: *** [all-recursive] Error 1 > [root@fax sqwebmail-2.1.0]# pwd > /usr/local/src/sqwebmail-2.1.0 > > -Original Message- > From: Raghu V Singh [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 05, 2001 1:06 PM > To: Qmail > Subject: RE: sqwebmail configure loops > > > > Instead of your home directory try compiling it in /usr/local/src/ > > HTH > > RVS > > From:Qmail <[EMAIL PROTECTED]> on 06/05/2001 11:46 AM MST > > Sent by: Qmail <[EMAIL PROTECTED]> > > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > cc: (bcc: Raghu V Singh/rsingh1/LSU) > > Subject: RE: sqwebmail configure loops > > > > Ok, > > It did configure, of course... > > However, I have: > >CPPFLAGS="-I/usr/include/mysql" >LDFLAGS="-L/usr/lib/mysql" > > Set and exported. > > But I still get: > > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function > `vupdate_rules': > /root/vpopmail-4.10.14/vauth.c:761: undefined reference to > `mysql_free_result' > /home/vpopmail/lib/libvpopmail.a(vauth.o): In function > `vcreate_dir_control': > /root/vpopmail-4.10.14/vauth.c:1077: undefined reference to > `mysql_free_result > > And the like on "make". > > > > -Original Message- > From: Ken Jones [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 05, 2001 10:50 AM > To: [EMAIL PROTECTED] > Subject: Re: sqwebmail configure loops > > > It is not looping. It is running configure in a whole > lot of directories. Just be patient. It will end. > > Ken > > Qmail writes: > > > Hi Folks, > > > > I'm trying to build sqwebmail-2.1.0. > > > > Unfortunately when I run: ./configure > --with-htmllibdir=/var/www/html > > --with-module=authvchkpw --enable-webpass=vpopmail > --enable-webpass=yes > > > > The config process just loops, and loops, and loops. It never stops. > > > > I tried 2.0.0 as well, same problem. > > > > I'm running a pretty stock version of RH 7.1, and everything else > configures > > and compiles fine. > > > > Any tips? > > > > Lance > > > > > > > > > > > > > > > > > > > > > > > > >
vqregister-2.5
Hi, I've managed to set vqregister-2.5 up, works fine. I have it configured to send the user a signup email when they complete the registration. Although, if the user supplies an email address on a domain that is on the server already - a vpopmail virtual domain the signup fails with the following error Email delivery to [EMAIL PROTECTED] failed Delivery error: Sorry. Although I'm listed as a best-preference MX or A for that host, it isn't in my control/locals file, so I don't treat it as local. #(5.4.6) I am right in that the virtual domain should not be in the control/locals file anyway? Just control/rcpthosts & control/virtualhosts, besides i used vadddomin to add the domain. The script works fine if i supply a remote email address, although I didnt see it send the confirmation email in the logs, though I still got the email. How is vqregister sending these emails - it would appear its not using qmail-inject and why would I be getting that error above? Regards, Kieran Barnes Signum 1226 Ltd Use our Web site at... http://www.1226.net Phone us on... 01772 622889 Fax us on... 01772 622558
better methods to install qmail on linux ( Redhat 6.2 or 7.0)
hi all i have quick question for the all the gurus of linux and qmail experts. iam newnie for qmail and cpopmail i would like to know what is the best installation linux for only mail and http applications. like volume wise what is the space for / what is the space for /boot what is the space for /home what is the space for /usr what is the space for /var what is the space for /swap what is the space for /tmp thanks for the help in advance _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: LDAP Errors, compile warnings and Assertions
Hi Ken, has anybody started writing something like a vpopmail+ldap howto? I would like to contribute or to start something like that. I had several problems compiling vpopmail with ldap support, but your last devel release compiles very smooth on my RH7.1 box. Greetings Christian Am Sonntag, 3. Juni 2001 14:43 schrieb Ken Jones: > Hi Philip, > > I just posted a new development release that compiles with the > latest stable ldap release 2.0.11. I was able to get it to > compile correctly but I did not test it running since I do > not know how to setup the ldap server :) > > Here is the link to download it directly. > http://www.inter7.com/vpopmail/vpopmail-4.10.11.tar.gz > > Please let me know if it works for you. > > What would really be handy is if you or some ldap folks > could write a README.ldap that we could include in the > release. With a step by step walk through of how to > get an ldap server running correctly with vpopmail. > Starting with compiling the ldap code to running the > first vadddomain. > > Ken Jones > > Philip Wall writes: > > I have been trying to get Vpopmail to work with LDAP. I've tried > > OpenLDAP 2.0.9 and I get several errors when compiling Vpopmail. > > I then switched back to OpenLDAP 1.2.11. Vpopmail then compiles with the > > following warnings. > > > > gcc -I. -I/usr/local/include -g -O2 -Wall -c vauth.c > > vauth.c: In function `vauth_getpw': > > vauth.c:79: warning: too many arguments for format > > vauth.c: In function `vauth_getall': > > vauth.c:306: warning: too many arguments for format > > vauth.c: In function `vauth_adddomain': > > vauth.c:557: warning: too many arguments for format > > vauth.c: In function `vauth_deldomain': > > vauth.c:604: warning: too many arguments for format > > > > I get the same warnings with Vpopmail 4.9.10 and Vpopmail 4.10.7. > > This is using a basic configure line of ./configure --enable-ldap=y > > > > Once I compile with the above warnings I install it and run vadddomain > > test.com, it produces the following error after I enter the password for > > postmaster, > > vadddomain: sockbuf.c:383: ber_int_sb_write: Assertion `sb->sb_iod != > > ((void *)0 > > )' failed. > > Aborted > > > > It does create the test.com directory in the domains directory but > > authencation fails. > > vdeldomain fails with the above error as well. > > So to me it appears LDAP auth is broke. Is there a maintainer for the > > LDAP code or someone > > that knows enough about it and C to be able to help me make the thing > > work? > > > > Philip Wall
Re: better methods to install qmail on linux ( Redhat 6.2 or 7.0)
Agreeably off topic, but 7.0 was the buggy/broken one. 7.1 has been running smooth here for a little over a month. The only problem I can find is the version of GTK that ships with it, but that's solved by upgrading that package. Other than that, the only thing I'd complain about is (1) redhat opens port 111 with a clean install no matter what and (2) 7.1 installs ssh, but not sshd. That's about all, so I'll shut up now ^^;; David Kieran Barnes wrote: > This isn't really on topic, but... > > We could discuss "the best installation of linux" for the next several > decades. > > Personally, I'd not use Redhat, but if you set on using Redhat, I'd use 6.2 > with all the latest updates. > >From what I heard, 7.1 was very buggy and broken when it was released. 7.1 > might be fixed slightly. > > 2 of our servers use Redhat 6.2 with the latest updates and they have run > fine for several years. > > As for volume space, read the Redhat guides located at redhat.com - assuming > your installing it > > http://www.redhat.com/support/docs/howto/rhl71.html > http://www.redhat.com/support/docs/howto/rhl62.html > > Regards, > > Kieran Barnes > Signum 1226 Ltd > Use our Web site at... http://www.1226.net > Phone us on... 01772 622889 > Fax us on... 01772 622558
Re: vqregister-2.5
I think vqregister calls qmail-remote directly. So it might be a smtp relay problem. The error message you are seeing doesn't mean it is because of your control locals file. That is just the best error message qmail can come up with. Perhaps vqregister should call qmail-inject instead of calling qmail-remote. Ken Jones Kieran Barnes writes: > Hi, > > I've managed to set vqregister-2.5 up, works fine. > > I have it configured to send the user a signup email when they complete the > registration. > Although, if the user supplies an email address on a domain that is on the > server already - a vpopmail virtual domain > the signup fails with the following error > > Email delivery to [EMAIL PROTECTED] failed > Delivery error: Sorry. Although I'm listed as a best-preference MX or A for > that host, it isn't in my control/locals file, so I don't treat it as local. > #(5.4.6) > > I am right in that the virtual domain should not be in the control/locals > file anyway? > Just control/rcpthosts & control/virtualhosts, besides i used vadddomin to > add the domain. > > The script works fine if i supply a remote email address, although I didnt > see it send the confirmation email in the logs, though I still got the > email. > > How is vqregister sending these emails - it would appear its not using > qmail-inject and why would I be getting that error above? > > Regards, > > Kieran Barnes > Signum 1226 Ltd > Use our Web site at... http://www.1226.net > Phone us on... 01772 622889 > Fax us on... 01772 622558
maildrop drawbacks
Hi Folks, After much struggling I finally got sQwebmail up last night. Seems to be pretty darn fast. :-) I was noticing however, that I need maildrop if I want the filtering and auto-response features to work. I'm just curious if there are any drawbacks to maildrop over the native qmail programs? Thanks, Lance
valias
Hi guys, I'm using vpopmail-4.10.15 with qmailadmin-0.51 .. Well.. I got that qmailadmin make error solved.. hehe... I didn't know that it's not backward compatible. Anyways... got everything running with valias feature turned on. I tested adding a pop account, and that works perfectly from both console and qmailadmin. But when I tested valias from console and qmailadmin it was showing no error.. meaning it suppose to work... but nothing in mysql database. It added .qmail-username in ~vpopmail/domains/domain.com just fine .. but can't see it in qmailadmin. Same with email forwarding .. Anyone ever get a similar problem ? Roy Kartadinata
Re: better methods to install qmail on linux ( Redhat 6.2 or 7.0)
The best way is to start reading lwq. take a look at www.qmail.org where's a link. I don't understand what you mean with "httpd applications ", but I'm sure I'm not a guru... Tom - Original Message - From: "hari_bhr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, June 06, 2001 6:59 PM Subject: better methods to install qmail on linux ( Redhat 6.2 or 7.0) > hi all > > i have quick question for the all the gurus of linux and qmail experts. > iam newnie for qmail and cpopmail > i would like to know what is the best installation linux for only mail and > http applications. > > like volume wise > > what is the space for / > what is the space for /boot > what is the space for /home > what is the space for /usr > what is the space for /var > what is the space for /swap > what is the space for /tmp > > thanks for the help in advance > > > > > > > _ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > >
c_rehash?
I'm trying to run "./configure --enable-workarounds-for-imap-client-bugs" and I get this error: checking for perl5... (cached) /usr/bin/perl5 configure: warning: Unable to locate OpenSSL's c_rehash script in the current configure: warning: PATH. The c_rehash script is included in the OpenSSL configure: warning: package but may not be installed on your system. Please configure: warning: install the c_rehash script from OpenSSL and rerun this configure: warning: configure script. configure: error: openssl found but c_rehash was not found. configure: error: ./configure failed for rootcerts I thought I had openssl installed, but perhaps I'm simply missing c_rehash. How would I go about just installing c_rehash? I read through www.openssl.org but I couldn't find any reference to c_rehash. Thanks! Alex..
Re: Inter7 introduces new software: vQregister
How inefficient do you think PHP is? What do you consider to be so much faster, native code running as a CGI? Have you benchmarked the two programs? - Original Message - > Not everyone has a single box devoted to Apache with > PHP modules. In fact, many people run a large amount > of time consuming processes. Efficiency is always a > factor, when it can be taken into account. Web > based products should always be concerned with efficiency.
mail routing question
We use Qmail+Vpopmail. we are planning to move a virtual domain to another server. but i'm afraid the new incoming email will still store in the old server after we change the MX dns record to the new server. anyone know how to configure the old server's qmail route the email to new server? many many thanks Chris Chan
any one have vpopmail and webmin modules
hi does any one developped vpopmail module for webmin intrested to know about that if any one has that. thanks
RE: mail routing question
Add a line like this to /var/qmail/control/smtproutes: virtualdomain.tld:newserver.tld See also http://www.qmail.org/man/man8/qmail-remote.html > We use Qmail+Vpopmail. we are planning to move a virtual domain to another > server. but i'm afraid the new incoming email will still store in the old > server after we change the MX dns record to the new server. > > anyone know how to configure the old server's qmail route the email to new > server? many many thanks