Re: [vchkpw] problem with authentication
Nope, I copied the folders containing both programs directly over...Would it be better to reinstall? I would want to avoid this because installing qmail took an extremely long time on my last attempt. From: mike [EMAIL PROTECTED] To: shaklee39 [EMAIL PROTECTED] Subject: Re: [vchkpw] problem with authentication Date: Tue, 1 Apr 2003 19:15:49 -0500 hmmm . I assume you installed qmail and vpopmail and then moved the old files to the directories .? - Original Message - From: shaklee39 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 7:13 PM Subject: Re: [vchkpw] problem with authentication Well that must be the problem, I have no way of checking if the old box and this one because the old /etc was wiped after the incident. Is there any way to recover this? - Original Message - From: mike [EMAIL PROTECTED] To: shaklee39 [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 4:06 PM Subject: Re: [vchkpw] problem with authentication Hi Did you check the user ids are the same betwenn you wiped box and the freebsd box . It is also not clear what type of authentication you were using . Thanks - Original Message - From: shaklee39 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 7:03 PM Subject: [vchkpw] problem with authentication Hi, we recently had a problem on our server where someone accidently did a rm -rf / for a few seconds (yes it is true) and /etc along with many other things were wiped out. Thankfully the qmail and vpopmail directories were not changed. Our host installed a new drive with freebsd on it and I copied the qmail and vpopmail folders over to the new drive and tried to start it up. I did the regular checks such as disabling sendmail and moving the startup scripts. vdominfo reports all the domains have the correct number of users. When I start qmail there are no errors but authentication no longer works. The install is per LWQ directions. In the pop logs all I see is stuff like this: @40003e89b5440e764f04 tcpserver: end 445 status 256 @40003e89b5440e776c2c tcpserver: status: 0/20 @40003e89b583057164fc tcpserver: status: 1/20 @40003e89b5830578b02c tcpserver: pid 481 from 66.127.229.52 @40003e89b583057c59ac tcpserver: ok 481 0:66.213.105.32:110 :66.127.229.52:: 3257 but nothing more after a failed attempt at a pop login. I have no idea where to go from here as to how to debug this login problem any help is appreciated. _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail
Re: roaming users not working, simple config, i'm stumped
Ok, I've figured out how i broke the roaming users, but i still don't understand why i never see any log messages with smtp in them, ever. I get delivery notices, but what exactly does qmail-smtpd do, and why don't i see anything in the logs when i telnet to port 25 ? When didn't you add recordio? # config for tcpserver to enable roaming users /usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \ -c20 -u81 -g81 0 smtp /usr/local/bin/recordio /var/qmail/bin/qmail-smtpd 21 | \ /var/qmail/bin/splogger _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: mail forwarding
I want to do email forwarding on vpopmail. Is there anyone know how can I do this? Put: [EMAIL PROTECTED] To: /home/vpopmail/domains/yourdomain.com/you/.qmail _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: courier-imap and open-smtp
I'm using vpopmail-4.9.8 and courier-imap-1.3.2. The open-smtp relay feature works for pop connections but don't works for imap connections. When a user connect via imap /home/vpopmail/etc/open-smtp isn't updated with the user ip. Are you sure you have authvchkpw in your /usr/local/libexec/courier-imap/authlib/ or equivalent directory? If you are using vpasswd.cdb database, you should remove everything from the AUTHMODULES line of your /usr/local/etc/courier-imap/imapd and leave just AUTHMODULES="authvchkpw" in it. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: bouncing bad email (correction)
Actually you shouldn't create a devnull user and shouldn't put "/dev/null" in ~vpopmail/domains/yourdomain.com/devnull/.qmail at all. The best way is to do the following all over again and ignore all my previous messages in this thread: 1) echo postmaster /var/qmail/control/bouncefrom (the default is MAILER-DAEMON), so you may skip this step 2) echo devnull /var/qmail/control/doublebounceto 3) echo "| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox " ~vpopmail/domains/yourdomain.com/.qmail-default chown vpopmail .qmail-default # so mail will be bounced and [EMAIL PROTECTED] will be displayed to user. 4) echo # ~vpopmail/domains/yourdomain.com/.qmail-devnull chown vpopmail .qmail-devnull Sorry for the misinformation previously. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: Courier IMAP
Has anyone ever had success in compiling courier IMAP with vpopmail + SQL support? I don't. and then the make exits. The IMAP list admins say that it is a vpopmail issue and not anythingto do with them...I cant see how, any ideas would be gratefully recieved! Have you specified --enable-mysql=y when compiling vpopmail? _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: API Question
int vadddomain( char *domain, char *dir, int uid, int gid); what does dir denote? is it the domain's main directory? Not the ~vpopmail/domains directory but ~vpopmail/domains/yourdomain.com After checking vpopmail.c: if ( chdir(dir) != 0 ) { return(VA_BAD_V_DIR); } if ( chdir(VPOPMAILDIR) != 0 ) return(VA_BAD_V_DIR); case VA_BAD_V_DIR: return("Unable to chdir to vpopmail/domains/domain directory"); _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: tcpserver: fatal: unable to bind: address already used
What other services are you supervising? I was just trying to use the qmail-send and qmail-smtpd Perhaps there is a pop3 startup script somewhere which starts another pop3 daemon you didn't aware of? Based on your error "unable to bind: address already used", it clearly stated that there are multiple daemons that are configured to use the same port. The other daemon that is not supervised may or may not be pop3d if you manually specified that daemon to use 110, you need to find that out yourself. Also, are you running multilog for pop3d as well? Mind to show us that run script? _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: bouncing bad email
This will cause a triple bounce and the mass messages will then be discarded without even getting to your postmaster nor devnull account. Sorry, I meant "cause a double bounce" given user "devnull" exists. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: tcpserver: fatal: unable to bind: address already used
Looks like i might have been trying to complicate things! Are you saying I should just run my script once and ignore the supervise stuff? Where would you call the qmail-pop3d from? I would call qmail-pop3d from my supervise script in /usr/local/etc/rc.d/svscan.sh (on a FreeBSD local startup dir) Without supervising it, I would have a stand-alone startup script for qmail-pop3d in /usr/local/etc/rc.d/pop3d.sh Be sure NOT to have both scripts in your startup dir or file, just choose either one. Supervise is great if you setup everything correctly, otherwise, it will _flood_ your logs. _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: vchkpw eats 99% of cpu time
Starting with svscan with something like this in /var/qmail/supervise/qmail-pop3/run: #!/bin/sh HOSTNAME=`hostname -f` exec /usr/local/bin/softlimit -m 2000 \ /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \ 0 pop-3 /var/qmail/bin/qmail-popup $HOSTNAME \ /home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d ./Maildir/ 21 In 90% of all cases popping the mails works fine. The other 10% create a vchkpw process consuming 99% cpu time, staying there till I send a SIGKILL. Any solutions for this scenario? There are 2 things I can think of: 1) Remove the softlimit line and accept the system default limit 2) Remove the -p flag in your tcpserver to stop reverse DNS lookup I believe it wasn't a problem with vchkpw. If your configuration allows you to use checkpassword, change it and see what happen. I also believe a temporarily fix is to NOT supervise it so let the process dies if it has to without attempt to restart it (which might be the 99% cpu time consuming) _ Get your FREE download of MSN Explorer at http://explorer.msn.com
Re: vchkpw eats 99% of cpu time
One more thing, why you wanted to check against tcp.smtp.cdb for pop3d? It just causes unnecessary overhead since pop3d requires authentication. _ Get your FREE download of MSN Explorer at http://explorer.msn.com