Re: All domains as virtual?
Steven Katz wrote: From the 'admin guide' at http://inter7.com/vpopmail/vpopmail.html: Setting up all email to be virtual We recommend that all domains be setup as virtualdomains. Is this preferable to leaving the default domain as is (non-virtual)? Why is this recommended? Simplicity. If all accounts are stored in the same way there are less things to think about. Also makes the code easier to write. You can set a default domain in vpopmail, so your original non-virtual users can now be virtual users and will not notice the change. Plus qmailadmin and vqadmin only work with virtual domains. Ken Jones
SqWebMail+vpopmail
Hello, after using qmail 1.03 with vpopmail without problems I wanted to use SqWebMail but after installation I really don't know how to login now. As far as I have understood, at the moment I have to login with Domain at the moment and with the POP3 password. Unfortunately this doesn't work. Now how does SqWebMail find out where the vpopmail-password files are located? Which rights do SqWebMail's CGI-Script must have that it can read the password file? Are there any parameters besides --enable-webpass=vpopmail that have to be set? Is there anything in vpopmail-config that has to be reconfigured for SqWebMail? Sorry, but I really didn't find any hints for this. I'm using qmail (of course) and plain (i.e. no MySQL storage) vpopmail passwords. Alexander.
Re: SqWebMail+vpopmail
Hello, Now how does SqWebMail find out where the vpopmail-password files are located? With the right authmodule. Which rights do SqWebMail's CGI-Script must have that it can read the password file? None specially. Are there any parameters besides --enable-webpass=vpopmail that have to be set? Yes, read the Install file about the authmodules. Is there anything in vpopmail-config that has to be reconfigured for SqWebMail? No. You have to set the authmodule / compile, as stated in the INSTALL file. * VPOPMAIL authentication ... * --without-module - explicitly disable an authentication module named module. Example: --without-authpam. See below for more details. (read Available authentication modules:) ... * --enable-webpass=vpopmail - use the vpopmail.a library to change passwords (this will only work if the virtual userid used for the accounts also owns the vpopmail password database). ... * authvchkpw - this module is compiled by default only if the vpopmail account is defined. Hope it helps. --- Cordiali saluti / Best regards Andrea Cerrito ^^ Net.Admin @ Centro MultiMediale di Terni S.p.A. P.zzale Bosco 3A 05100 Terni IT Tel. +39 0744 5441330 Fax. +39 0744 5441372
Re: SqWebMail+vpopmail
On Fri, 13 Jul 2001 16:53:36 +0200, Andrea Cerrito wrote: You have to set the authmodule / compile, as stated in the INSTALL file. * VPOPMAIL authentication ... * --without-module - explicitly disable an authentication module named module. Example: --without-authpam. See below for more details. (read Available authentication modules:) ... * --enable-webpass=vpopmail - use the vpopmail.a library to change passwords (this will only work if the virtual userid used for the accounts also owns the vpopmail password database). ... * authvchkpw - this module is compiled by default only if the vpopmail account is defined. I've read like --with-authvchkpw is automatically included when configuring with --enable-webpass=vpopmail? Anyway, I also tried that without difference. Could it mean, that I have to explicitely _exclude_ all other authentification methods (--without-authpam, -passwd etc.) ? Thanks, Alexander.
Using the correct tcp.smtp?
I don't seem to have smtp-after-pop-auth working. Does anything have to be done so that qmail knows to use the tcp.smtp in ~vpopmail/etc instead of the one in /etc? In ~vpopmail/etc: -rw-rw-r--1 vpopmail vchkpw 62 May 11 06:58 tcp.smtp -rw-r--r--1 vpopmail vchkpw 2204 Jul 13 06:40 tcp.smtp.cdb In /etc: -rw-r--r--1 root root 96 Apr 22 10:52 /etc/tcp.smtp -rw-r--r--1 root root 2192 Apr 22 21:49 /etc/tcp.smtp.cdb Steven
Re: Using the correct tcp.smtp?
Well considering every pop session should update the file.. and the most recent text file is May11. then you have more serious problems than location ;) - Original Message - From: Steven Katz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 4:33 PM Subject: Using the correct tcp.smtp? I don't seem to have smtp-after-pop-auth working. Does anything have to be done so that qmail knows to use the tcp.smtp in ~vpopmail/etc instead of the one in /etc? In ~vpopmail/etc: -rw-rw-r--1 vpopmail vchkpw 62 May 11 06:58 tcp.smtp -rw-r--r--1 vpopmail vchkpw 2204 Jul 13 06:40 tcp.smtp.cdb In /etc: -rw-r--r--1 root root 96 Apr 22 10:52 /etc/tcp.smtp -rw-r--r--1 root root 2192 Apr 22 21:49 /etc/tcp.smtp.cdb Steven
RE: Using the correct tcp.smtp?
Edit the line that start qmail-smtpd -Original Message- From: Steven Katz [mailto:[EMAIL PROTECTED]] Sent: Friday, July 13, 2001 11:34 AM To: [EMAIL PROTECTED] Subject: Using the correct tcp.smtp? I don't seem to have smtp-after-pop-auth working. Does anything have to be done so that qmail knows to use the tcp.smtp in ~vpopmail/etc instead of the one in /etc? In ~vpopmail/etc: -rw-rw-r--1 vpopmail vchkpw 62 May 11 06:58 tcp.smtp -rw-r--r--1 vpopmail vchkpw 2204 Jul 13 06:40 tcp.smtp.cdb In /etc: -rw-r--r--1 root root 96 Apr 22 10:52 /etc/tcp.smtp -rw-r--r--1 root root 2192 Apr 22 21:49 /etc/tcp.smtp.cdb Steven
RE: Using the correct tcp.smtp?
In /etc/rc.d/init.d, I have a qmail script which among other things contains: cdb) tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp /etc/tcp.smtp chmod 644 /etc/tcp.smtp.cdb echo Reloaded /etc/tcp.smtp. and in /var/qmail/supervise/qmail-smtpd, I have a run file: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -p -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD$ -u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd \ /var/qmail/bin/qmail-smtpd 21 Should I just replace the old path with the new one in all instances? Steven -Original Message- From: Tim Hunter [EMAIL PROTECTED] Sent: Friday, July 13, 2001 8:35 AM To: [EMAIL PROTECTED] Subject: RE: Using the correct tcp.smtp? Edit the line that start qmail-smtpd -Original Message- From: Steven Katz [EMAIL PROTECTED] Sent: Friday, July 13, 2001 11:34 AM To: [EMAIL PROTECTED] Subject: Using the correct tcp.smtp? I don't seem to have smtp-after-pop-auth working. Does anything have to be done so that qmail knows to use the tcp.smtp in ~vpopmail/etc instead of the one in /etc? In ~vpopmail/etc: -rw-rw-r--1 vpopmail vchkpw 62 May 11 06:58 tcp.smtp -rw-r--r--1 vpopmail vchkpw 2204 Jul 13 06:40 tcp.smtp.cdb In /etc: -rw-r--r--1 root root 96 Apr 22 10:52 /etc/tcp.smtp -rw-r--r--1 root root 2192 Apr 22 21:49 /etc/tcp.smtp.cdb Steven
Re: SqWebMail+vpopmail
I've read like --with-authvchkpw is automatically included when configuring with --enable-webpass=vpopmail? Don't know. Anyway, trying to force when you compile can't make problems :). Anyway, I also tried that without difference. Could it mean, that I have to explicitely _exclude_ all other authentification methods (--without-authpam, -passwd etc.) ? Thanks, Alexander. Have a look into your authmodulelist: is there a authvchkpw? Anyway, my configure was like: ./configure --enable-webpass=vpopmail --without-authpwd --without-authshadow --without-authpam --without-authuserdb --without-authldap --without-authdae mon --with-vchkpw And my authmodulelist is [root@homer-b sqwebmail]# cat authmodulelist authcustom authvchkpw [root@homer-b sqwebmail]# Hope it helps --- Cordiali saluti / Best regards Andrea Cerrito ^^ Net.Admin @ Centro MultiMediale di Terni S.p.A. P.zzale Bosco 3A 05100 Terni IT Tel. +39 0744 5441330 Fax. +39 0744 5441372
RE: Using the correct tcp.smtp?
Sorry, this is what my qmail-smtpd really looks like: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -p \ -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd \ /var/qmail/bin/qmail-smtpd 21 -Original Message- From: Steven Katz Sent: Friday, July 13, 2001 8:52 AM To: [EMAIL PROTECTED] Subject: RE: Using the correct tcp.smtp? In /etc/rc.d/init.d, I have a qmail script which among other things contains: cdb) tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp /etc/tcp.smtp chmod 644 /etc/tcp.smtp.cdb echo Reloaded /etc/tcp.smtp. and in /var/qmail/supervise/qmail-smtpd, I have a run file: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -p -x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD$ -u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd \ /var/qmail/bin/qmail-smtpd 21 Should I just replace the old path with the new one in all instances? Steven -Original Message- From: Tim Hunter [EMAIL PROTECTED] Sent: Friday, July 13, 2001 8:35 AM To: [EMAIL PROTECTED] Subject: RE: Using the correct tcp.smtp? Edit the line that start qmail-smtpd -Original Message- From: Steven Katz [EMAIL PROTECTED] Sent: Friday, July 13, 2001 11:34 AM To: [EMAIL PROTECTED] Subject: Using the correct tcp.smtp? I don't seem to have smtp-after-pop-auth working. Does anything have to be done so that qmail knows to use the tcp.smtp in ~vpopmail/etc instead of the one in /etc? In ~vpopmail/etc: -rw-rw-r--1 vpopmail vchkpw 62 May 11 06:58 tcp.smtp -rw-r--r--1 vpopmail vchkpw 2204 Jul 13 06:40 tcp.smtp.cdb In /etc: -rw-r--r--1 root root 96 Apr 22 10:52 /etc/tcp.smtp -rw-r--r--1 root root 2192 Apr 22 21:49 /etc/tcp.smtp.cdb Steven
patch to vdelivermail.c to fix QMAIL EXT
Here is a patch to fix the operation of Qmail EXT in vdelivermail.c. The QMAIL EXT option to vdelivermail.c is broken. Here is a description of the problem and the patch is included at the bottom of the Email and as an attachement. The problem is that when Qmail-Ext is turned on vdelivermail takes ANY address with a '-' in it and removes the '-' and following characters in the address. This is not a correct implementation (at least not the way Qmail implements its variable envelope return paths or extensions). It should first try and deliver the message with the '-' in the address as given and if that fails then try delivering it without the '-' and following characters. Example delivery of [EMAIL PROTECTED] to illustrate problem Current implementation: attempts to deliver to [EMAIL PROTECTED] Correct Implementation: attempts to deliver to [EMAIL PROTECTED] if it fails attempt to deliver to [EMAIL PROTECTED] Please don't be alarmed by the size of the patch. To implement QMAIL EXT properly I had to break some code off into separate functions to keep from duplicating code. The patch has been tested and compiled with QMAIL EXT on and off and with all test cases I could think of. Note to package maintainers: I'm not sure what compilers and O/S's this package has to work on. You could gain some performance by declaring some of the functions in vdelivermail.c inline but of course this is not traditional or ANSI compatible and would be guaranteed to work only with gcc (I think). You may want to make the QMAIL-EXT turned on by default in autoconf as it is the default behavior of standard qmail delivery. BTW Big thanks to whomever fixed the exit codes in vchkpw.c from 4.10.28 to 4.10.29, I knew they were wrong but didn't know what they were supposed to be. Thanks! -David Wartell ActionWeb Services http://www.actionwebservices.com 51a52,55 #ifdef QMAIL_EXT char TheUserExt[AUTH_SIZE]; /* the User with '-' and following chars out if any */ #endif 65c69 int process_valias(char *user, char *domain); --- int process_valias(void); 75a80,81 void checkuser(void); void usernotfound(void); 87,88d92 int ret; 94c98 if ( process_valias( TheUser, TheDomain) == 1 ) { --- if ( process_valias() == 1 ) { 102,121c106,114 /* check if the account is locked and thier email * should be bounced back */ if (vpw-pw_gid BOUNCE_MAIL ) { printf(vdelivermail: account is locked email bounced %s@%s\n, TheUser, TheDomain); vexit(100); } /* check for a .qmail file in thier Maildir * If it exists, then deliver to the contents and exit */ if ( check_forward_deliver(vpw-pw_dir) == 1 ) { vexit(0); } snprintf(TheDir, AUTH_SIZE, %s/Maildir/, vpw-pw_dir); if ( deliver_mail(TheDir, vpw-pw_shell) != 0 ) { vexit(100); --- checkuser(); } #ifdef QMAIL_EXT /* try and find user that matches the QmailEXT address if: no user found, */ /* and the QmailEXT address is different, meaning there was an extension */ else if ( strncmp(TheUser, TheUserExt, AUTH_SIZE) != 0 ) { /* get the user from vpopmail database */ if ((vpw=vauth_getpw(TheUserExt, TheDomain)) != NULL ) { checkuser(); 123,163c116,117 /* the vpopmail user does not exist. Follow the rest of * the directions in the .qmail-default file */ } else { /* If they want to delete email for non existant users * then just exit 0. Qmail will delete the email for us */ if ( strcmp(bounce, DELETE_ALL) == 0 ) { /* just exit 0 and qmail will delete the email from the system */ vexit(0); /* If they want to bounce the email back then * print a message and exit 100 */ } else if ( strcmp(bounce, BOUNCE_ALL) == 0 ) { printf(Sorry, no mailbox here by that name. vpopmail (#5.1.1)\n); /* exit 100 causes the email to be bounced back */ vexit(100); } /* check if it is a path add the /Maildir/ for delivery */ if ( strstr( bounce, VPOPMAILDIR ) != 0 ) { strcat( bounce, /Maildir/); } ret = deliver_mail(bounce, NOQUOTA ); /* Send the email out, if we get a -1 then the user is over quota */ if ( ret == -1 ) { printf(user is over quota, mail bounced\n); vexit(100); } else if ( ret == -2 ) { printf(system error\n); vexit(100); } else if ( ret != 0 ) { printf(mail is looping\n); vexit(100); --- else { usernotfound(); 165c119,122 --- } #endif else { usernotfound(); 217c174,175 for(i=0;TheUser[i]!=0;++i) { --- /* delete the '-' and following chars if any and store in TheUserExt
New version of vpopmail qmailadmin
Just currious if there is an eta on the new vpopmail and qmailadmin packages. I tend to try to keep away from development versions if possible as I don't like to live on the bleeding edge, but there are some features I *really* want. Cheers, Tren. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - Tren Blackburn - Ownermailto:[EMAIL PROTECTED] = = End of Time Networks http://www.theendoftime.net - - (403) 269-2122 = =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Summer Special From Sunguard 562
Title: Home Page Submit NOW for your FREE CATALOG! Go aheadÿ97treat yourself. Browse through The RV Toy StoreÿAE Catalog! Check out our own exclusive, 18-year industry-leading Sunguardÿ99 line ... including tons of goodies for your RVÿ97 Tow Car too! Check it out... Custom Windshield Covers ... Front-End Masks ... Dash-Covers .. Side Rear Window-Shadesÿ99 ... Wiper-Saversÿ99 .. Tire Saversÿ99 .. Awning-Shadesÿ99 .. Bike Covers ... Complete RV-Storage Covers! Sunguardÿ99 ... because the sun doesn't stop!ÿ99 But waitÿ97there's more! ...Awnings .. Awning Rooms ... Folding Tow Bars ... Folding Ladders ... Folding Bicycles .. Hydraulic Levelers ... Satellite Dishes ... Bike Racks ... Backup Monitors .. Solar Chargers ... Ice-Makers ... Mini-Dishwashers ... Washer-Dryers .. Vacuums ... much, much more! Immediate shipment or Campsite Installationÿ99 on any item! Your satisfaction is always assuredÿ97with a Quality Guaranteeÿ99ÿ97 a 30-Day-Return Privilege! All major credit cards accepted. Industry Low Pricesÿ99ÿ97Guaranteed! Toys for the BIG Boys!ÿ99 Yes! Please rush my FREE CATALOG! ...Also rush my free assortment of Actual Sunguardÿ99 Fabric Samples, don't forget my free Special Discount Couponÿ97for my next Toy Store Shopping Spree! Name (First) (Last) Address City State Zip Country Phone E-Mail RV-Type Year Model Comments Where have you seen our printed ad(s)? (i.e., FMCA magazine, Highways magazine, etc.) Are you interested in a Windshield Cover? Yes No Maybe Toys for the BIG Boys!ÿ99 Sunguardÿ99 ... because the sun doesn't stop!ÿ99 Order Direct: Toll Free: (800) 334-5533 Fax: (760) 325-3366 The RV Toy StoreÿAE, Corporate offices are located at: Airport Park Plaza, Suite #573, Palm Springs, CA 92262 Please direct mail to: P.O. Box 1705, Palm Springs, CA 92263 Family Motor Coach Assoc. Commercial Member # C3921 Serving the RV Industry since 1983 The RV Toy StoreÿAE, Inc. national advertising has appeared in print since 1985 in the following national publications; Family Motor Coaching Magazine, Motorhome Magazine, Highways Magazine. Additional periodic ads appear in: Allegro Family Motorhome Club, Blue Beret, Bus Conversions, Escapees, GMC Motorhome Marketplace, RV West, Trailblazer, Trailer Life, various RV Parks nationwide. Editorial content pertaining to The RV Toy StoreÿAE, Inc., has appeared in the following publications: Family Motor Coaching Magazine, Highways Magazine, Motorhome Magazine, Trail Blazer Magazine, Bus Conversions Magazine, GMC Motorhome Magazine, Escapees, Woodall's California RV Traveler, Woodall's Trails-a-Way, Woodall's Camperways, The Recreation Advisor, North East Out Doors, Camper's Monthly. Installation services provided in the Palm Springs Area since 1983. National Campsite Installation Servicesÿ99 will soon be available in the following locations: Florida, Texas, New Mexico, Arizona, Nevada. Send mail to: [EMAIL PROTECTED] with questions about this web advertisement. Copyright ÿA9 2001 The RV Toy StoreÿAE, Inc If you have received this message by error or wish to be removed from our mailing please click here
Re: Problem killing tcpserver
on 7/13/01 8:53 PM, Daniel Pook Ngai Lin at [EMAIL PROTECTED] spake: Hi I have problem shutting down the tcpserver process. seems like it isnt in the linux setup nor init.d nor cron jobs. Everytime I do a kill it respawn itself. Any tips? Thanks! Daniel Sounds like it's supervised. See http://cr.yp.to/daemontools.html for more info. Cheers, Bill Shupp
Re: Problem killing tcpserver
I have problem shutting down the tcpserver process. seems like it isnt in the linux setup nor init.d nor cron jobs. Everytime I do a kill it respawn itself. Any tips? Thanks! It wont start until u have started it.There's no way it will respawn itself after killing it...atleast i dint experience this... check ur startup line for tcpserver... regards dushyanth -- Dushyanth Harinath Archean Infotech Limited Ph No:091-040-3228666,6570704,3228674 http://www.archeanit.com - This email was sent using SquirrelMail. Webmail for nuts! http://squirrelmail.org/
vpopmail on OS X
Hi all, Don't know if anyone has already done it, but I installed vpopmail-4.9.10 on Apple's OS X (10.0.4) without problems. The only thing i had to do was cp /usr/libexec/config.* ./ in the vpopmail src dir. Also, I had to run ranlib ~vpopmail/lib/vpopmail.a to get vpopmail.pm to build correctly. FYI: I put together a qmail on OS X page: http://bluedot.net/osx/qmail.xml -- - Sean P. Scanlon perl -e 'print pack(h*, 3707370426c6575646f647e2e65647), \n' -
error when compiling the vpopmail-1.10.29
the following is the error message when compiling the vpopmail on Solaris8. any idea? gmake all-recursive gmake[1]: Entering directory `/var/download/vpopmail/vpopmail-4.10.29' Making all in cdb gmake[2]: Entering directory `/var/download/vpopmail/vpopmail-4.10.29/cdb' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/var/download/vpopmail/vpopmail-4.10.29/cdb' gmake[2]: Entering directory `/var/download/vpopmail/vpopmail-4.10.29' gcc -I. -Icdb-I/usr/local/mysql/include/mysql -g -O2 -Wall -c vauth.c vauth.c: In function `vauth_getpw': vauth.c:278: incompatible type for argument 1 of `memset' vauth.c: In function `vauth_setpw': vauth.c:636: warning: int format, uid_t arg (arg 5) vauth.c:636: warning: int format, gid_t arg (arg 6) gmake[2]: *** [vauth.o] Error 1 gmake[2]: Leaving directory `/var/download/vpopmail/vpopmail-4.10.29' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/download/vpopmail/vpopmail-4.10.29' gmake: *** [all-recursive-am] Error 2 Chris