[vchkpw] Can't seem to get rid of mysql?

2006-10-14 Thread Charles M. Gerungan
When a user tries to subscribe to an ezmlm-idx mailing list, I get  
the following entry in my qmail-smtpd log:


vmysql: no valid settings in /home/vpopmail/etc/vpopmail.mysql

Why is this file still read? If I remove this file I get:

2006-10-14 10:55:54.895147500 vmysql: can't read settings from /home/ 
vpopmail/etc/vpopmail.mysql


Listing the mailing list in qmailadmin doesn't show that mysql is  
enabled.


Here's how I've configured vpopmail:

$ cat configure.txt
# vpopmail's configure script needs to be run as root.
./configure \
--enable-auth-module=cdb \
--disable-auth-module=mysql \
--enable-learn-passwords \
--disable-rebuild-tcpserver-file \
--enable-qmail-ext \
--enable-logging=v \
--disable-many-domains

It results in:

   vpopmail 5.4.17
Current settings
---

vpopmail directory = /home/vpopmail
domains directory = /home/vpopmail/domains
   uid = 89
   gid = 89
 roaming users = OFF --disable-roaming-users (default)
password learning = ON  --enable-learn-passwords
 md5 passwords = ON  --enable-md5-passwords (default)
  file locking = ON  --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
 make seekable = ON  --enable-make-seekable (default)
  clear passwd = ON  --enable-clear-passwd (default)
user dir hashing  = ON  --enable-users-big-dir (default)
address extensions = ON  --enable-qmail-ext
  ip alias = OFF --disable-ip-alias-domains (default)
   auth module = cdb  --enable-auth-module=cdb (default)
  auth inc = -Icdb
  auth lib =
  system passwords = OFF --disable-passwd (default)
pop syslog = log success and errors including passwords
 --enable-logging=v
  auth logging = ON  --enable-auth-logging (default)

--
Regards, Charles.




Re: [vchkpw] Can't seem to get rid of mysql?

2006-10-14 Thread Charles M. Gerungan

On 14-okt-2006, at 11:03, Charles M. Gerungan wrote:


Here's how I've configured vpopmail:

$ cat configure.txt
# vpopmail's configure script needs to be run as root.
./configure \
--enable-auth-module=cdb \
--disable-auth-module=mysql \


Erm, the above line isn't actually in there. It's something I also  
tried, but configure doesn't accept it.



--enable-learn-passwords \
--disable-rebuild-tcpserver-file \
--enable-qmail-ext \
--enable-logging=v \
--disable-many-domains


--
Regards, Charles.




Re: [vchkpw] Can't seem to get rid of mysql?

2006-10-14 Thread Charles M. Gerungan

On 14-okt-2006, at 11:24, Bob Hutchinson wrote:


I use
--disable-ezmlm-mysql


I'm assuming you're talking about qmailadmin? My configure for  
vpopmail doesn't list it.


--
Regards, Charles.




[vchkpw] (5.4.13) ./configure insists on installing in /home/vpopmail/vpopmail

2006-03-30 Thread Charles M. Gerungan
I want to install vpopmail in /home/vpopmail. As with previous  
installs with older version, I was expecting a directory structure  
like /home/vpopmail/{bin,doc,domains,etc}, instead I received a  
directory structure like /home/vpopmail/vpopmail/ 
{bin,doc,domains,etc} (note the doubling of vpopmail in the path).


I used the following line to configure vpopmail:

./configure --disable-rebuild-tcpserver-file --enable-qmail-ext -- 
enable-auth-module=mysql --enable-mysql-limits --enable-sql-logging -- 
enable-valias --prefix=/home


After it finishes, it tells me:

vpopmail directory = /home/vpopmail/vpopmail

I also tried without --prefix and HOME=/home ./configure ... --prefix= 
$HOME to no avail.


How can I get the result I expected?

--
Regards, Charles.




Re: [vchkpw] (5.4.13) ./configure insists on installing in /home/vpopmail/vpopmail

2006-03-30 Thread Charles M. Gerungan

On 31-mrt-2006, at 1:18, Charles M. Gerungan wrote:

I want to install vpopmail in /home/vpopmail. As with previous  
installs with older version, I was expecting a directory structure  
like /home/vpopmail/{bin,doc,domains,etc}, instead I received a  
directory structure like /home/vpopmail/vpopmail/ 
{bin,doc,domains,etc} (note the doubling of vpopmail in the path).


Oh, please, not again. Why does the solution always present itself  
after you press send...


Anyway, I got the same results with 5.4.10, so I checked /etc/passwd.  
Lo and behold, the home directory was set to /home/vpopmail/vpopmail.  
After changing this all was well.


Sorry.

--
Regards, Charles.




Re: [vchkpw] about smtp auth

2004-10-15 Thread Charles M. Gerungan
Jeremy Kitchen wrote:
there's someone here that use Freebsd and qmail+vpopmail+smtp auth?

The recommended smtp auth patch to use is the one found at 
http://fehcom.de/qmail/smtpauth.html
Which works fine. Installation instructions are either on the site or 
included in the tarball; can't remember.

--
Regards, Charles.


signature.asc
Description: OpenPGP digital signature


Re: [vchkpw] maildrop+vpopmail help required

2004-09-06 Thread Charles M. Gerungan
Hello Tanmaya,

Tue, 7 Sep 2004 21:30:36 +0530 UTC,  Tanmaya Anand wrote:

TA I have installed spamassassin   maildrop,
TA but unable to get it working.

Search Google for maildrop qmail vpopmail and look for a site by
Almqvist.

But are you really sure that you want to use SA from maildrop? I would
run it from qmail_queue.

-- 
Regards, Charles.


pgpJ3F5ifD4gW.pgp
Description: PGP signature


Re: [vchkpw] allowing users to change their own passwords

2004-09-05 Thread Charles M. Gerungan
Hello Jim,

Sat, 4 Sep 2004 22:15:07 -0400 UTC,  Jim Clark wrote:

JC Well, the thing is I don't have access to vpopmail directly - my web hosting
JC service controls that. And I want the actual mailbox user to be able to
JC change their own password. I went to the qmailadmin page and the demo showed
JC an interface that looked more like an administrator interface rather than a
JC mailbox user interface - which I already have from my hosting provider. Did
JC I miss something?

Maybe. Did you log in as postmaster or as a regular mail user? For
the postmaster for that domain, yes, it is an admin interface.

-- 
Regards, Charles.


pgp0Ept2mVJTp.pgp
Description: PGP signature


Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-08-01 Thread Charles M. Gerungan
Hello Rick,

Rick romero wrote on Sat, 31 Jul 2004 19:52:43 -0500 UTC:

Rr I don't have a copy, and don't have time to test right now, but is the
Rr rejection based on the score, or the Yes/No?

Rr Currently, I'm sending anything over 15 to /dev/null via a maildrop
Rr script, but 5 is marked as spam..

That's how we do it also.

-- 
Regards, Charles.

pgpnuDALqYtJh.pgp
Description: PGP signature


Re: [vchkpw] vpopmail / postgres config issues

2004-07-02 Thread Charles M. Gerungan
Hello Jay,

On Fri, 02 Jul 2004 11:45:06 -0700 UTC, Jay Tortorelli wrote:

 OK, I'm trying to configure vpopmail 5.4.6 with postgres 7.4.1.  The
 compilation process seems to work fine, but I can't get a connection to
 the database when actually running the tools. 

JT In vpgsql.h there are a couple of lines that need editing:

It should be a lot nicer if there was a vpopmail.pgsql (like there is a
vpopmail.mysql).

-- 
Regards, Charles.



[vchkpw] Switching from mysql to non-mysql setup.

2004-07-01 Thread Charles M. Gerungan
I run about 10 domains under vpopmail (and qmail, courier-imap, vqadmin,
qmailadmin). vpopmail has been compiled with mysql support and as such
is storing its data in a mysql data base.

Is it doable to convert everything to a system that does not depend on
mysql? Will I use functionality?

-- 
Regards, Charles.



Re: [vchkpw] vpopmail installation on Mandrake 10

2004-07-01 Thread Charles M. Gerungan
Hello Kaan,

On Thu, 1 Jul 2004 10:14:59 -0700 (PDT) UTC, Kaan Ertürk wrote:

KE What does qmailadmin should have the suid bit set mean? Is it
KE something about the uid 89?

There's a lot of info on the setuid bit. Do a search on Google. If you
just want to follow instructions: chmod 4755 qmailadmin.

-- 
Regards, Charles.



[vchkpw] authvchkpw doesn't show Maildir

2004-06-28 Thread Charles M. Gerungan
# Originally posted in the courier forum by mistake

Why isn't the Maildir being picked up?

Here's the log for courier-imap. TAI snipped to hopefully prevent
word-wrap:

tcpserver: pid 1469 from 10.0.2.112
tcpserver: ok 1469 0:10.0.2.155:143 :10.0.2.112::51279
DEBUG: Connection, ip=[10.0.2.112]
LOGIN: DEBUG: ip=[10.0.2.112], command=CAPABILITY
LOGIN: DEBUG: ip=[10.0.2.112], command=LOGIN
LOGIN: DEBUG: ip=[10.0.2.112], [EMAIL PROTECTED]
LOGIN: DEBUG: ip=[10.0.2.112], password=pass
DEBUG: authvchkpw: starting client module
DEBUG: authvchkpw: [EMAIL PROTECTED], sysuserid=8989,
sysgroupid=8989,
homedir=/home/vpopmail/domains/nednieuws.com/noreply,
[EMAIL PROTECTED],
fullname=Charles M. Gerungan,
maildir=null,
quota=null,
options=null
DEBUG: authvchkpw: clearpasswd=null, passwd=$1$password
DEBUG: password matches successfully
DEBUG: authvchkpw: ACCEPT, username [EMAIL PROTECTED]
INFO: LOGIN, [EMAIL PROTECTED], ip=[10.0.2.112], protocol=IMAP
tcpserver: status: 4/53

# ./vuserinfo [EMAIL PROTECTED]
name:   noreply
passwd: $1$password
clear passwd: password
uid:0
gid:0
flags:  0
gecos: Charles M. Gerungan
limits: No user limits set.
dir:   /home/vpopmail/domains/nednieuws.com/noreply
quota: NOQUOTA
usage: NOQUOTA
last auth: Mon Jun 28 13:48:00 2004
last auth ip: 10.0.2.112

-- 
Regards, Charles.




Re: [vchkpw] Authentication

2004-06-25 Thread Charles M. Gerungan
Hello Anuradha,

On Fri, 25 Jun 2004 02:56:51 -0700 UTC, Anuradha Kalyan wrote:

AK i added users throught the qmailadmin web interface.

So they're virtual.

AK user dharini

Try:

USER [EMAIL PROTECTED]

-- 
Regards, Charles.



Re: [vchkpw] Authentication

2004-06-25 Thread Charles M. Gerungan
Hello Anuradha,

On Fri, 25 Jun 2004 03:21:28 -0700 UTC, Anuradha Kalyan wrote:

AK where do u think the authorization is not happening.

What program are you using to authenticate? If you're using vpopmail,
you should use vchkpw. Check your run script for your pop3 daemon.

-- 
Regards, Charles.



Re: [vchkpw] POP3 not logging

2004-06-23 Thread Charles M. Gerungan
Hello Mario,

On Wed, 23 Jun 2004 17:57:59 +0100 Mario Gamito wrote:

MG On Wed, 2004-06-23 at 16:14, Fernando Costa de Almeida wrote:
 [ [EMAIL PROTECTED] ~ ] svstat /service/*/log
 /service/qmail-pop3d/log: unable to open supervise/ok: file does not
 exist
 /service/qmail-send/log: up (pid 312) 685531 seconds
 /service/qmail-smtpd/log: up (pid 310) 685531 seconds
MG If the file exists, it is clearly a permissions problem.
MG Is the contents of that log run file similar to the other runs you have

If you're sure there isn't another multilog running, try deleting the
supervise directory and doing another svscan.

-- 
Regards, Charles.

Un abrazo desde la residencia de la Reina Holandesa.



Re: [vchkpw] Missing .qmail-alias files?

2004-06-22 Thread Charles M. Gerungan
Hello Charles,

On Mon, 21 Jun 2004 23:49:50 +0200 Charles M. Gerungan wrote:

CMG On one server I have domain/.qmail-alias files and on another I only
CMG have the .qmail-default file. What did I do differently? The reason I'm
CMG asking is, on the server with the .qmail-alias files I have modified the
CMG files to allow for maildrop and I'd like to do the same on the other
CMG server.

Found it. valias doesn't add the .qmail-files but adding a forward does.

-- 
Regards, Charles.



[vchkpw] Missing .qmail-alias files?

2004-06-21 Thread Charles M. Gerungan
On one server I have domain/.qmail-alias files and on another I only
have the .qmail-default file. What did I do differently? The reason I'm
asking is, on the server with the .qmail-alias files I have modified the
files to allow for maildrop and I'd like to do the same on the other
server.

-- 
Regards, Charles.



[vchkpw] spamassassin errors using vpopmail (vuserinfo)

2004-06-21 Thread Charles M. Gerungan
What's going on? This appears in my spamd log while processing a single
message:

2004-06-22 00:06:14.075648500 connection from 35119.ds.nac.net [127.0.0.1] at port 1222
2004-06-22 00:06:14.088594500 Unsuccessful stat on filename containing newline at 
/usr/local/bin/spamd line 1102, GEN191 line 2.
2004-06-22 00:06:14.106306500 Unsuccessful open on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 1005, GEN191 line 2.
2004-06-22 00:06:14.106313500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 1277, GEN191 line 2.
2004-06-22 00:06:14.106319500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 131, GEN191 line 2.
2004-06-22 00:06:14.106325500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 133, GEN191 line 2.
2004-06-22 00:06:14.106344500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 131, GEN191 line 2.
2004-06-22 00:06:14.106350500 security: cannot untaint path: vuserinfo: usage: 
[options] email_address
2004-06-22 00:06:14.106355500 options: -v (print version number)
2004-06-22 00:06:14.106360500  -a (display all fields, this is the default)
2004-06-22 00:06:14.106409500  -n (display name field)
2004-06-22 00:06:14.106415500  -p (display crypted password)
2004-06-22 00:06:14.106420500  -u (display uid field)
2004-06-22 00:06:14.106424500  -g (display gid field)
2004-06-22 00:06:14.106429500  -c (display comment field)
2004-06-22 00:06:14.106433500  -d (display directory)
2004-06-22 00:06:14.106438500  -q (display quota field)
2004-06-22 00:06:14.106456500  -Q (display quota usage)
2004-06-22 00:06:14.106460500  -C (display clear text password)
2004-06-22 00:06:14.106465500  -l (display last authentication time)
2004-06-22 00:06:14.106470500  -D domainname (show all users on this 
domain)/.spamassassin/bayes
2004-06-22 00:06:14.106475500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/BayesStore.pm line 145, 
GEN191 line 2.
2004-06-22 00:06:14.106499500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/BayesStore.pm line 145, 
GEN191 line 2.
2004-06-22 00:06:14.106506500 processing message [EMAIL PROTECTED] for (unknown):89.
2004-06-22 00:06:14.106511500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 1277, GEN191 line 28.
2004-06-22 00:06:14.106523500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 131, GEN191 line 28.
2004-06-22 00:06:14.106528500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 133, GEN191 line 28.
2004-06-22 00:06:14.106534500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 131, GEN191 line 28.
2004-06-22 00:06:14.106560500 security: cannot untaint path: vuserinfo: usage: 
[options] email_address
2004-06-22 00:06:14.106565500 options: -v (print version number)
2004-06-22 00:06:14.106570500  -a (display all fields, this is the default)
2004-06-22 00:06:14.106575500  -n (display name field)
2004-06-22 00:06:14.106579500  -p (display crypted password)
2004-06-22 00:06:14.106584500  -u (display uid field)
2004-06-22 00:06:14.106596500  -g (display gid field)
2004-06-22 00:06:14.106601500  -c (display comment field)
2004-06-22 00:06:14.106605500  -d (display directory)
2004-06-22 00:06:14.106610500  -q (display quota field)
2004-06-22 00:06:14.106614500  -Q (display quota usage)
2004-06-22 00:06:14.106619500  -C (display clear text password)
2004-06-22 00:06:14.106623500  -l (display last authentication time)
2004-06-22 00:06:14.106628500  -D domainname (show all users on this 
domain)/.spamassassin/bayes
2004-06-22 00:06:14.106637500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/BayesStore.pm line 145, 
GEN191 line 28.
2004-06-22 00:06:14.106643500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/BayesStore.pm line 145, 
GEN191 line 28.
2004-06-22 00:06:14.612214500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin.pm line 1277.
2004-06-22 00:06:14.620931500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 131.
2004-06-22 00:06:14.620939500 Unsuccessful stat on filename containing newline at 
/usr/local/lib/perl5/5.6.1/File/Path.pm line 133.
2004-06-22 00:06:14.620944500 Unsuccessful stat 

Re: [vchkpw] spamassassin errors using vpopmail (vuserinfo)

2004-06-21 Thread Charles M. Gerungan
Hello X-Istence,

On Mon, 21 Jun 2004 20:57:40 -0400 X-Istence wrote:

 What's going on? This appears in my spamd log while processing a single
 message:

 2004-06-22 00:06:14.621893500 clean message (0.8/5.0) for (unknown):89
XI in 0.5 seconds, 823 bytes.

XI That is what causes it. since it does not pass vuserinfo a proper
XI username, it can do nothing.

XI Which is why you get the error messages you are getting.

XI What i found is that if i give vpopmail a shell (/bin/sh), all works
XI perfectly and i have no problems what so ever. (This is on FreeBSD 4.10)

Tried this, but it didn't solve it (FreeBSD 4.9). The funny thing is
that it does process the message. It even finds (and processes)
~vpopmail/domain/user/.spamassassin/user_prefs!

-- 
Regards, Charles.



Re: [vchkpw] spamassassin errors using vpopmail (vuserinfo)

2004-06-21 Thread Charles M. Gerungan
Hello X-Istence,

On Mon, 21 Jun 2004 20:57:40 -0400 X-Istence wrote:

XI What i found is that if i give vpopmail a shell (/bin/sh), all works
XI perfectly and i have no problems what so ever. (This is on FreeBSD 4.10)

Which makes me wonder. How do you invoke spamd? (I'll show you mine if
you'll show me yours :)

[EMAIL PROTECTED] /usr/local/etc/svc.d/spamd # cat run
#!/bin/sh
exec /usr/local/bin/spamd -m 20 -a -H -v -u vpopmail -s stderr 21

-- 
Regards, Charles.



Re: [vchkpw] Vpopmail + Mysql, can't add domains

2004-06-16 Thread Charles M. Gerungan
Hello James,

Wednesday, June 16, 2004, 9:57:44 AM you wrote:

JT I'm not entirely sure how to rebuild qmail-smtpd to use the new 
JT libvpopmail for MySQL.  I'm imagining I have to recompile Qmail, but
JT how do I single out qmail-smtpd to be the only thing to build, and how
JT do I get it to recognize vpopmail with mysql support exactly? Thanks
JT for your help!

Bear with me as I'm new to qmail myself but it seems that it's not
getting resolved...

I really don't see why you would have to recompile qmail, and especially
qmail-smtpd. qmail-smtp uses an external password checker like vchkpw.
qmail-send bounces the message if it can't find a match.

Why don't you post an unedited version of your logfile and your run
script. What patches have you applied to qmail? Are you using vchkpw to
check the password? If it was working before, what have you installed
recently?

 You need to rebuild qmail-smtpd so it links to the new libvpopmail
 that's built for MySQL instead of CDB.

What does qmail-smtpd with libvpopmail?

-- 
Regards, Charles.



Re: [vchkpw] Vpopmail + Mysql, can't add domains

2004-06-16 Thread Charles M. Gerungan
Hello Rick,

Wednesday, June 16, 2004, 10:56:30 AM you wrote:

 I really don't see why you would have to recompile qmail, and especially
 qmail-smtpd. qmail-smtp uses an external password checker like vchkpw.
 qmail-send bounces the message if it can't find a match.

RW The vpopmail library is statically linked, so every time you recompile
RW it you have to re-link everything that uses it.  Many configuration 
RW changes in vpopmail require you to recompile vpopmail... and everything
RW that uses it.

But why would he have to recompile qmail? qmail's password checker is
external (it should use vchkpw in his case which is not part of qmail).
And okay, I did a grep on qmail's make file, and there's no vpopmail in
there.

What am I missing?

-- 
Regards, Charles.



Re: [vchkpw] Sort of skel files for maildrop

2004-06-16 Thread Charles M. Gerungan
Hello Rick,

Wednesday, June 16, 2004, 11:12:37 AM you wrote:

I've followed the instructions w.r.t. maildrop and vpopmail according to
Johan Almqvist[1] and it's working as expected. Is it possible to have
vpopmail create the required files -- MAILDIRFILTER, MAILDIR and the
adopted .qmail file -- automatically upon creation of a new virtual use,
like skel files for the shell?

[1] http://www.almqvist.net/johan/qmail/vpopmail+maildrop.html


 Not yet, there might be a patch for it in cvs at sourceforge, if there
 is not, this would certainly be a good feature.

RW It never made it into SourceFORGE patches either,

Else, it could be done by sqwebmail upon creation of a mailfilter. That
option is not there when it hasn't been configured according to Johan.

-- 
Regards, Charles.



Re: [vchkpw] Vpopmail + Mysql, can't add domains

2004-06-16 Thread Charles M. Gerungan
Hello Tom,

Wednesday, June 16, 2004, 4:52:45 PM you wrote:

TC The start of the thread indicated that he was having trouble with the
TC chkusr patch to qmail-smtpd -- it was only working for domains with a
TC vpasswd file, even though he was now using the MySQL backend.

As I only just became a member, I must have missed this. Ignore...

-- 
Regards, Charles.



[vchkpw] Sort of skel files for maildrop

2004-06-15 Thread Charles M. Gerungan
I've followed the instructions w.r.t. maildrop and vpopmail according to
Johan Almqvist[1] and it's working as expected. Is it possible to have
vpopmail create the required files -- MAILDIRFILTER, MAILDIR and the
adopted .qmail file -- automatically upon creation of a new virtual use,
like skel files for the shell?

[1] http://www.almqvist.net/johan/qmail/vpopmail+maildrop.html

-- 
Regards, Charles.