[vchkpw] Moving Users
Is there any simple way to move users to one domain to another? I tried moving the directory but that didn't work, the only way I can see how to do it is by adding the user and then overwriting the maildir.
[vchkpw] -ERR aack, child crashed (Vpopmail LDAP Authentication Problem)
Hi friendz I installed vpopmail with ldap support with the help of friend Sunagawa Koji. Ldap working very well and answering all my queries. I added a virtual domain and a user to vpopmail . U can see from the query. But i have a problem . It makes me very sick :( I cant authenticate via vpopmail. Password,users and virtual doamains is correct but i cant login. I`ll be very thankfull for your help. Thanx In Advance Tunc Gunergun [EMAIL PROTECTED] Connected to localhost. Escape character is '^]'. +OK <[EMAIL PROTECTED]> user tunc +OK pass -ERR aack, child crashed Connection closed by foreign host. Also this is my start schema witch tcpd server /var/qmail/bin/qmail-popup oger.team.com.tr /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir === MY QUERY TEST`=== [root@mailnx bin]# ldapsearch -x -b 'o=vpop' version: 2 # # filter: (objectclass=*) # requesting: ALL # # vpop dn: o=vpop objectClass: Organization o: vpop # oger.team.com.tr, vpop dn: ou=oger.team.com.tr, o=vpop ou: oger.team.com.tr objectClass: organizationalUnit # postmaster, oger.team.com.tr, vpop dn: uid=postmaster, ou=oger.team.com.tr, o=vpop uid: postmaster userPassword:: e01ENX0kMSQwalRaLiRyTDNxRk5pckNsTmNOQmd0V2pVWlUw qmailUID: 1 qmailGID: 0 qmaildomain: Postmaster mailMessageStore: /home/vpopmail/domains/oger.team.com.tr/postmaster mailQuota: NOQUOTA objectClass: qmailUser # tunc, oger.team.com.tr, vpop dn: uid=tunc, ou=oger.team.com.tr, o=vpop uid: tunc userPassword:: e2NyeXB0fSQxJGt1N1k0JFBWYnRnYkJBMUtyS1VmYmRZN05iTS8= qmailUID: 1 qmailGID: 0 qmaildomain: tunc mailMessageStore: /home/vpopmail/domains/oger.team.com.tr/tunc mailQuota: NOQUOTA objectClass: qmailUser # search result search: 2 result: 0 Success # numResponses: 5 # numEntries: 4
Re: [vchkpw] -ERR aack, child crashed (Vpopmail LDAP Authentication Problem)
Hi, Tunc Tunc Gunergun <[EMAIL PROTECTED]> wrote: >I installed vpopmail with ldap support with the help of friend Sunagawa >Koji. Ldap working very well and answering all my queries. I added a >virtual domain and a user to vpopmail . U can see from the query. But i >have a problem . It makes me very sick :( I cant authenticate via >vpopmail. Password,users and virtual doamains is correct but i cant >login. could you show configure options? >Connected to localhost. >Escape character is '^]'. >+OK <[EMAIL PROTECTED]> >user tunc >+OK >pass >-ERR aack, child crashed >Connection closed by foreign host. maybe, vchkpw crashed. --- Sunagawa Koji[EMAIL PROTECTED] Okinawa FreeBSD Users Group http://www.ofug.net/~koj/
RE: [vchkpw] -ERR aack, child crashed (Vpopmail LDAP Authentication Problem)
Ok This is my vpopmail conf scr. ./configure --enable-logging=y --enable-default-domain=oger.team.com.tr --enable-ldap=y do u have icq number or smthng else. 91934507 -Original Message- From: Sunagawa Koji / »ì FŽ™ [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 11:56 AM To: [EMAIL PROTECTED] Subject: Re: [vchkpw] -ERR aack, child crashed (Vpopmail LDAP Authentication Problem) Hi, Tunc Tunc Gunergun <[EMAIL PROTECTED]> wrote: >I installed vpopmail with ldap support with the help of friend Sunagawa >Koji. Ldap working very well and answering all my queries. I added a >virtual domain and a user to vpopmail . U can see from the query. But i >have a problem . It makes me very sick :( I cant authenticate via >vpopmail. Password,users and virtual doamains is correct but i cant >login. could you show configure options? >Connected to localhost. >Escape character is '^]'. >+OK <[EMAIL PROTECTED]> >user tunc >+OK >pass >-ERR aack, child crashed >Connection closed by foreign host. maybe, vchkpw crashed. --- Sunagawa Koji[EMAIL PROTECTED] Okinawa FreeBSD Users Group http://www.ofug.net/~koj/
RE: [vchkpw] -ERR aack, child crashed (Vpopmail LDAP Authentication Problem)
İ am not taking any error messeages from /var/log/maillog -Original Message- From: Sunagawa Koji / »ì FŽ™ [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 12:27 PM To: Tunc Gunergun Subject: Re: [vchkpw] -ERR aack, child crashed (Vpopmail LDAP Authentication Problem) Hi, Tunc Tunc Gunergun <[EMAIL PROTECTED]> wrote: > >Ok >This is my vpopmail conf scr. > >./configure --enable-logging=y --enable-default-domain=oger.team.com.tr >--enable-ldap=y I think it's ok. see logfile.(ie. /var/log/maillog) >do u have icq number or smthng else. >91934507 I don't use icq, sorry. --- Sunagawa Koji[EMAIL PROTECTED] Okinawa FreeBSD Users Group http://www.ofug.net/~koj/
[vchkpw] qmailadmin with vpopmail
hi, I have am using vpopmail with mysql. I "think" I have it setup correctly. I have added a domain mdlan.co.uk a vdominfo shows [root@jordan bin]# ./vdominfo mdlan.co.ukdomain: mdlan.co.ukuid: 517gid: 90dir: /home/vpopmail/domains/mdlan.co.ukusers: 3 and id of vpopmail [root@jordan bin]# id vpopmailuid=517(vpopmail) gid=90(vchkpw) groups=90(vchkpw) so all looks setup well. however if I visit my qmailadmin site and admin mdlan.co.uk with the postmaster account I get the error file permission error /home/vpopmail/domains/mdlan.co.uk/postmaster/Maildir/1031654585.qw I am confused as 1.) I don't know what the file 1031654585.qw is 2.) My file permisions look fine thanks, Matt.
[vchkpw] Problem with crashing vpopmail *ERR aack, child crashed (Vpopmail LDAP Authentication Problem)*
Hi friends I found the problem its from the vpopmail version. Its working very well with 5.1.2 but it gives "ERR aack, child crashed" error messeage in version 5.3.8 devel. Thanx for ur help.. Last question i promise P:) I want setup an address book with ldap. If i will create an new email account from vpopmail, this email account will be added to the address book automaticly. And any user can browse it from webpage and from their ms outlook. (Like ms exchange server) Thanx in advance Best Regard Tunc GUNERGUN [EMAIL PROTECTED]
[vchkpw] ucspi-tcp-0.88 cannot find mysql.h
hi all, after attempting /failing to upgrade / patch my working qmail server, I decided to reinstall qmail from scratch, but being aware of the steps I would have to take in the future to install vpopmail/use mysql/install qmailadmin etc etc. I decided to walk through the qmail install guide on http://www.lwq.org/ and compare notes / prep for http://matt.simerson.net/computing/qmail/qmail.toaster.shtml by Matt Simerson. So far I have a Mysql database 3.23 installed a running (I use it for other things apart from qmail) I have patched qmail and compiled it. I have just patched ucspi-tcp-0.88. when I run "make setup check" I get the following error message [root@jordan ucspi-tcp-0.88]# make setup check ./compile db.c db.c:4:19: mysql.h: No such file or directory db.c:126:19: mysql.h: No such file or directory make: *** [db.o] Error 1 mysql is in /usr/local/mysql/include/mysql which is in my ld.conf.so. When I attempted to patch a working version of qmail and recompile ucspi I had no complaints, so I am wondering if some other software was needed or where ucspi looked for mysql.h did it use ld.so.conf. I am using redhat linux 7.3 Many thanks, Matt. / /\ / / \ __ /_/ /\ \ /_/\ __\ \ \_\ \ Matt Darcy \ \ \/ /\\ \ \/ / GBIT -EMEA, Bristol, UK \ \ \/ \\ \ /Hewlett-Packard \ \ /\ \\ \ \ \ \ \ \ \\ \ \ Telnet312 8859 \ \ \_\/ \ \ \ Telephone +44 (0) 117 312 8859 \ \ \\_\/ Mobile +44 (0) 776 766 0991 \_\/ Email: [EMAIL PROTECTED]
RE: [vchkpw] ucspi-tcp-0.88 cannot find mysql.h
> I have just patched ucspi-tcp-0.88. First.. go to the bottom of your ucspi patch. Change ! gcc -s -I/usr/local/include/mysql -L/usr/local/lib/mysql -lmysqlclient to ! gcc -s -I/usr/local/mysql/include/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient And change ! gcc -O2 -I/usr/local/include/mysql to ! gcc -O2 -I/usr/local/mysql/include/mysql Now apply the patch. > when I run "make setup check" I get the following error message No more errors :) > mysql is in /usr/local/mysql/include/mysql which is in my ld.conf.so. > ld.so.conf (i assume you mean) doesnt apply here, because the paths are hard coded in the patch. enjoy! dallas
RE: [vchkpw] ucspi-tcp-0.88 cannot find mysql.h
thank you all for this help. Matt. -Original Message- From: Dallas Engelken [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 2:18 PM To: DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2); [EMAIL PROTECTED] Subject: RE: [vchkpw] ucspi-tcp-0.88 cannot find mysql.h > I have just patched ucspi-tcp-0.88. First.. go to the bottom of your ucspi patch. Change ! gcc -s -I/usr/local/include/mysql -L/usr/local/lib/mysql -lmysqlclient to ! gcc -s -I/usr/local/mysql/include/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient And change ! gcc -O2 -I/usr/local/include/mysql to ! gcc -O2 -I/usr/local/mysql/include/mysql Now apply the patch. > when I run "make setup check" I get the following error message No more errors :) > mysql is in /usr/local/mysql/include/mysql which is in my ld.conf.so. > ld.so.conf (i assume you mean) doesnt apply here, because the paths are hard coded in the patch. enjoy! dallas
Re: [vchkpw] SMTP-AUTH, Stable?
On Monday 09 September 2002 09:01 pm, Kit Halsted wrote: > One of my clients has been running a server with the "relaymailfrom" > hack for years. I've been telling them for as long as I've been > working with them that they would get blacklisted if they didn't > switch to SMTP-AUTH. Well, they got listed & now I have to implement > SMTP-AUTH. I know that CRAM-MD5 issues are fixed as of 5.3.6 (Woohoo! > Thanks, Bill!), & I know that 5.3.8 seems stable from what I've seen > on this list, but I'm still nervous deploying dev software on a > production box. So, question #1 is: will there be a new stable > version soon? I think it's about time we release a new "production" version. The "development" version 5.3.8 doesn't seem to have any problems. We are running it in production. > > I would also appreciate it if anyone has time to critique my upgrade plans: > > Back up /var/qmail & /home/vpopmail > > Grab fresh qmail source > > Patch with elysium.pl SMTP-AUTH patch > > make setup check #This is non-destructive as far as existing control > files, etc., no? > > Install vpopmail 5.3.8 over existing 5.2. That works. Recompile any programs that link the vpopmail library too. > > Thanks, > -Kit
[vchkpw] not a morercpthosts file problem
On Mon, Sep 09, 2002 at 04:10:56PM +0800, Martin Chung wrote: > I have a big problem to add a new domain name. > After I added a new domain name and then added a new user. I tried to > send email to that user but I always received this message: > > Hi. This is the qmail-send program at mail.server.com. > 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. > > <[EMAIL PROTECTED]>: > 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 have checked that the domain name is existed in morercpthosts but > qmail-send always said not in control files. Although I use > qmail-newmrh again and again, the problem didn't solve. Notice that the error message doesn't say anything about rcpthosts or SMTP. rcpthosts and morercpthosts are relevant only to qmail-smtpd (and qmail-qmtpd), which has already accepted the message and put it into the queue for qmail-send to deliver: see the diagram in http://www.nrg4u.com/qmail/the-big-qmail-picture-103-p1.gif qmail-send can't work out how to deliver the message: * the domain's not in control/locals or control/virtualdomains, so it's not meant to be delivered to a user on the system ("it isn't in my control/locals file, so I don't treat it as local"); * therefore it must be intended for some other server... but the DNS records (MX or A) point back to this server! ("I'm listed as a best-preference MX or A for that host") vadddomain normally adds the necessary entries in files automatically; did you use it? If so, what commands did you give, *exactly*, and did you change any of the files by hand? If so, which and how? -- Daniel Biddle
[vchkpw] efilter?
Hi. What about efilter ? i'm searching a spam filter for big servers and efilter , reading http://inter7.com/efilter, seems to be good with a qmail-vpopmail toaster but it's not available for download. When will be available ? i think that a good feature will be to make qmailadmin permit to the users to set their own basic rules (ie: block this sender...). Best Regards. -- Davide Giunchi. Membro del FoLUG (Forlí Linux User Group) - http://folug.linux.it GPG Key available on http://www.keyserver.net Fingerprint: 4BFF 2682 6A58 ECFE 071B A1A4 F2A3 9EFA 6494 81FD
Re: [vchkpw] efilter?
When we've re-coup'd our development costs, we may GPL it. For now, it's proprietary. Davide Giunchi wrote: > > Hi. > What about efilter ? i'm searching a spam filter for big servers and efilter > , reading http://inter7.com/efilter, seems to be good with a qmail-vpopmail > toaster but it's not available for download. > When will be available ? i think that a good feature will be to make > qmailadmin permit to the users to set their own basic rules (ie: block this > sender...). > > Best Regards. > > -- > Davide Giunchi. > Membro del FoLUG (Forlí Linux User Group) - http://folug.linux.it > GPG Key available on http://www.keyserver.net > Fingerprint: 4BFF 2682 6A58 ECFE 071B A1A4 F2A3 9EFA 6494 81FD -- mailto:[EMAIL PROTECTED] Matt Brookings - Chief Technical Officer Inter7 Internet Technologies, Inc. www.inter7.com - 847-492-0470 Prices at http://www.inter7.com/prices
[vchkpw] qmail+vpopmail+mysql
Ok, I compiled vpopmail with mysql support. I want to store the open relay information in a mysql table. It looks like its saving all the ips into the table. So I compiled tcpserver with the mysql patch, made a /var/qmail/control/mysql file. Now how do I set tcpserver to use this file? Someone told me to just add -S and it should work. So now I have this in my qmail-smtpd startup file... #!/bin/sh QMAILDUID=`id -u qmaild` NOFILESGID=`id -g qmaild` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` LOCAL=`head -1 /var/qmail/control/me` if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in echo /var/qmail/supervise/qmail-smtpd/run exit 1 fi exec /usr/local/bin/softlimit -m 200 \ /usr/local/bin/tcpserver -v -R -l "$LOCAL" -S -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1 Am I doing this right? How can I test tcpserver to see if its reading the sql db? Thanks Nick
Re: [vchkpw] SMTP-AUTH, Stable?
Long day... At 9:44 AM -0500 9/10/02, Ken Jones wrote: >On Monday 09 September 2002 09:01 pm, Kit Halsted wrote: >> One of my clients has been running a server with the "relaymailfrom" >> hack for years. I've been telling them for as long as I've been >> working with them that they would get blacklisted if they didn't >> switch to SMTP-AUTH. Well, they got listed & now I have to implement >> SMTP-AUTH. I know that CRAM-MD5 issues are fixed as of 5.3.6 (Woohoo! >> Thanks, Bill!), & I know that 5.3.8 seems stable from what I've seen >> on this list, but I'm still nervous deploying dev software on a >> production box. So, question #1 is: will there be a new stable >> version soon? > >I think it's about time we release a new "production" version. >The "development" version 5.3.8 doesn't seem to have any problems. >We are running it in production. Cool, I'll just go with 5.3.8 & hope you don't change version numbers when you start calling it the production version. ;) > > >> I would also appreciate it if anyone has time to critique my upgrade plans: >> >> Back up /var/qmail & /home/vpopmail >> >> Grab fresh qmail source >> >> Patch with elysium.pl SMTP-AUTH patch >> >> make setup check #This is non-destructive as far as existing control >> files, etc., no? >> >> Install vpopmail 5.3.8 over existing 5.2. >That works. Recompile any programs that link the vpopmail library too. Apologies for the ongoing questions, but what programs are those? I don't think I'm running any that won't be rebuilt by installing the new version, but I may just be hugely ignorant here. (Just running vpopmail, no web admin stuff, no imap.) Thanks again, Kit -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin "...qui desiderat pacem, praeparet bellum" (...if you would have peace, be prepared for war) -Flavius Vegetius Renatus
[vchkpw] executing commands ... without the need of vpop UID/GID
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi, atatched you will find a litte pice of alpha quality code allowing to execute some vpopcommands WITHOUT the need of vpop UID/GID. the programm "vcommander" listens on a port using tcpserver (what else :-). i use it for my tests like this: /usr/local/bin/tcpserver -l 0 -R -H -v -u110 -g85 0 /var/vpopmail/bin/vcommander so tcpserver will listen on port . it reads commands striktly at the following syntax: domain test.com passwd postmaster_password command anny_vpop_commandline_command command anny_vpop_commandline_command ... after a syntax error or if the connection is closed new auth is required. vcommander will answer with: - - - a status code (e.g. 0=OK) [newline] - - - a status message [newline] - - - the output of the executed command the following commands are enabled by now: vaddaliasdomain vadddomain vadduser valias vdeldomain vdeloldusers vdeluser vdominfo vmkpasswd vmoduser vpasswd vsetuserquota vuserinfo next i will write a PHP class using vcommander to manage virtual domains and users. in order to complete this, atleast shellscripts managing forwarders, autoresponders and mailinglists are required. then i will implement that an arbitary user an log in, but only postmasters will be allowed to issue usermanagementcommands (like qmailadmin). perhaps domainmanagement programs should be limited to sysadmins, but i've no idea how to implement this at the moment :-) cheers Matthias Henze[EMAIL PROTECTED] Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc - - - - - - - - - - - - - - - - - - - - - - - - - - - - MHC SoftWare GmbH voice: +49-(0)9533-92006-0 Fichtera 17 fax: +49-(0)9533-92006-6 96274 Itzgrund/Germanye-Mail: [EMAIL PROTECTED] - - - - - - - - - - - - - - - - - - - - - - - - - - - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6-2 (MingW32) Comment: Weitere Infos: siehe http://www.gnupg.org iEYEARECAAYFAj1+37EACgkQkuyUDXwkmpZFFACgjC8xH/9yzZgTiJ8F6HosBMaS 01kAn1/wx1LzhE0vpL+hpiBaCDCav00q =ocPg -END PGP SIGNATURE- vcommander.c Description: Binary data vcommander.c.sig Description: PGP signature