RE: [vchkpw] vqadmin: Script not found or unable to stat ??
Hello, --- John Johnson [EMAIL PROTECTED] wrote: You need to make the .htaccess file as indicated In the directions... The vqadmin install creates one. The only thing I needed to change in there was the path tot he 'users' file, and since it needed to be readable by the webserver, I changed the owner from 'nobody' to 'www' (the user Apache runs under). I did try it as 'nobody' as well, and same issue. I did notice that the 'vqadmin.cgi' file is owned by root:wheel; is this correct, or should it be owned by someone else (since the install program made ownership of almost every other file vpopmail:vchkpw, I can only assume that the root:wheel ownership was deliberate, but I just want to make sure. Alan __ Post your free ad now! http://personals.yahoo.ca
Re: [vchkpw] why failed to change password in sqwebmail? expect not found...
Hi Banks, --- Banks Jin [EMAIL PROTECTED] wrote: The error message in compiling time is: expect not found - will not be able to change passwds in Sounds like you need to install the 'expect' package. You should be able to install it off your distro's CD, or download it if it's not there. HTH, Alan __ Post your free ad now! http://personals.yahoo.ca
RE: [vchkpw] why failed to change password in sqwebmail? expect not found...
Title: Message First of all, this question should be sent to the sqwebmail list. Second, the error is quite verbose. Install the expect software. Regards, Tren -Original Message-From: Banks Jin [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 05, 2003 12:46 AMTo: [EMAIL PROTECTED]Subject: [vchkpw] why failed to change password in sqwebmail? "expect not found..." Hello, I encounter the problem that failed to change passwordin the web interface of sqwebmail. The error message in compiling time is: "expect not found - will not be able to change passwds in webmail..." Any help would be greatly appreciated. Thks Rdgs, Banks
Re: [vchkpw] what is the usage of .qmail in~vpopmail/domain/VIRTUAL_DOMAIN_NAME/USER/.qmail ??
Hi, I set up such a file with content of [EMAIL PROTECTED] This is the right way to do it. So something else must be broken in your installation. Can you supply us with more details? E.g. what does the qmail-send logfile say? claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
[vchkpw] Spamassasin + vpopmail
Does anyone have an howto for spamassassin with vpopmail. Thanks, Remo
Re: [vchkpw] Spamassasin + vpopmail
On Sun, 2003-01-05 at 12:39, Remo Mattei wrote: Does anyone have an howto for spamassassin with vpopmail. Thanks, Remo I haven't set it on on my vpopmail setup yet, but everywhere else I put a wrapper around qmail-local and/or qmail-remote. (Depending on nature of server.) If server is acting solely as a relay-filter, I'll only do qmail-remote. If it's acting as a mailbox-spool host, I'll do qmail-local only. All you really need are a couple of tiny patches to qmail to allow specifying qmail-local and qmail-remote paths in the environment. I can send you the wrapper scripts and patches if you want, but there isn't really much to them. -- Nathan Nathan Neulinger EMail: [EMAIL PROTECTED] University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216
Re: [vchkpw] Spamassasin + vpopmail
I've attached the scripts and sample patches. The local one has some extra functionality - it looks in user's home dir to see what mode to operate in for that user. Full Blocking into separate folder, Just Marking, or Disabled. I don't remember if qmail-rspawn needs patch or not, if it does, it's essentially the same as the qmail-lspawn.c patch. To work this with vpopmail would be just minor changes I think. -- Nathan On Sun, Jan 05, 2003 at 02:02:42PM -0600, Neulinger, Nathan wrote: On Sun, 2003-01-05 at 12:39, Remo Mattei wrote: Does anyone have an howto for spamassassin with vpopmail. Thanks, Remo I haven't set it on on my vpopmail setup yet, but everywhere else I put a wrapper around qmail-local and/or qmail-remote. (Depending on nature of server.) If server is acting solely as a relay-filter, I'll only do qmail-remote. If it's acting as a mailbox-spool host, I'll do qmail-local only. All you really need are a couple of tiny patches to qmail to allow specifying qmail-local and qmail-remote paths in the environment. I can send you the wrapper scripts and patches if you want, but there isn't really much to them. -- Nathan Nathan Neulinger EMail: [EMAIL PROTECTED] University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 -- Nathan Nathan Neulinger EMail: [EMAIL PROTECTED] University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 #!/usr/local/bin/perl $cmd = $0; $cmd =~ s|.*/||gio; open(LOG, |/usr/bin/logger -t $cmd); select(LOG); $| = 1; select(STDOUT); print LOG [$$] IN: , join( # , @ARGV), \n; @args = @ARGV; $is_spam = 0; # Apr 16 08:50:22 mailsrv qmail-local-wrapper: /products/qmail-server/local/qmail-local-wrapper # # -- # rollalib # /products/qmail-spool/rollalib # rollalib # # # rollanet.org # [EMAIL PROTECTED] # ./Maildir/ # 12 34 5 6 7 8 9 # Split out args - dependent on lspawn exact calling convention, should be more intelligent eventually # qmail-local [ -nN ] user homedir local dash ext domain sender defaultdelivery ($opts, $user, $homedir, $local, $dash, $ext, $domain, $sender, $defaultdelivery) = @ARGV; # # Temporary for testing # #if ( $user ne tnneul3 ) #{ # print Testing. Temporarily deferring deliveries.\n; # exit(111); #} # # If spam blocking is not enabled for this user, immediately spawn real qmail-local with # current args. Otherwise perform spam checking. # # Block trigger $luser = lc $user; $blocktrigger = /products/qmail-spool/$luser/SPAMBLOCK; $marktrigger = /products/qmail-spool/$luser/SPAMMARK; if ( ! -e $blocktrigger ! -e $marktrigger ) { print LOG [$$] trigger does not exists, passing to qmail-local directly\n; close(LOG); exec(/products/qmail-server/bin/qmail-local, @ARGV); } # # Temporarily disable scanning if trigger file exists # if ( -e /products/qmail-server/local/block-scanning ) { print Temporarily disabling spam scanning for $user.\n; exit(111); } # # Create temporary file, and write message to it for spamc to process # umask(077); $tmpbase = /tmp/spamc.$$. . time . . . $user; $tmpfile = $tmpbase . .tmp; $outfile = $tmpbase . .out; open(OUT, $tmpfile); while ( sysread(STDIN, $data, 5) ) { syswrite(OUT, $data); } close(OUT); # # Rewind file descriptor for sending to qmail-local # seek(STDIN, 0, 0); # # Perform spam checking # $CHILD_PID = fork; if ( $CHILD_PID == 0 ) { close(STDOUT); open(STDOUT, $outfile); open(STDIN, $tmpfile); unlink($tmpfile); exec(/usr/local/bin/spamc, -d, spamd.rollanet.org, -f); exit(0); # just in case } $SIG{ALRM} = handle_timeout; alarm(60); wait; alarm(0); # # Process the output file to determine if it was marked as spam # open(IN, $outfile); while ( $line = IN ) { last if ( $line eq \n ); last if ( $line eq \r ); last if ( $line eq \r\n ); if ( index($line, X-Spam-Flag: YES) == 0 ) { $is_spam = 1; last; } } close(IN); # # In case it didn't get unlinked earlier # unlink($tmpfile); # # If spam, redirect to the junk mailbox # if ( $is_spam -e $blocktrigger $defaultdelivery eq ./Maildir/) { print LOG [$$] delivering to Maildir-Junk for $user\n; $defaultdelivery = ./Maildir-Junk/; } else { print LOG [$$] delivering to Maildir for $user\n; } # Figure out new args @args = ($opts, $user, $homedir, $local, $dash, $ext, $domain, $sender, $defaultdelivery); # Actually execute qmail-local # 0 if the delivery is completely successful; nonzero if any delivery instruction
Re: [vchkpw] Ldap + vpopmail error
Hi Remo Obviusly you didn't read ldap README very well :) please read section about slapd.conf this error shows that you didn't included core.schema (or like) Steki Hey guys, I am trying to get this going and I get this error when I try to start slapd: usr/etc/openldap/schema/qmailUser.schema: line 39: ObjectClass not found: top I have compiled ldap 2.0.27. Here is my qmailUser.schema: attributetype ( 1.3.6.1.4.1.8868.3.1.2 NAME 'qmailGID' DESC 'qmail group id' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.8868.3.1.3 NAME 'qmailUID' DESC 'qmail userid' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.8868.3.1.4 NAME 'qmaildomain' DESC 'qmail Domain' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.8868.3.1.6 NAME 'mailQuota' DESC 'qmail quota' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100} SINGLE-VALUE ) attributetype ( 1.3.6.1.4.1.8868.3.1.7 NAME 'mailMessageStore' DESC 'qmail Store' EQUALITY caseIgnoreIA5Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100} SINGLE-VALUE ) objectclass ( 1.3.6.1.4.1.8868.3.1 NAME 'qmailUser' DESC 'qmail local mail recipient' SUP ( top $ person $ organizationalPerson ) MAY ( qmailGID $ qmailUID $ qmaildomain $ mailQuota $ mailMessageStore $ name $ cn $ userPassword $ uid ) ) Thanks for any suggestions. Remo
Re: [vchkpw] what is the usage of .qmail in ~vpopmail/domain/VIRTUAL_DOMAIN_NAME/USER/.qmail ??
I did nothing but set a virtual domain with vpopmail, and it is normal and well to post and get email, I just want to have a test of forwarding a email for a virtual domain user, but it can not. I do not know if there should be a .qmail file with the virtual domain user. I tried the .qmail for a system user, it works well. Jerry - Original Message - From: Claudio Nieder [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 06, 2003 2:21 AM Subject: Re: [vchkpw] what is the usage of .qmail in ~vpopmail/domain/VIRTUAL_DOMAIN_NAME/USER/.qmail ?? Hi, I set up such a file with content of [EMAIL PROTECTED] This is the right way to do it. So something else must be broken in your installation. Can you supply us with more details? E.g. what does the qmail-send logfile say? claudio -- Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743 yahoo messenger: claudionieder aim: claudionieder icq:42315212 mailto:[EMAIL PROTECTED]http://www.claudio.ch
[vchkpw] Re : Upgrading Vpopmail to 5.2.1 and auth fails
Ok Guys, With a bit of help from Alex, it seems we have found why the new version of vchkpw won't auth the virtual domain users. Its because it won't do a reverse lookup of the ip to resolve the domain the virtual customer is logging into.. Anyone know whether this is a known bug ? Basically a virtual domain vd.com has mail.vd.com10.0.0.1 vd.com 10.0.0.1 and a reverse 10.0.0.1 vd.com user connects to mail.vd.com 110 user jo pass etc login successfull... and currently logs in fine. When i change to the new vchkpw i see in the log files connects to mail.vd.com 110 user jo pass etc User [EMAIL PROTECTED] does not exist, auth failure.. blah blah.. Currently with the old version of vpopmail i have it works fine, but the new version (even when configured with enable-ip-alias- domain=y), won't reverse resolve the users domain.. Help ? Thanks Nathan Yes i can telnet to host:110, but the auth for my pass always fails until i revert to the old vchkpw file... ie the new vchkpw doesn't seem to be able to read the old vpasswd.cdb file...for the domains... Nathan > What then is the problem you are having? > > can you 'telnet mail.you.com 110'? > > I did not see where you said that you having trouble authenticating with > POP. > > -alex > > - Original Message - > From: "Nathan Chan" [EMAIL PROTECTED]> > To: [EMAIL PROTECTED]> > Sent: Monday, December 30, 2002 7:58 PM > Subject: [vchkpw] RE : [vchkpw] Upgrading Vpopmail to 5.2.1 and Auth Now Fa > > > Alex, > > > I had to 'chown root.root /home/vpopmail/bin/vchkpw'. > > > Will check this. > > No go. My previous version of vchkpw was vpopmail:vchkpw and so was my new > version. I tried it root:root but still no go. > > Nathan > > > > > > > > > > > >