confirm subscribe to vchkpw@inter7.com
Hi! This is the ezmlm program. I'm managing the vchkpw@inter7.com mailing list. I'm working for my owner, who can be reached at vchkpw-ow...@inter7.com. To confirm that you would like arch...@mail-archive.com added to the vchkpw mailing list, please send an empty reply to this address: vchkpw-sc.1399787994.imbnhifabmehgpcjalbc-archive=mail-archive@inter7.com Usually, this happens when you just hit the reply button. If this does not work, simply copy the address and paste it into the To: field of a new message. This confirmation serves two purposes. First, it verifies that I am able to get mail through to you. Second, it protects you in case someone forges a subscription request in your name. --- Administrative commands for the vchkpw list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: For help and a description of available commands, send a message to: vchkpw-h...@inter7.com To subscribe to the list, send a message to: vchkpw-subscr...@inter7.com To remove your address from the list, just send a message to the address in the ``List-Unsubscribe'' header of any list message. If you haven't changed addresses since subscribing, you can also send a message to: vchkpw-unsubscr...@inter7.com For addition or removal of addresses, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete the transaction. If you need to get in touch with the human owner of this list, please send a message to: vchkpw-ow...@inter7.com Please include a FORWARDED list message with ALL HEADERS intact to make it easier to help you. --- Enclosed is a copy of the request I received. Return-Path: arch...@mail-archive.com Received: (qmail 30662 invoked by uid 0); 11 May 2014 05:59:54 - Received: from unknown (HELO mail-archive.com) (72.52.77.8) by mail.inter7.com with (AES256-SHA encrypted) SMTP; 11 May 2014 05:59:54 - Received: from root by mail-archive.com with local (Exim 4.76) (envelope-from arch...@mail-archive.com) id 1WjMnt-0003jn-4Y for vchkpw-subscr...@inter7.com; Sat, 10 May 2014 23:00:05 -0700 From: arch...@mail-archive.com Subject: [SPAM] subscribe To: vchkpw-subscr...@inter7.com X-Mailer: mail (GNU Mailutils 2.2) Message-Id: e1wjmnt-0003jn...@mail-archive.com Date: Sat, 10 May 2014 23:00:05 -0700 X-DSPAM-Result: Spam X-DSPAM-Processed: Sun May 11 00:59:54 2014 X-DSPAM-Confidence: 0.5034 X-DSPAM-Probability: 1. X-DSPAM-Signature: 536f11da34264733211074 X-DSPAM-Factors: 15, Received*from+root, 0.99000, Received*root+by, 0.99000, To*vchkpw+subscribe, 0.99000, Received*4Y, 0.99000, Received*vchkpw+subscribe, 0.99000, Received*(AES256+SHA, 0.04719, Received*(AES256, 0.04719, Received*with+(AES256, 0.04871, Received*(HELO+mail, 0.06979, Received*subscribe+inter7.com, 0.90392, Received*by+mail, 0.10400, Received*inter7.com+Sat, 0.89445, Received*11+May, 0.88942, Received*mail, 0.11107, Received*SMTP+11, 0.16995 subscribe !DSPAM:536f11da34264733211074!
WELCOME to vchkpw@inter7.com
Hi! This is the ezmlm program. I'm managing the vchkpw@inter7.com mailing list. I'm working for my owner, who can be reached at vchkpw-ow...@inter7.com. Acknowledgment: I have added the address arch...@mail-archive.com to the vchkpw mailing list. Welcome to vchkpw@inter7.com! Please save this message so that you know the address you are subscribed under, in case you later want to unsubscribe or change your subscription address. To unsubscribe, send a message to: vchkpw-unsubscribe-archive=mail-archive@inter7.com --- Administrative commands for the vchkpw list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: For help and a description of available commands, send a message to: vchkpw-h...@inter7.com To subscribe to the list, send a message to: vchkpw-subscr...@inter7.com To remove your address from the list, just send a message to the address in the ``List-Unsubscribe'' header of any list message. If you haven't changed addresses since subscribing, you can also send a message to: vchkpw-unsubscr...@inter7.com For addition or removal of addresses, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete the transaction. If you need to get in touch with the human owner of this list, please send a message to: vchkpw-ow...@inter7.com Please include a FORWARDED list message with ALL HEADERS intact to make it easier to help you. --- Enclosed is a copy of the request I received. Return-Path: arch...@mail-archive.com Received: (qmail 3241 invoked by uid 0); 11 May 2014 06:35:30 - Received: from unknown (HELO mail-archive.com) (72.52.77.8) by mail.inter7.com with (AES256-SHA encrypted) SMTP; 11 May 2014 06:35:30 - Received: from archive by mail-archive.com with local (Exim 4.76) (envelope-from arch...@mail-archive.com) id 1WjNMK-0002gt-Su for vchkpw-sc.1399787994.imbnhifabmehgpcjalbc-archive=mail-archive@inter7.com; Sat, 10 May 2014 23:35:40 -0700 To: vchkpw-sc.1399787994.imbnhifabmehgpcjalbc-archive=mail-archive@inter7.com X-Mailer: mail (GNU Mailutils 2.2) Message-Id: e1wjnmk-0002gt...@mail-archive.com From: The Mail Archive arch...@mail-archive.com Date: Sat, 10 May 2014 23:35:40 -0700 X-DSPAM-Result: Innocent X-DSPAM-Processed: Sun May 11 01:35:30 2014 X-DSPAM-Confidence: 0.6332 X-DSPAM-Probability: 0. X-DSPAM-Signature: 536f1a3234261070012542 X-DSPAM-Factors: 27, From*Mail, 0.00890, Date*35+40, 0.99000, Received*(AES256+SHA, 0.04831, Received*(AES256, 0.04831, Received*with+(AES256, 0.04984, Received*(HELO+mail, 0.06990, Received*inter7.com+Sat, 0.89603, Received*by+mail, 0.10408, Received*11+May, 0.89283, Received*mail, 0.0, Received*mail, 0.0, Received*SMTP+11, 0.17065, Date*May+2014, 0.20793, Date*40+0700, 0.79194, Received*May+2014, 0.21960, Received*May+2014, 0.21960, From*mail, 0.77871, Received*May, 0.22480, Received*May, 0.22480, Date*May, 0.22701, To*vchkpw, 0.24496, Received*SHA+encrypted), 0.24618, Received*SHA, 0.24863, Date*10+May, 0.25101, Received*encrypted)+SMTP, 0.25173, Received*encrypted), 0.25522, Received*(Exim+4.76), 0.26160 !DSPAM:536f1a3234261070012542!
Re: [vchkpw] New development release
Matt Brookings wrote: I've tagged the current CVS HEAD as version 5.4.27, a development release. It is available for download. I've now compiled and installed on a 64 bit machine. This is a low usage live server, and seems to be working. I use the CDB back end on all of my installs. I did not need to use any of the tricks that used to be required to get older versions to compile on a 64 bit processor. I believe the 64 bit problems were fixed sometime after 5.4.18 when I switched build system files to something created after 64 bit processors became popular. I have spotted one small problem... On both of these installs the first thing make did was run aclocal then run ./configure again. I believe this is a bug in the files created by the gnu build system. The fix may be to run the following: aclocal autoconf autoheader automake before packaging the next update. You will want to be sure you are running with a reasonably recent version of the gnu build system. The test to verify it is fixed is to insure make doesn't run ./configure when you are building from a fresh tarball. This probably doesn't deserve its own release since most people will not notice. OTOH, someone without the build system installed will be unable to get past the make step of building. If you haven't done the svn conversion yet, you might want to fix this before you do. Build system file updates are messy since we have many of the output files in cvs/svn. Rick !DSPAM:4977b4b832681990434868!
Re: [vchkpw] Fw: [qmr] adding domian and users using php
- Original Message - From: hareram To: vchkpw@inter7.com Sent: Wednesday, June 04, 2008 6:30 AM Subject: [vchkpw] Fw: [qmr] adding domian and users using php snip Not a complete php expert, but I believe $resultd is always going to be set because vaddomain always returns some sort of result or error. I forget the output at this point, but there is a specific string that is spit out when the domain is added successfully. I would probably parse for that as for success and then echo $resultd in the else statement. There is also a great PEAR module that has been created that lets you create an object to work with vpopmaild. May take a little extra work to setup, but probably worth it in the long wrong. All the hard stuff has been done for you. I second that. Use vpopmaild and Net_Vpopmaild to manage vpopmail from PHP. http://pear.php.net/package/Net_Vpopmaild !DSPAM:4846e7b532358543010717!
Re: [vchkpw] can't make chkuser 2.09 work
tonix (Antonio Nati) wrote: What does chkuser log say about passing messages? As I said in my initial message, I can't find any chukser logs anywhere. qmail and vpopmail write to /var/log/mail/info But that file contains no data for chkuser. Logging IS enabled, via chkuser_settings.h: http://sitefoundry.com/misc/chkuser_settings.h I don't understand why the new qmail-smtpd with chkuser seems to work fine from the command line but does not seem to work when called via SMTP. -- matt. !DSPAM:474ad89f32009866034423!
Re: [vchkpw] can't make chkuser 2.09 work
Christopher Chan wrote: what user privileges are you running qmail-smtpd with? May it cannot read vpopmail owned files? Did you do your testing as root and not under the same user id set in the run file for qmail-smtpd? I think this is the right line of inquiry, but I don't know why what I've already tried hasn't worked. Part of the problem is that chkuser is not writing log files, so diagnosis is hindered. Summary: - When I test qmail-smtpd manually (from the command line) as root, chkuser rejects bad addresses. - When I run qmail-smtpd via tcpserver as UID qmaild, chkuser doesn't reject bad addresses -- regardless of the setting for CHKUSER_ENABLE_UIDGID - When I run qmail-smtpd via tcpserver as UID vpopmail, chkuser doesn't reject bad addresses Initially, my /var/qmail/supervise/qmail-smtpd/run script executed qmail-smtpd as UID qmaild, because that is what the LWQ docs recommend -- see section 2.8.2.2, the supervise scripts, here: http://lifewithqmail.org/lwq.html#start-qmail First I tried recompiling qmail+chkuser with the CHKUSER_ENABLE_UIDGID switch enabled. qmail-smtpd ran fine but chkuser would not reject bad addresses. Then I commented out CHKUSER_ENABLE_UIDGID, recompiled qmail again, and changed the qmail-smtpd/run script to run qmail-smtpd as UID vpopmail. chkuser still does not reject bad addresses. Here is the qmail-smtpd invocation from qmail-smtpd/run: exec /usr/local/bin/softlimit -m 25165824 \ /usr/local/bin/tcpserver -v -R -l $LOCAL \ -x /etc/tcp.smtp.cdb \ -c $MAXSMTPD \ -u $VPOPMAILUID -g $VPOPMAILGID 0 smtp \ /var/qmail/bin/qmail-smtpd 21 The two problems currently are: 1- chkuser does not reject any mail received by qmail 2- chkuser does not write to the mail log It is as if chkuser is not compiled in at all -- but it is, as a command-line test reveals. -- matt. !DSPAM:474adf4332001485811167!
Re: [vchkpw] can't make chkuser 2.09 work
Thanks again to Christopher and Antonio for the help... The good news is that chkuser is working as expected now. The bad news is that I didn't change anything to make it so. Presumably, my initial test must have been flawed, because it appears chkuser has been running fine for the past 10+ hours. Also, I found the logs, as Antonio pointed out -- qmail-smtpd was logging to /var/log/qmail/smtpd/current (as specified by /var/qmail/supervise/qmail-smtpd/log/run ), and that file indeed contained full chkuser output. Unfortunately the default multilog config (99k, 10 files) saves only about 30 minutes' worth of qmail-smtpd logs, so I can't figure out when chkuser came to life, but it must have been last night because I haven't restarted qmail today. Sorry for taking everyone's time on a non-problem... I don't believe I changed anything since the failed test, but I can't complain about the ultimate result. -- matt. !DSPAM:474aeb5b32001730717885!
[vchkpw] can't make chkuser 2.09 work
I patched a fresh netqmail distribution with chkuser 2.09. My chkuser_settings.h file can be seen here: http://sitefoundry.com/misc/chkuser_settings.h I had previously installed vpopmail 5.4.15, and it has been working fine. Building and installing netqmail with the chkuser patch was successful. When I run /var/qmail/bin/qmail-smtpd as root, I get expected results, e.g.: '250 ok' for valid addresses, and '550 5.1.1 sorry, no mailbox here by that name (chkuser)' for bad ones. However, via SMTP, chkuser seems to not run at all. I see no chkuser messages in any logfiles. Mail sent from gmail to bad addresses on my server is accepted, then later bounced back. I use the LWQ setup for qmail, which means my /var/qmail/supervise/qmail-smtpd/run script looked like: #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` ... exec /usr/local/bin/softlimit -m 25165824 \ /usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21 I have since gathered that qmail-smtpd needs to run as vpopmail for chkuser rather than qmail-smtpd to run properly, so I tried this line instead of the former one: exec /usr/local/bin/softlimit -m 25165824 \ /usr/local/bin/tcpserver -v -R -l $LOCAL -x /etc/tcp.smtp.cdb -c $MAXSMTPD \ -u $VPOPMAILUID -g $VPOPMAILGID 0 smtp /var/qmail/bin/qmail-smtpd 21 This does indeed spawn qmail-smtpd as UID vpopmail, but it doesn't fix the problem that chkuser doesn't seem to work for inbound mail. Here is `ps` output, in case it is useful: SHELL# ps auxw | grep qmail-smtp root 22851 0.0 0.0 141284 ?S 2006 0:58 supervise qmail-smtpd vpopmail 8176 0.0 0.0 1608 496 ?S18:06 0:00 /usr/local/bin/tcpserver -v -R -l MY.HOSTNAME.HERE -x /etc/tcp.smtp.cdb -c 30 -u 89 -g 89 0 smtp /var/qmail/bin/qmail-smtpd vpopmail 8465 0.0 0.0 1892 560 ?S18:06 0:00 /var/qmail/bin/qmail-smtpd root 10049 0.0 0.3 6736 3144 pts/4S+ 18:15 0:00 vi /var/qmail/supervise/qmail-smtpd/run vpopmail 11614 0.0 0.0 1760 364 ?S18:29 0:00 /var/qmail/bin/qmail-smtpd root 11619 0.0 0.0 2036 660 pts/2R+ 18:29 0:00 grep qmail-smtp Fortunately, mail delivery to vpopmail mailboxes still works, so my server is not broken at the moment. But I'd sure like to get chkuser working. Note: chkuser still works fine when I run qmail-smtpd locally as root, from the command line. -- matt. !DSPAM:474a2fbf32008056015580!
[vchkpw] vadddomain/vdeliver issue
Hiya, I have a bog standard FC3 QMR install which is all working great in standard form, but im starting to use system quotas, and as a result i want to include users mail in with this, so from looking at vadddomain i can supply the -u flag as below and the resulting mail folders are owned by the user rather than vpopmail; i.e. vadddomain -u test test.com gives; /home/test/domains/test.com#ls -al ./ -rw--- 1 test test 34 Feb 9 03:05 .dir-control drwx-- 3 test test 4096 Feb 9 03:05 postmaster -rw--- 1 test test 63 Feb 9 03:05 .qmail-default -rw--- 1 test test 140 Feb 9 03:05 vpasswd -rw--- 1 test test 2210 Feb 9 03:05 vpasswd.cdb -rw--- 1 test test0 Feb 9 03:05 .vpasswd.lock so now the mail will be included with the system quota, but now vedlivermail cant seem to deliver to the users folders?? @4000420980081c32b254 starting delivery 16: msg 6178941 to local [EMAIL PROTECTED] @4000420980081c32c9c4 status: local 1/10 remote 0/255 @4000420980081c5d3524 delivery 16: deferral: /bin/sh:_/var/vpopmail /bin/vdelivermail:_Permission_denied/ @4000420980081c5d507c status: local 0/10 remote 0/255 now ive spent the last few hours having a good browse around and a damn good read, but i cant seem to find the right answer, any pointers from you guys?? Cheers Rob
Re[2]: [vchkpw] vadddomain/vdeliver issue
Jeremy, Many thanks, i mustve totally missed that during my hair pulling moments ;), a simple chmod later, and all is working sweet :) output for reference was; drwx-- 8 vpopmail vchkpw 4096 Dec 28 07:28 /var/vpopmail Regards Rob ===Original message text=== Wednesday, February 9, 2005, 10:22:55 PM, Jeremy Kitchen wrote: JK On Wednesday 09 February 2005 04:16 pm, [EMAIL PROTECTED] wrote: @4000420980081c32b254 starting delivery 16: msg 6178941 to local [EMAIL PROTECTED] @4000420980081c5d3524 delivery 16: deferral: /bin/sh:_/var/vpopmail /bin/vdelivermail:_Permission_denied/ JK ls -ld /var/vpopmail JK if it doesn't jump out and smack you, try posting your results ;) JK -Jeremy
[vchkpw] Compile problem [courier-imap-3.0.5.20040618] in authlib/ authvchkpw.c - callback_vchkpw
Hi, I'm running into issues compiling the authvchkpw portion of courier-imap. I'm posting here per the pre-make notice. This is on an older redhat box with vpopmail already installed and working properly. I'm using courier-imap-3.0.5.20040618, but get a similar error when using courier-imap-3.0.5 release. Any suggestions or patches are appreciated. As an aside, we're using vchkpw+SQL authention - but my attempts to get the authmysql module to understand the vpopmail/vchkpw password format went nowhere. I'd be content with either method: vchkpw or authmysql - mysql (reading from the vpopmail auth table). Thank you. * Configure line: LDFLAGS=-L/mail/lib CPPFLAGS=-I/mail/include ./configure --with-mysql=/opt/mysql --prefix=/opt/courier-imap --with-redhat --disable-root-check * vpopmail installed in /mail * gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) * GNU libtool 1.3.4 (1.385.2.196 1999/12/07 21:47:57) * automake (GNU automake) 1.4 * Autoconf version 2.13 * glibc 2.1.3 During make: [./authlib]# make make all-am make[1]: Entering directory `/opt/src/courier-imap-3.0.5.20040618/authlib' source='authvchkpw.c' object='authvchkpw.o' libtool=no \ depfile='.deps/authvchkpw.Po' tmpdepfile='.deps/authvchkpw.TPo' \ depmode=gcc /bin/sh ./../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I. -I/mail/include -I/mail/include -O2 -march=i686 -Wall -I.. -I./.. -c `test -f 'authvchkpw.c' || echo './'`authvchkpw.c authvchkpw.c: In function `callback_vchkpw': authvchkpw.c:49: warning: value computed is not used authvchkpw.c: In function `auth_vchkpw_changepass': authvchkpw.c:174: warning: passing arg 1 of `parse_email' discards `const' from pointer target type authvchkpw.c:190: warning: assignment from incompatible pointer type authvchkpw.c:200: dereferencing pointer to incomplete type authvchkpw.c:200: dereferencing pointer to incomplete type authvchkpw.c:206: warning: passing arg 3 of `vpasswd' discards `const' from pointer target type make[1]: *** [authvchkpw.o] Error 1 make[1]: Leaving directory `/opt/src/courier-imap-3.0.5.20040618/authlib' make: *** [all] Error 2
[vchkpw] Courier-IMAP authentication using vpopmail's pw_passwd column
I'm using vpopmail-5.2.1 with MySQL. I would like to use the vpopmail table to provide authentication for Courier-IMAP's MySQL module. Courier-IMAP supports a MYSQL_CRYPT_PWFIELD field, which it states must be crypt-ed using the operating system's crypt function, NOT MySQL's crypt function. What type of crypt does vpopmail use for it's vchkpw user passwords? In the database, the passwords are stored in the pw_passwd column as 14-characters. courier-imap also supports a custom query for authentication via MySQL as well, but have not gotten that far. I would have preferred to the courier-imap's vchkpw module, but am having trouble compiling it. Thank you.
[vchkpw] vpopmail MD5 vs squid MD5
I have an RH9 with qmail 1.03, vpopmail 5.3.30, qmailadmin 1.0.29, openldap 2.0.27, squid 2.5STABLE3-0 and LDAP Browser/Editor 2.8.2 I've managed to connect both vpopmail and squid to openldap. Both can authenticate the users okay. The problem raises when I tried to authenticate vpopmail's user into squid. When I browse the userlist using LDAP Browser, I find that vpopmail saves the password in MD5 39Bytes long, {MD5}$1$qvNMfgHF$/ZsHAjbAHPLALu/MRIj8d., while LDAP Browser saves the password in MD5 29Bytes long, {MD5}lueSGJZetyySpUndWjMBEg==. Squid can read the 29Bytes long one, not the 39Bytes long one. Thus vpopmail users can't authenticate themselves in squid. Does anybody know how can I synch those two different MD5 password length? Thanks, toblo
[vchkpw] prolem with authorisation against /etc/passwd
hello everybody, i´m wondering if anybody can give me the hint i need to solve my problem with qmail vpopmail. at the moment i´m using vpopmail-5.4.0-pre2. what i want is use qmail vpopmail with authorisation against /etc/passwd. my problem is that i want the virtual domains to reside in the path /path-to-vpopmail/domains ... but if i add a virtual user and then try to get my mails i get the error -ERR authorisation failed what does work is if i use the path /home/ instead of /path-to-vpopmail/ then i can get my emails but that is not where i want my mails to reside in /home/$USER. please correct me if i´m wrong but i think this is an vpopmail vchkpw issue. can someone help me please? thanks and kind regards thomas h.
Re: [vchkpw] Problem with vchkpw, system accounts, and smtp-auth.
I've attempted to use vchkpw to authenticate both system (/etc/passwd) accounts and virtual (vpopmail) accounts, as vchkpw's documentation suggests it will do. Unfortunately, my system accounts can not authenticate via vchkpw as called by both IMAP and SMTP-AUTH services. Virtual accounts authenticate correctly to both mechanisms. [...] So, my question in a nutshell is: Does vchkpw really handle both system and virtual accounts, and if so, what might I be doing wrong to keep it from working as advertised? Hi, I was able to resolve this without the assistance of the list and am embarrassed to admit that somehow, despite setting many compile-type configuration options with vpopmail, I missed the --enable-passwd=y directive to the configure script. I'm a tad embarrassed, but perhaps having this in the archives will help someone else resolve their issues. (Ironically, I managed to migrate all my system accounts over to vpopmail before figuring out what the problem was.) Many thanks! Cheers, Paul Robinson gotclue.net
Re: Qmail moving Local to Virtual with vpopmail ???
On Fri, Dec 07, 2001 at 10:05:33AM -0500, Dave Lewis wrote: I have qmail and vpopmail and courier-imap for checking mail (both pop and imap ) working great now.. except that I have one local domain When I remove the domain from the locals file and add it in with vadddomain everything seems ok.. files are created it appears in the virtualdomains file and I can access it with qmailadmin.. however I can't receive mail.. mail doesn't seem to bounce.. it just disappears. I can logg in and check mail but nothing is there.. nothing get's written to the dirs either.. Where do you think the mailbox is now? Is it under ~vpopmail or still in the local user's home dir? What does /var/qmail/users/assign say? Mate
Re: your organisation is sending out emails using our addresses
On Wed, Dec 05, 2001 at 09:02:25PM +0100, Einar Bordewich wrote: Vol, If you check the headers that Matt included, you see that the mail has actually been sent to the [EMAIL PROTECTED] address, and got distributed through the mailinglist. So? Only the from: header contains an address you object. How the heck does inter7 get involved in the first place? It has come to our attention that email originating from inter7.com servers has been delivered to parties on the internet with the originating From: field of [EMAIL PROTECTED] Well, the parties here is the members of [EMAIL PROTECTED] What parties? It's not a matter of insecure mailservers, or that a mail has orginated from Inter7. It's a matter of bad configured mailinglist. Why do you think the list is badly configured? Mate --- Mate Wierdl | Dept. of Math. Sciences | University of Memphis
Re: vpopmail with PHP
Addressed to: [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from Philip Wall [EMAIL PROTECTED] Mon, 12 Nov 2001 17:42:17 -0600 Thanks for reminding me. It seems I had to chmod 4550 the domain related commands to get them to work. (vaddaliasdomain, vadddomain, vdeldomain.) It has been a while since I messed with this. Yes, that is the ominous SUID root setting for chmod. Rick If you are doing this with PHP as an apache module, suexec doesn't matter. PHP will run out of any directory under DocumentRoot, and if the server runs as User vpopmail Group vchkpw you can exec _any_ of the commands in ~vpopmail/bin including vadddomain and vdeldomain. Be careful! You can run the commands but keep in mind vadddomain and vdeldomain will segfault if not ran as root. Reason being the vpopmail user can't write the required qmail files rcpthosts, virtualdomains and so on. You might be able to chown those files but I'm not sure how qmail would react to that. vdeldomain and vadddomain should be corrected to not segfault but instead give a proper error message when it can't write files. Phil Wall Rick Widmer Internet Marketing Specialists http://www.developersdesk.com
Re: vpopmail with PHP
** Reply to note from CGI Guru [EMAIL PROTECTED] Mon, 12 Nov 2001 12:19:06 -0600 You probably already know this but php as an add-in module pays no attention to suexec, it always operates as the user/group of the server. You can get around this supposedly by compiling and running php as a cgi but you also take a pretty serious performance hit. If I were serious about developing a php interface to vpopmail/qmail, I'd start by running a second instance of apache dedicated to the project with the user and group of vpopmail. This should alleviate your permission problems. Yes. I can confirm all this. Including that the separate instance of apache running as vpopmail:vchkpw works wonders as a way to interact with vpopmail. I may release something after I upgrade my code to the new releases. (Which I am just now starting to install to test.) Rick Rick Widmer Internet Marketing Specialists http://www.developersdesk.com
Re: vpopmail with PHP
** Reply to note from CGI Guru [EMAIL PROTECTED] Mon, 12 Nov 2001 14:20:08 -0600 this would be a killer setup for a dedicated email server. Yes it should be! I played with it a little right after I installed vpopmail a few months ago, and it looked very promising. Then I got busy with having to relocate my servers. (I think a root canal is more fun!) Just remember if you do this to compile apache with your vpopmail directories under your httpd suexec directory tree or you won't be able to execute any cgi scripts for it. If you are doing this with PHP as an apache module, suexec doesn't matter. PHP will run out of any directory under DocumentRoot, and if the server runs as User vpopmail Group vchkpw you can exec _any_ of the commands in ~vpopmail/bin including vadddomain and vdeldomain. Be careful! if you do something like: VirtualHost mail.onedomain.com ServerName mail.onedomain.com ServerAdmin [EMAIL PROTECTED] DocumenRoot /some/directory . . . /VirtualHost VirtualHost mail.anotherdomain.com ServerName mail.anotherdomain.com ServerAdmin [EMAIL PROTECTED] DocumenRoot /some/directory . . . /VirtualHost VirtualHost admin.mydomain.com ServerName admin.mydomain.com ServerAdmin me DocumentRoot /another/directory . . . /VirtualHost One set of files in /some/directory can handle unlimited mail domains, and when the scripts are run you will find that $PHP_SELF is set to the current script that is running and $SERVER_NAME is set to the domain the user is working with. It is very handy because one set of code can handle many domains, and the user doesn't have to re-enter the domain name. (besides typing it into the URL.) Keep the scripts that allow you to add and delete domains and other system admin duties, in /another/directory so most people can't hit them. Be sure you have a good user authentication scheme. One possibility is to use the vpasswd file for the domain with Basic Authentication. That way only people with valid email addresses can access the pages. Something like adding the following inside each of the VirtualHost blocks above. Location / AuthType Basic AuthName Email Administration AuthUserFile ~vpopmail/domains/somedomain.com/vpasswd Require valid-user /Location If you do this, you can get the user name from $REMOTE_USER so they only have to type that in the authentication window one time when they hit the mail admin server. You might want to present a home page that lets them chose between email administration or sqwebmail, and only have the password on the directory that contains your admin pages. In some much older versions of apache it would choke if there was anything after the password in the AuthUserFile, but at least since 1.3.12 you are allowed to have as many fields in the file as you want as long as the first is username and the second is password. I wouldn't even mess with an unusual port, just use port 80 (or 443 if you can afford the certificates, or convince your users to use self signed ones. I plan on doing the latter.) Just make sure this is the only web application on the server. Rick Widmer Internet Marketing Specialists http://www.developersdesk.com
mini-qmail error
I'm trying to get mini-qmail setup on a second server. I have setup mini-qmail on the second server and added the necessary files to the primary qmail server according to the directions at http://www.din.or.jp/~ushijima/mini-qmail-kit.html and http://cr.yp.to/qmail/mini.html and this seems to be okay. When I run a test on the mini-qmail box ( echo to: [EMAIL PROTECTED] | /var/mini-qmail/bin/qmail-inject ) it immediately returns qmail-inject: fatal: connection to mail server rejected (#4.4.1) On the regular qmail box, I have the qmqp.tcp file allowing the second server's IP address, and the tcpserver qmail-qmqpd process is running I think, although it is not listed like as qmail-qmqpd but as a tcpserver process... This is correct, I'm assuming. It seems like it should be an easy fix, I'm just not sure where to look... Thanks! Tim
Re: Bounced Messages
Addressed to: [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from [EMAIL PROTECTED] Sat, 13 Oct 2001 11:09:39 -0700 Hello, I could use some help figuring out what the below message means. I get several of these delivered to the postmaster account every day. I basically understand what is going on but if somebody could describe why I'm getting these and what's triggering it... i.e.; is it a user on my system sending them, is somebody relaying mail through my machine, etc. My guess: Someone who once had an account on your system (you can look at the to address of the initial bounce) got a message (spam?) from [EMAIL PROTECTED] Since the intended receipent on your system is no longer accepting mail your mail system bounced the message. The bounce message was sent to the hotmail account, which is either full from all the complaints, or has been cancelled for sending spam, so they bounced your bounce message. I see a couple of these on most days, and just ignore them. If there are too many to ignore from one of your old accounts, you might setup a qmail file to send messages to the ex-user directly to /dev/null. Rick Thanks! Tim == Hi. This is the qmail-send program at gateway.battlement.org. I tried to deliver a bounce message to this address, but the bounce bounced! [EMAIL PROTECTED]: 64.4.49.199 does not like recipient. Remote host said: 550 Requested action not taken: mailbox unavailable Giving up on 64.4.49.199. --- Below this line is the original bounce. Return-Path: Received: (qmail 21960 invoked for bounce); 13 Oct 2001 18:03:19 - Date: 13 Oct 2001 18:03:19 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at gateway.battlement.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. Hi. This is the qmail-send program at gateway.battlement.org. I tried to deliver a bounce message to this address, but the bounce bounced! [EMAIL PROTECTED]: 64.4.49.199 does not like recipient. Remote host said: 550 Requested action not taken: mailbox unavailable Giving up on 64.4.49.199. --- Below this line is the original bounce. Return-Path: Received: (qmail 21960 invoked for bounce); 13 Oct 2001 18:03:19 - Date: 13 Oct 2001 18:03:19 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at gateway.battlement.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. == Rick Widmer Internet Marketing Specialists http://www.developersdesk.com
Bounced Messages
Hello, I could use some help figuring out what the below message means. I get several of these delivered to the postmaster account every day. I basically understand what is going on but if somebody could describe why I'm getting these and what's triggering it... i.e.; is it a user on my system sending them, is somebody relaying mail through my machine, etc. Thanks! Tim == Hi. This is the qmail-send program at gateway.battlement.org. I tried to deliver a bounce message to this address, but the bounce bounced! [EMAIL PROTECTED]: 64.4.49.199 does not like recipient. Remote host said: 550 Requested action not taken: mailbox unavailable Giving up on 64.4.49.199. --- Below this line is the original bounce. Return-Path: Received: (qmail 21960 invoked for bounce); 13 Oct 2001 18:03:19 - Date: 13 Oct 2001 18:03:19 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at gateway.battlement.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. Hi. This is the qmail-send program at gateway.battlement.org. I tried to deliver a bounce message to this address, but the bounce bounced! [EMAIL PROTECTED]: 64.4.49.199 does not like recipient. Remote host said: 550 Requested action not taken: mailbox unavailable Giving up on 64.4.49.199. --- Below this line is the original bounce. Return-Path: Received: (qmail 21960 invoked for bounce); 13 Oct 2001 18:03:19 - Date: 13 Oct 2001 18:03:19 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at gateway.battlement.org. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. ==
ADV: I bet that I make more money in the Web design business than you do. Time:4:53:56 AM
I bet that I make more money in the Web design business than you do. From the customers I received last month I made $1560 income. I also profited on these people $1000 up front. And you know the funniest part? I didn't even design their sites! They did it for themselves! I bet your sales pitch doesn't come anywhere near mine. My sales pitch looks like this: Free Website! Free .com, .net, or .org name! Free First Month! Free Shopping Cart for E-commerce! Free Secure Credit Card Transaction Server Access! Free Website Editor! (Allows you to control your entire site from anywhere in the world with nothing more than your Internet browser!) Free Website Statistics Analysis! Unlimited everything! Unlimited Email Addresses! Unlimited Hosting Space! Unlimited Bandwidth! Unlimited Pages! Unlimited Capacity of items in the Shopping Cart! Fastest Websites!!! (Hosted on the best servers and bandwidth anywhere!) Website Promotion Options... There is nothing left to add to this service! If you can use a word processor, You can manage your own website! Only $35/month after your first FREE month! Everything you need to be doing business online NOW is here for only $25! (Limited time offer) I have been advertising this pitch on the front of my website for my design business 1 month, I have received over 40 signups. People SIGNUP EVERY SINGLE DAY. Almost, they bunch up on the weekends often. 1 month= $1560 income that comes in every month with no work! I will beat that number this month easily, but assuming I just keep up the same pace, next month will net $3,120 PROFIT. FOR A FACT I will be netting at least $10,720 a month by the end of the year. I got that number after subtracting $8000 to account for cancellations down the line. That is a ton of money! I can not even think of a way to not hit that number unless I completely stopped doing everything. My service is also better. You can't give anyone the as much value as I can. You can't give them the power to control their site as I can. You can't give them the prices that I can. You can't get them online as fast as I can. And even if somehow you found a way to do all that, you won't able to keep your customers as long as I do. Wow. Don't believe me? The interface I give my customers is easier to use than any other I have seen. It is by far the best web based interface you will ever see. A monkey would have a hard time making a site look bad with the software I include for my Customers. I charge them $35 a month and I only pay $10! I know I could charge a lot more for the service, but I am more interested in getting as many customers as possible now, than I am on making more on them. If you did the numbers to make sure I wasn't making them up, you'll see $560 missing this month. Where did it come from? There is an optional search engine submission program, that 70 percent of the people that signup opt for, I charge them $30/month. I pay $10. If they do decide they would like custom work done, no problem. I do it for them, and they don't try to bother me to change little things all the time on their site, because I give them the power to do it themselves, which they prefer. I like it to, keeps my time free for things I enjoy. In addition to being able to get at customers you can't, and being able to upsell them to all the custom design work I like, when ever I like, I bet I have a whole bunch of other things you DO NOT HAVE. Private Labeled to me Website Builder/Store Builder (Best Anywhere) Private Labeled to me Shopping Cart Private Labeled to me WebMail and Pop3 Service Private Labeled to me Secure Server Hosting Private Labeled to me Domain Name Registration Private Labeled to me Search Engine Submission Private Labeled to me Control Panel for FTP, email, user access... I can make as many new templates as I like to start them out from too. I also never have to pay for custom CGI work to provide E-Commerce solutions anymore. It is all done for me already, even the payment gateway integration. I use the same service my end-users use to do design work and It has cut my design time in more than half. I can make a complete E-Commerce enabled site in 15-30 minutes, email, shopping cart, ftp, running on the net! Can you do that?? Long story short. Unless you have some plans I don't know about, My business will be beating yours for sure in about 12 months. Can you compete? Are you getting customers as fast as I am? Are you making as much on them as I am? Is that money you are making staying with you every month? Is there a way for you to provide my customers something I don't? Can you say the same for yourself? I am going to let you in on SECRET now. Even though I know that my business will most likely be making a lot more than yours in 12 months, I am not greedy. I know that BIG money is not in being greedy. I know that No matter how much money my design company makes next year, If I combined
Re: vpasswd editing
Addressed to: "jkim" [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from "jkim" [EMAIL PROTECTED] Thu, 5 Apr 2001 22:37:24 -0700 Is it safe to manually edit vpasswd file? For instance, set user quota by "find replace", then save the result. I hope so. I've done it, at least with a .cdb setup. You have to delete the vpasswd.cdb, and the .vpasswd files. The get re-created the next time something happens. Rick Widmer Internet Marketing Specialists http://www.developersdesk.com
Hierarchical domains
This may be somewhere in the archives, but I couldn't word this properly for the search engine to yield good results. What I'm looking for is a possible patch or feature request for bigdir.c or similar that breaks down large numbers of domains in the same way that users are broken up in large site setups. Does this already exist? If so, where can I find it? If not, would this be a viable feature request? Thanks all, Chris
RE: Using vpasswd
Addressed to: "Rick Glunt" [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from "Rick Glunt" [EMAIL PROTECTED] Wed, 28 Feb 2001 08:59:09 -0600 That's a good point for the validation part. Now what if I simply want to retreive a list of valid vpopmail users for use in a dropdown list? Can you use opendir(), readdir() to list the directory structure of /mailhome/domains/$domain? The directoreies here will list users if there is a Maildir directory in it, mailing lists if there is a subscribers directory in it, or an autoresponder if it has a message file. If you are going to be mucking aroiund with the mail system from Apache, you should seriously consider starting another copy of apache on unusual ports and running it as your mail user and group. Since the only thing I am doing with Apache on my mail server is email management I am starting the only copy, on normal ports. I started on Saturday, and I've already got it doing everything I can think about that can be done with .qmail files, except mailing lists. Tonights project is a code clean up then create/edit/delete pop accounts. Rick Rick Widmer Internet Marketing Specialists http://www.developersdesk.com
Is anyone using PHP?
I am new to vchkpw, and I'm wondering if anyone is using PHP with it. So far I'm very impressed how well things came together! I would like to use php to manage mail accounts. I know it is a matter of creating a PHP extension to link to the vchkpw library. I haven't heard of any effort in that project, but I'd hate to duplicate effort is there is anything already happening. Rick Widmer Internet Marketing Specialists http://www.developersdesk.com