I have removed the /etc/cron.hourly/qmail file, but still no joy. I think I may have not explained myself very well. I imagine the /var/qmail/users/assign & /var/qmail/users/assign.passwd are for users login, I have not got as far as setting up users yet.
My problem is login to postmaster via http://localhost/cgi-bin/qmailadmin I use vadddomain mail.home.net and supply passwords. This seems to add an entry in /home/vpopmail/domains/mail.home.net/vpasswd and /home/vpopmail/domains/mail.home.net/vpasswd.cdb File /home/vpopmail/domains/mail.home.net/vpasswd has the following info (all one line): postmaster:$1$Z.eo2$4swEBV2JLCh8QS2s872K8.:1:0:Postmaster: /home/vpopmail/domains/mail.home.net/postmaster:NOQUOTA:password This login from the web interface is what is failing with Invalid Login Trev. > ----- Original Message ----- > From: "Ken Jones" <[EMAIL PROTECTED]> > To: "Trevor Henderson" <[EMAIL PROTECTED]> > Sent: Thursday, October 17, 2002 11:02 PM > Subject: Re: [qmailadmin] Help - Invalid Login > > > That's it. the qmail cron file in hourly. > Notice how it does things with "assign" files? > That's what is mucking everything up. > > Remove this cron file and then every domain you > add after that will work fine. The old entries are gone forever. > > Ken > > On Thursday 17 October 2002 05:01 pm, you wrote: > > Here is the crontab: > > > > SHELL=/bin/bash > > PATH=/sbin:/bin:/usr/sbin:/usr/bin > > MAILTO=root > > HOME=/ > > # run-parts > > 01 * * * * root nice -n 19 run-parts /etc/cron.hourly > > 02 4 * * * root nice -n 19 run-parts /etc/cron.daily > > 22 4 * * 0 root nice -n 19 run-parts /etc/cron.weekly > > 42 4 1 * * root nice -n 19 run-parts /etc/cron.monthly > > # vpopmail > > 40 * * * * /home/vpopmail/bin/clearopensmtp 2>&1 > /dev/null > > > > > > Could it be this in /etc/cron.hourly/qmail > > > > #!/bin/sh > > > > QMAILHOME=/var/qmail > > > > touch $QMAILHOME/users/assign.passwd > > touch $QMAILHOME/users/assign > > > > # create assign.nopasswd file > > ( cat $QMAILHOME/users/assign.passwd && cat $QMAILHOME/users/assign ) \ > > > > | sort | uniq -u > $QMAILHOME/users/assign.nopasswd > > > > # create the assign file from passwd entries (using getent) > > getent passwd | $QMAILHOME/bin/qmail-pw2u > $QMAILHOME/users/assign.passwd > > > > # merge assign.nopasswd and assign.passwd in assign > > ( cat $QMAILHOME/users/assign.nopasswd && cat > > $QMAILHOME/users/assign.passwd) \ > > > > | sort -k 2 | uniq | grep -v "^.$" > $QMAILHOME/users/assign > > > > echo "." >> $QMAILHOME/users/assign > > > > # make cdb file > > $QMAILHOME/bin/qmail-newu > > > > Many thanks > > Trev. > > ----- Original Message ----- > > From: "Ken Jones" <[EMAIL PROTECTED]> > > To: "Trevor Henderson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > > Sent: Thursday, October 17, 2002 7:04 PM > > Subject: Re: [qmailadmin] Help - Invalid Login > > > > > > Some qmail rpm packages install a crontab entry which > > over writes the /var/qmail/users/assign file with only entries > > from /etc/passwd. I think it runs about once an hour. > > That might be the problem. > > > > Ken Jones > > > > On Tuesday 15 October 2002 05:04 pm, Trevor Henderson wrote: > > > This has probably been asked loads of times before, but I can't find the > > > answer. So hopefully someone can help me out. > > > > > > I have installed the following to a mandrake 8.2 system: > > > qmail-1.03-20rph.i586.rpm > > > ucspi-tcp-0.88-1.i386.rpm > > > ezmlm-0.53-2.i386.rpm > > > vpopmail-5.2.1.tar.gz > > > qmailadmin-1.0.6.tar.gz > > > autorespond-2.0.2.tar.gz > > > > > > I have apache httpd running > > > I have setup a domain with > > > vadddomain "your new domain name" "pick a postmaster password" > > > > > > I have done vdeldomain & vadddomain a number of times in an attempt to > > > get this working. > > > > > > When I login to qmailadmin, I get an "Invalid Login" message in > > > > qmailadmin. > > > > > I have cheched the details look correct in > > > /home/vpopmail/domains/homemail/vpasswd > > > > > > My httpd/error_log has messages > > > > > > [Wed Oct 16 21:09:02 2002] [error] [client 192.168.1.10] client denied > by > > > server configuration: /var/www/cgi-bin/qmailadmin > > > > > > > > > > > > Many thanks > > > > > > Trev. > > > > > > > > > > > > > > > --- > > > Outgoing mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.400 / Virus Database: 226 - Release Date: 09/10/2002 > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.401 / Virus Database: 226 - Release Date: 09/10/2002 > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.401 / Virus Database: 226 - Release Date: 09/10/2002 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.401 / Virus Database: 226 - Release Date: 09/10/2002