Re: [vchkpw] FW: Problems with mySQL Install

2003-06-17 Thread Ajai Khattri
Matt Rudderham wrote:

Sorry, I shouldn't write e-mail on Monday morning.  Vpopmail doesn't
create any tables in the database or connect to it in any way, when
should the tables, etc be created? Thanks!
Try adding a domain and a user...

--
Aj.
Systems Administrator / Developer



[vchkpw] where are the archives?

2003-06-17 Thread Ever Watch



I just joined this list to ask a Q that I know has 
been asked a hundred times before (pop3d does not authenticate properly) but I 
can't for the life of me find the mail-list archives...

Would someone point me in the right 
direction?

--gabe


Re: [vchkpw] where are the archives?

2003-06-17 Thread Jeff Hedlund
Ever Watch wrote:
I just joined this list to ask a Q that I know has been asked a hundred 
times before (pop3d does not authenticate properly) but I can't for the 
life of me find the mail-list archives...
 
Would someone point me in the right direction?
There is an archive here:
http://marc.theaimsgroup.com/?l=vchkpw
Jeff
--
  /\  /\  ......[EMAIL PROTECTED]
 /  \/  \ a t r i x  .  .  .  .  .  .  .   (770) 794-7233
 s o f t w a r e  i n c  ......   http://www.matrixsi.com



[vchkpw] proper catchall format?

2003-06-17 Thread Benjamin Tomhave
Hello,

What's the proper format for setting up a catchall account in the
.qmail-default?  I have seen both of the below formats used.  However, when
I move to using maildrop with a customized mailfilter file, the latter
works, but the former does not (in the case where [EMAIL PROTECTED] is a
forward, anyway -- I have not tried this with [EMAIL PROTECTED] being an
account).  If both are ok, any idea why the first one would not work
anymore?

| /home/vpopmail/bin/vdelivermail '' [EMAIL PROTECTED]
OR
| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/domain.com/catchall

Thank you,

-ben

---
Benjamin Tomhave, CISSP
Senior Systems Engineer
[EMAIL PROTECTED]
Sofast Communications  www.sofast.net




[vchkpw] FW: Problems with mySQL Install

2003-06-17 Thread Matt Rudderham
Hi Everyone,
I hope this is the appropriate list for an install problem I'm having. I
am compiling from sources with the following steps: Edit vmysql.h with
appropriate options, vpopmail empty database and user already created.

./configure --enable-roaming-users=y --enable-mysql=y --enable-valias=y
--enable-tcprules-prog=/usr/vpopmail/etc/tcp.smtp
--enable-default-domain=thecasket.ca

make

make install-strip

Everything seems to go fine with no errors, etc, the trick I is I am
installing on a system runing Mac Darwin (* don't blame me, I didn't buy
it ;) *) Am I missing something basic or can you recommend anything I
should try? Thanks!

Matt




Re: [vchkpw] SMTP relay Problem

2003-06-17 Thread yasuyuki TOYODA
Hi, linuman

Yes you are right, in addition to that you have to
modify the qmail-smtpd/run file.
I have already modified the qmail-smtpd/run file.
I think that my qmail-smtpd/run file is perhaps right.
If my qmail-smtpd/run file is mistake, please let me know mistake point.
My qmail-smtpd/run file is the following.

#!/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
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo No /var/qmail/control/rcpthosts!
echo Refusing to start SMTP listener because it'll create an open 
relay
exit 1
fi
exec /usr/local/bin/softlimit -m 300 \
/usr/local/bin/tcpserver -v -R -l $LOCAL \
-x /home/vpopmail/etc/tcp.smtp.cdb -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp /usr/local/bin/rblsmtpd 
/var/qmail/bin/qmail-smtpd 21



Regards,
Yasuyuki Toyoda
From Japan, Tokyo



Re: [vchkpw] SMTP relay Problem

2003-06-17 Thread yasuyuki TOYODA
Hi, linuman

I find the soluton for my problem Yahoo ,, for
which you can avoide the cron job to run every
second.Only one line of cron job to clear the open
smtp for every one hour or whatever is enough, Let me
know if you have done any exercise on this. Or else
let me know will tell you how to over come from this
problem.
I think that the following configure is proper solution.

./configure --enable-roaming-users=y 
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp 
--enable-relay-clear-minutes=60

Is this your same solution?

Regards,
Yasuyuki Toyoda
From Japan, Tokyo



[vchkpw] pop3d probs... solved

2003-06-17 Thread Ever Watch



I thought I was sendingmail to the list, but 
was actually sending it to Chris, so for the list, here's what I 
did:

OK... here was my problem.I was getting this error in 
/var/log/qmail/pop3d/ logs as follows:tcpserver: fatal: unable to bind: 
address already usedThis meant that I had another service running... 
soooI did a# netstat -lpthat told me 
this:tcp00 
*:pop3*:*LISTEN 
12326/xinetdSo, I went to/etc/xinetd.dand got rid of a 
file called:wp_ipop3(which, by the way is an integral part of 
ensim... and if you are activelyusing ensim... DO NOT remove this... 
probably if you are installing qmail...you are not using ensim)then 
I did this:#xinetd restartand now I 
have:tcp0 0 
*:pop3 
*:*LISTEN 
12328/tcpservernot to mention, I also have this::)
any luck on your situation Jeff?
--gabe


[vchkpw] I must be brain dead...

2003-06-17 Thread Ever Watch



It was you, Chris, that had the problem... have you got yours up 
now?--gabe


[vchkpw] Migrating Domains to new Vpopmail Server

2003-06-17 Thread David Bronson
Hi all,

I have my new vpopmail server complete (yippee!). This one does chkusr
and tarpitting - (the old server was somewhat vulnerable to dictionary
ttacks and had lots of messages in the queue usually. Thanks to all for
great software and enhancements.

My question is this: There is now qmail locals file. As I change MX
records, I would like the old server to forward mail to the new one. How
can I change the vpopmail locals database and not change the rcpthosts?

I guess I could vdeldomain and add back the domain to rcpthosts, is that
the best way?


-- 
David Bronson



Re: [vchkpw] Missing library fileL libvpopmail.so.1

2003-06-17 Thread Peter Palmreuther
Hi Chris,

On Mon, 16 Jun 2003 04:19:13 -0700 (PDT) Chris Pugh wrote:

 Are you sure the '/usr/sbin/vchkpw' resutls from
 your compile operation?
 No, it doesn't.
 Well, than why do you use it? :-)
 
 Don't ask me, ask the system! It chose to to do it,
 not I.

Well ... but you know this ain't Windows? You're not enforced to
accept silently anything your system does :-)
Your system does what it's told to do, not what it wants.
Tell it to use the other vchkpw :-)

 maybe I should just get nasty and delete them?

Do it. As it doesn't belong to any packet any longer you'll not confuse
the package management.  As it doesn't belong to your manually compiled
stuff you'll not break functionality coming from the manually compiled
vpopmail.
So delete it (or move it to /tmp and delete it from there after some
time has passed w/o errors).

 Well ... give it a try. Replace '/usr/sbin/vchkpw' with
 '/home/vpopmail/bin/vchkpw' in your POP3 startup script and report
 back if this solved your problem

 First thing I thought of actually, and as it happens
 already the case. So where the reference is, I don't
 really know.( I dropped tcpserver temporarily,
 and pasted the code into inetd.conf )
 
 # below an entry for vpopmail
 pop3 stream tcp nowait root \
 /var/qmail/bin/qmail-popup \
 qmail-popup mail.extras.co.uk \
 /home/vpopmail/bin/vchkpw \
 /var/qmail/bin/qmail-pop3d \
 Maildir
 
 Is it maybe catching the first entry in the $PATH??

Usually it would, but in above exmaple you didn't give system the chance
to search the path for vchkpw. You specified a very dedicated location
of vchkpw binary you intend to be used. Did you '-HUP' inetd after
changing the line for pop3?
-- 
Ciao,
 Pit



Re: [vchkpw] FW: Problems with mySQL Install

2003-06-17 Thread Ajai Khattri
Matt Rudderham wrote:

I hope this is the appropriate list for an install problem I'm having. I
am compiling from sources with the following steps: Edit vmysql.h with
appropriate options, vpopmail empty database and user already created.
./configure --enable-roaming-users=y --enable-mysql=y --enable-valias=y
--enable-tcprules-prog=/usr/vpopmail/etc/tcp.smtp
--enable-default-domain=thecasket.ca
make

make install-strip

Everything seems to go fine with no errors, etc, the trick I is I am
installing on a system runing Mac Darwin (* don't blame me, I didn't buy
it ;) *) Am I missing something basic or can you recommend anything I
should try? Thanks!
I don't get it - so what exactly is the problem?

--
Aj.
Systems Administrator / Developer



Re: [vchkpw] FW: Problems with mySQL Install

2003-06-17 Thread Peter Palmreuther
Hi Matt,

On Mon, 16 Jun 2003 09:00:11 -0300 Matt Rudderham wrote:

 Everything seems to go fine with no errors, 

So what's your problem than?

I haven't seen any single error message or problem description in your
mail, so could you be a _little more_ (or better: _start becoming_)
specific on what your problem is?
-- 
Ciao,
 Pit



Re: [vchkpw] chkusr patch

2003-06-17 Thread Jason 'XenoPhage' Frisvold
Try www.shupp.org ... He has the patch there with some instructions..

On Sun, 2003-06-15 at 22:19, David Bronson wrote:
 Hi all,
 
 I have just discovered qmail-smtpd-chkusr after several years of using
 vpopmail. I have applied the patch but don't quite understand the
 Makefile changes that are needed. Can someone share in more detail the
 changes that are needed to compile?
 
 Thank you in advance,
-- 
---
Jason 'XenoPhage' Frisvold
Engine / Technology Programmer
[EMAIL PROTECTED]
RedHat Certified - RHCE # 807302349405893
MySQL Core Certified - ID# 205982910
---
Something mysterious is formed, born in the silent void. Waiting alone
and unmoving, it is at once still and yet in constant motion. It is the
source of all programs. I do not know its name, so I will call it the
Tao of Programming.


signature.asc
Description: This is a digitally signed message part


RE: [vchkpw] FW: Problems with mySQL Install

2003-06-17 Thread Matt Rudderham
Sorry, I shouldn't write e-mail on Monday morning.  Vpopmail doesn't
create any tables in the database or connect to it in any way, when
should the tables, etc be created? Thanks!

Matt

 -Original Message-
 From: Peter Palmreuther [mailto:[EMAIL PROTECTED] 
 Sent: Monday, June 16, 2003 9:43 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [vchkpw] FW: Problems with mySQL Install
 
 
 Hi Matt,
 
 On Mon, 16 Jun 2003 09:00:11 -0300 Matt Rudderham wrote:
 
  Everything seems to go fine with no errors,
 
 So what's your problem than?
 
 I haven't seen any single error message or problem 
 description in your mail, so could you be a _little more_ (or 
 better: _start becoming_) specific on what your problem is?
 -- 
 Ciao,
  Pit
 
 




Re: [vchkpw] Missing library fileL libvpopmail.so.1

2003-06-17 Thread Chris Pugh
Pit,

 Well ... but you know this ain't Windows? You're not
 enforced to accept silently anything your system
does 

Winders I can tweak! ;-) This is giving me grief ..

 Your system does what it's told to do, not what it
 wants.

Don't tell me you really truly believe that .. ;-)

Tell it to use the other vchkpw :-)

I thought I had.
 
  maybe I should just get nasty and delete them?
 Do it. As it doesn't belong to any packet any 
 longer

Quite.  Done it.


 /home/vpopmail/bin/vchkpw \
 Is it maybe catching the first entry in the
 $PATH??
 
 Usually it would, but in above exmaple you didn't
 give system the chance to search the path for
vchkpw.
 You specified a very dedicated location

OK. Reference removed, even though its correct ..
now it doesn't authenicate at all. Damn! 

 of vchkpw binary you intend to be used. Did you
 '-HUP' inetd after changing the line for pop3?

Yep, sure did. Must be something somewhere else?

Cheers,


Chris.

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



RE: [vchkpw] Migrating Domains to new Vpopmail Server

2003-06-17 Thread Clayton Weise
/var/qmail/control/smtproutes

Format is similar to the /var/qmail/control/virtualhosts file.

foo.bar:new.server.dom

Where foo.bar is the domain name and new.server.dom is the mail server to
route mail for that domain to.  new.server.dom can be a domain name, or an
IP address.  Note that foo.bar and new.server.dom are separated by a colon.

-Original Message-
From: David Bronson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 17, 2003 7:00 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] Migrating Domains to new Vpopmail Server


Hi all,

I have my new vpopmail server complete (yippee!). This one does chkusr
and tarpitting - (the old server was somewhat vulnerable to dictionary
ttacks and had lots of messages in the queue usually. Thanks to all for
great software and enhancements.

My question is this: There is now qmail locals file. As I change MX
records, I would like the old server to forward mail to the new one. How
can I change the vpopmail locals database and not change the rcpthosts?

I guess I could vdeldomain and add back the domain to rcpthosts, is that
the best way?


-- 
David Bronson





[vchkpw] VPOPMAIL 5.3 release

2003-06-17 Thread Mike Miller
Hi Folks,
 So I've been watching this list for some time as well as the development 
page, just itching to try out some of the new features available and 
reworking of many things.  I am building another few racks of servers for 
use in production, and am seeing the vpopmail 5.3 is still in development 
phase.

 The last changelog entry is March, and it's seemingly fairly still in the 
past few months.  Any indication on a potential release?  Any thoughts on 
whether it's stable enough to be used in production at this point?

Thanks in advance
-M
_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




RE: [vchkpw] VPOPMAIL 5.3 release

2003-06-17 Thread Benjamin Tomhave
I was going to say check the archives but they seem to be broken...???

A 5.4 stable release was just discussed at the beginning of this month.  I
don't know where you get March from, either, as 5.3.20 devel was released
4/10/2003 according to the Inter7 devel web site.  I've been running 5.3.20
for several weeks on a cluster with good success, so it is likely quite
deployable and probably not too far off from the 5.4 stable release.

 -Original Message-
 From: Mike Miller [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 16, 2003 3:07 PM
 To: [EMAIL PROTECTED]
 Subject: [vchkpw] VPOPMAIL 5.3 release


 Hi Folks,
   So I've been watching this list for some time as well as the
 development
 page, just itching to try out some of the new features available and
 reworking of many things.  I am building another few racks of servers for
 use in production, and am seeing the vpopmail 5.3 is still in development
 phase.

   The last changelog entry is March, and it's seemingly fairly
 still in the
 past few months.  Any indication on a potential release?  Any thoughts on
 whether it's stable enough to be used in production at this point?

 Thanks in advance
 -M

 _
 Protect your PC - get McAfee.com VirusScan Online
 http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963






Re: [vchkpw] Missing library fileL libvpopmail.so.1

2003-06-17 Thread Peter Palmreuther
Hi Chris,

On Mon, 16 Jun 2003 23:48:18 -0700 (PDT) Chris Pugh wrote:

 4.) Have a look in the file your syslog store
 messages of type 'mail.*'

 Been looking at those.  Deliberately put incorrect
 info in the telnet login, and I get the expected
 messages in the mail log, 

OK, so logging in general works.

 Get it right, and nothing seems to be updated in the
 logs at all, just get the '-ERR authorization failed'
 on the command line. This should be a clue I suppose.

A clue that vpopmail or qmail-popup fails after authenticating
successful.

5.) If nothing thelps I'd
printf UserName\0Password\0QWERTZUIOP\0 | \
strace -s 4096 -f -o /tmp/vchkpw.log \
/home/vpopmail/bin/vchkpw /bin/true 30; \
echo Return: $?

 Return: 0, is the answer I get.

So both, authentication and execution of '/bin/true', returned
successful.

/tmp/vchkpw.log' where the check

 Contains stuff I don't understand! Example below:

I'll need everyting to _probably_ be able figuring out what might be
wrong.
Keep in mind this file logs your username+password additionally to
what's read from 'vpasswd.cdb', so before providing a complete file
create a dummy domain and a dummy account and test with these data.
Alternatively you can think about trusting me and sending this
strace-log privately :-) Just don't spread your real data on this list,
it's archived :-)
-- 
Ciao,
 Pit



[vchkpw] Migrating to new server

2003-06-17 Thread Kevin L Aleshire
I am currently running qmail+vpopmail and have a newly built server
running qmail+vpopmail+ezmlm-idx.

I created a script that simply does the vadddomain , vadduser (with
password) in order for each domain name.

I look at the account with vuserinfo to check if everything work
correctly.  All accounts were added successfully and passwords were
applied with each account.  All qmail control files were populated
correctly.  Everything looks great.

Change the ifconfig for both machines to swap IP address and reboot
both.  Both machines boot up correctly with the correct ip addresses and
all qmail and vpopmail services and running fine.

Except when I try to check my email, the authentication fails stating
that my password was rejected.  Again, checking the account with
vuserinfo reveals that the password is correct.

Any ideas?




Re: [vchkpw] Missing library fileL libvpopmail.so.1

2003-06-17 Thread Peter Palmreuther
Hi Chris,

On Mon, 16 Jun 2003 05:51:30 -0700 (PDT) Chris Pugh wrote:

 Your system does what it's told to do, not what it
 wants.
 
 Don't tell me you really truly believe that .. ;-)

Sure I do.
Read again: what it's told to do, not what you told it to do.
That's a significant difference :-)
This difference inherits it doens't _necessarily_ do what _you_ want.

 OK. Reference removed, even though its correct ..
 now it doesn't authenicate at all. Damn! 

to quote Dave Sill What do the logs say[TM]? :-)
-- 
Ciao,
 Pit



Re: [vchkpw] Migrating Domains to new Vpopmail Server

2003-06-17 Thread Tom Collins
On Tuesday, June 17, 2003, at 08:00  AM, David Bronson wrote:
My question is this: There is now qmail locals file. As I change MX
records, I would like the old server to forward mail to the new one. 
How
can I change the vpopmail locals database and not change the rcpthosts?

I guess I could vdeldomain and add back the domain to rcpthosts, is 
that
the best way?
I did this recently on a server using CDB, and here are the general 
steps that I did, in order.

stop qmail on old
add domain.com to new (use any password, next step will fix it)
copy ~vpopmail/domains/domain.com from old to new (I used rsync, ssh 
would work as well)
change MX record on DNS server to point to new
remove domain.com from old
add domain.com back to rcpthosts on old
make sure old has new MX record for domain.com
start qmail on old

Keep in mind that this worked for me because server old was also the 
DNS server for all of the domains, so I was sure it would have the 
correct MX record for each domain as I moved it.

If you don't have that luxury, I think you can use smtproutes on the 
old server to force it to relay the mail to the new server.

I was able to automate a lot of the process using scripts and ssh 
between the two hosts (I set them up as trusted hosts so I wouldn't 
have to constantly enter my password).

Don't forget to move the alias domains as well!  They don't appear in 
~vpopmail/domains -- you'll have to look in /var/qmail/users/assign to 
find them.

--
Tom Collins
[EMAIL PROTECTED]



Re: [vchkpw] Help with

2003-06-17 Thread Michael Bowe




Hi Rafael

If you are copying files directly into peoples 
maildirs, then for sure the quota counts will be out of whack. (The quotas 
counts are generally updated during message delivery by the vdelivermail 
program)

You can leave the quotas files alone alone and over 
time they should sync back to the correct counts. This might confuse your users 
though in the short term (as you have already seen)...

Alternatively you can delete all the user's quota 
files and then next time each user receives some mail, their quota file will be 
recreated with the correct value.(This might not be a bad option for you, 
because if you go into squirrelmail for a user who has no quota file setup, then 
the quota plugin doesnt even display itself.As soon as the quota file is 
recreated then the quota display will magically appear again). Heres the command we have used in the past to zap all the 
quota files :
 find /home/vpopmail/domains -name 'maildirsize' | xargs -i 
--verbose rm '{}' 21

When we migrated a couple of years back from our 
old Windows-based mail server to our vpopmail server, we pulled all existing 
mail across by using a script that ran the "fetchmail" program for each user. 
This program retrieved the existing mail via POP3 and inserted into the Linux 
mailbox for deliveryvia SMTP. This worked pretty well for us, and also 
prevented any problems with miscounted quotas etc.

Hope that helps

Michael.

  - Original Message - 
  From: 
  Rafael 
  Fajardo 
  To: [EMAIL PROTECTED] 
  Sent: Monday, June 16, 2003 11:54 
AM
  Subject: [vchkpw] Help with 
  
  Hi All,
  
  I've currently setup a webmail server using 
  redhat+qmail+apache+courier-imap+php+vpopmail+squirrelmail through the help of 
  Michael Bowe's Webmail Howto (thanks mike!). Everything is working fine as 
  well as the squirrelmail plugins that I have installed. The only problem I 
  have right now is this ,, I'm supposed to migrate all our old mail server's 
  emails (w/ attachments) coming from our old mail server which uses visualmail 
  (emails are stored in mySQL DB) and I have created a perl script to do is. The 
  script actually recreates all emails based on a given template using all 
  necessary mail headers stored on the mySQL DB and moves the recreated emails 
  to each users mailbox under vpopmail's home directory. The problem is that 
  after moving the emails to each users mailbox, I noticed that the quota_plugin 
  (quota usage bar) no longer reflects the correct quota usage. So in the event 
  that a user deletes his/her emails, the quota usage bar shows a negative 
  value. Is there anything I need to do in order for the quota plugin to detect 
  the emails? Can I reset the quota plugin so that It will be back to zero usage 
  if I deleted all the emails? 
  
  Thanks in advance,
  
  
  Rafael


Re: [vchkpw] Missing library fileL libvpopmail.so.1

2003-06-17 Thread Peter Palmreuther
Hi Chris,

On Sun, 15 Jun 2003 22:03:25 -0700 (PDT) Chris Pugh wrote:

  /usr/sbin/vchkpw: error while loading shared
  libraries: libvpopmail.so.1:
[...]
 The shared library file does not exist on the system.The shared
 library file does not exist on the system.

And I don't have it here too.
Are you sure the '/usr/sbin/vchkpw' resutls from your compile operation?
Check with 'dpkg -S /usr/sbin/vchkpw' if this ain't a relict from a
debian package with an older version of vpopmail (package named 'vchkpw'
IIRC).

The vchkpw binary you just compiled should be located here:

~vpopmail/bin/vchkpw

and should not be dynamically linked against 'libvpopmail.so'.
Over here 'ldd' gives:

,-[ ldd ~vpopmail/bin/vchkpw ]
| libnsl.so.1 = /lib/libnsl.so.1 (0x4002)
| libcrypt.so.1 = /lib/libcrypt.so.1 (0x40034000)
| libc.so.6 = /lib/libc.so.6 (0x40061000)
| /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
`-
-- 
Ciao,
 Pit



Re: [vchkpw] chkusr patch

2003-06-17 Thread tonix (Antonio Nati)


Hi David,
this is my Makefile:

qmail-smtpd: \
load qmail-smtpd.o rcpthosts.o commands.o timeoutread.o \
timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o received.o
\
date822fmt.o now.o qmail.o cdb.a fd.a wait.a datetime.a getln.a \
open.a sig.a case.a env.a stralloc.a alloc.a substdio.a error.a str.a
\
fs.a auto_qmail.o socket.lib
 ./load qmail-smtpd rcpthosts.o
commands.o timeoutread.o \
 timeoutwrite.o ip.o ipme.o
ipalloc.o control.o constmap.o \
 received.o date822fmt.o now.o
qmail.o cdb.a fd.a wait.a \
 datetime.a getln.a open.a
sig.a case.a env.a stralloc.a \
 alloc.a substdio.a error.a
str.a fs.a auto_qmail.o \
 -lcrypt
/vpopmail/lib/libvpopmail.a \
 -L/mysql_root/lib/mysql
-lmysqlclient \
 `cat socket.lib`

In red you see the lines I've added for my case.
So, you MUST add crypt and vpopmail (check your vpopmail lib path) and
MySQL if you use MySQL, LDAP if you use LDAP, etc.
Ciao,
Tonino
At 15/06/03 15/06/03 -0400, David Bronson wrote:
Hi all,
I have just discovered qmail-smtpd-chkusr after several years of
using
vpopmail. I have applied the patch but don't quite understand the
Makefile changes that are needed. Can someone share in more detail
the
changes that are needed to compile?
Thank you in advance,
-- 
David Bronson




[EMAIL PROTECTED]
Interazioni di Antonio Nati 

http://www.interazioni.it
[EMAIL PROTECTED]






Re: [vchkpw] Missing library fileL libvpopmail.so.1

2003-06-17 Thread Chris Pugh
Hi Pit,

Cheers for the response!

 And I don't have it here too.

Sounds promising .. I take it you have vpopmail
running aok? ;-)

 Are you sure the '/usr/sbin/vchkpw' resutls from
 your compile operation?

No, it doesn't. The binaries seem to be duplicated
there though - left behind somehow? The actual compile
directory is as you say  /home/vpopmail/bin

 Check with 'dpkg -S /usr/sbin/vchkpw' if this ain't
 a relict from adebian package ..

dpkg -S /usr/sbin/vchkpw, gives 
dpkg: /usr/sbin/vchkpw not found.

but it probably is a relic. Tried the Deb version
first ( which threw a spanner in the works ) before
going for the source install.

 and should not be dynamically linked against
 'libvpopmail.so'. Over here 'ldd' gives:

As far as I am aware it isn't.  Here is my version: 

[ ldd ~vpopmail/bin/vchkpw ]
libmysqlclient.so.12 = /usr/lib/libmysqlclient.so.12
(0x40015000)
libz.so.1 = /usr/lib/libz.so.1 (0x40053000)
libnsl.so.1 = /lib/libnsl.so.1 (0x40062000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x40075000)
libm.so.6 = /lib/libm.so.6 (0x400a2000)
libc.so.6 = /lib/libc.so.6 (0x400c3000)
libssl.so.0.9.7 = /usr/lib/i586/libssl.so.0.9.7
(0x401d3000)
libcrypto.so.0.9.7 = /usr/lib/i586/libcrypto.so.0.9.7
(0x40202000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
libdl.so.2 = /lib/libdl.so.2 (0x402f1000)

Cheers,


Chris.

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



[vchkpw] Quota warn messgae

2003-06-17 Thread zafar rizvi
hi ppl
 i m using qmail on redat with vpopmail latest version.
I set that .quota warn message file for quota warning message, but do't know
why it sending mail when quota limit is near 20 or 15% used.
ANd some time i have one or two mails and got quota warn message, why and
the date it show in the header date field is very far behind the currrent
date.why

plz tell me on which basis u judge quota warn message to be delivered as i
have 6mb(in bytes 6291456). As i am dividing by 1024 for getting
calculation.
Can Any body tell me what calculation method using vpopmail and what
configuration required for .quotawarng message work properly on time with
date.

thank
zafar




Re: [vchkpw] Missing library fileL libvpopmail.so.1

2003-06-17 Thread Chris Pugh
Hi Pit,

 Don't tell me you really truly believe that .. ;-)
 Sure I do.

Then I'd be very careful if I were you .. 
  
 Read again: what it's told to do, not what you
 told it to do.
 That's a significant difference :-)

That's a different, and not so subliminal.

  OK. Reference removed, even though its correct ..
  now it doesn't authenicate at all. Damn! 

 to quote Dave Sill What do the logs say[TM]? :-)

Which one would you like, most of the mail ones are
pretty normal, nothing untoward at all.



Chris. 

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



RE: [vchkpw] CDB -- MySQL Migration Questions

2003-06-17 Thread David Choo
Dear All,

Thanks to the prompting of Wouter Prins, I figured out how to do the
conversion. This is just a simple HOWTO on how to upgrade from CDB to
MySQL.

Firstly, upgrade to Vpopmail 5.2.1. Compile with the learn-password
option and let it run for a week / two. By then, your system should have
authenticated all your users, and you can run vconvert -c -m. Bingo,
everything works fine.

Regards,
David Choo


-Original Message-
From: Wouter Prins [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 15, 2003 11:53 PM
To: 'David Choo'; [EMAIL PROTECTED]
Subject: RE: [vchkpw] CDB -- MySQL Migration Questions

Compile vpopmail to LEARN the pop3 passwords, the first time your
clients authenticate the mysql database will have the passwords..

-Original Message-
From: David Choo [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 15, 2003 4:21 PM
To: [EMAIL PROTECTED]
Subject: [vchkpw] CDB -- MySQL Migration Questions


Dear All,

I'm currently running Qmail 1.03 + Vpopmail 4.9.10 + Courier IMAP 1.3.81
+ qmailadmin 0.45 + Sqwebmail 2.0 Combo with CDB authentication.

The following are my Vpopmail's config.h

PS_COMMAND ps ax
ENABLE_PASSWD 1
HAS_SHADOW 1
TCP_FILE /etc/tcp.smtp
ADMIN [EMAIL PROTECTED]
USE_CDB 1
SQWEBMAIL_PASS 1
SITE_SIZE 0
LOG_NAME vpopmail
HARD_QUOTA 2000
VPOPUSER vpopmail
VPOPGROUP vchkpw
APOP 1
APOP_FILE /etc/apop-secrets
QMAILDIR /var/qmail
VPOPMAILDIR /var/vpopmail
VPOPMAILUID 512
VPOPMAILGID 507
POP_AUTH_OPEN_RELAY 1
OPEN_SMTP_CUR_FILE /var/vpopmail/etc/open-smtp OPEN_SMTP_TMP_FILE
/var/vpopmail/etc/open-smtp.tmp OPEN_SMTP_LOK_FILE
/var/vpopmail/etc/open-smtp.lock
TCPRULES_PROG /usr/local/bin/tcprules
DEFAULT_DOMAIN mydomain.com

Recently, I installed Horde + IMP + Sork. Sork allows users to change
their Vpopmail passwords inside IMP. However, one of the requisites is
that Vpopmail must be compiled to use MySQL instead of CDB files. Since
I'm using CDB files, I must convert. 

I setup a test machine with vpopmail-5.2.1 using CDB authentication in
office and tried to upgrade. I did the following steps in an attempt to
convert.

[EMAIL PROTECTED] vpopmail-5.2.1]$ make clean
[EMAIL PROTECTED] vpopmail-5.2.1]$ ./configure (with orig options) +
--with-mysql=y [EMAIL PROTECTED] vpopmail-5.2.1]$ make [EMAIL PROTECTED]
vpopmail-5.2.1]$ make install-strip [EMAIL PROTECTED] vpopmail-5.2.1]$
vconvert -c -m

It tells me done for everything. However, when I tried to login using
POP3 access, my password was wrong. Only when I changed the user
account's password then did the login work. Somehow, I feel that the
vconvert program does not convert encrypted passwords correctly, or
totally do not convert at all. 

As such, I would like to ask if there is anyway to convert encrypted
passwords from CDB - MySQL?

Otherwise, can anyone suggest any good way for me to integrate any
password changing mechanism into Horde + IMP?

Regards,
David Choo








RE: [vchkpw] CDB -- MySQL Migration Questions

2003-06-17 Thread Lou Hevly
At 16:25 16/06/03, David Choo wrote:
Dear All,

Thanks to the prompting of Wouter Prins, I figured out how to do the
conversion. This is just a simple HOWTO on how to upgrade from CDB to
MySQL.

Firstly, upgrade to Vpopmail 5.2.1. Compile with the learn-password
option and let it run for a week / two. By then, your system should have
authenticated all your users, and you can run vconvert -c -m. Bingo,
everything works fine.

I had thought of this too, but doesn't the learn-password option mean 
that everybody's POP acounts are completely unprotected until each user 
has logged in?  

-- 
Lou Hevly
Manresa, Catalonia
http://visca.com




Re: [vchkpw] VPOPMAIL 5.3 release

2003-06-17 Thread Jeff Hedlund
Benjamin Tomhave wrote:
I was going to say check the archives but they seem to be broken...???
FYI - a reliable archive:

http://marc.theaimsgroup.com/?l=vchkpw

Jeff
--
  /\  /\  ......[EMAIL PROTECTED]
 /  \/  \ a t r i x  .  .  .  .  .  .  .   (770) 794-7233
 s o f t w a r e  i n c  ......   http://www.matrixsi.com



Re: [vchkpw] VPOPMAIL 5.3 release

2003-06-17 Thread Tom Collins
On Monday, June 16, 2003, at 02:13  PM, Benjamin Tomhave wrote:
A 5.4 stable release was just discussed at the beginning of this 
month.  I
don't know where you get March from, either, as 5.3.20 devel was 
released
4/10/2003 according to the Inter7 devel web site.  I've been running 
5.3.20
for several weeks on a cluster with good success, so it is likely quite
deployable and probably not too far off from the 5.4 stable release.
Ken Jones collected vpopmail patches about two weeks ago, but hasn't 
released 5.3.21 yet.  I'd wait to check the ChangeLog of 5.3.21 to see 
whether any of the patches fix known bugs, or are just for new features.

We are pushing for a stable release of both vpopmail and qmailadmin 
soon.

--
Tom Collins
[EMAIL PROTECTED]



Re: [vchkpw] Missing library fileL libvpopmail.so.1

2003-06-17 Thread Chris Pugh
Hi Pit,

 First: _PLEASE_ don't CC me. I'm reading the list,
 as _everybody_  posting here does. 

Apologies. Smack on hand accepted.  Hit 'reply all'
instead of just 'reply'.  Didn't realise I'd done it,
don't normally do it, will watch I don't do that
again. How's that? ;-)

  Are you sure the '/usr/sbin/vchkpw' resutls from
  your compile operation?
  No, it doesn't.
 Well, than why do you use it? :-)

Don't ask me, ask the system! It chose to to do it,
not I.  Besides, you know what tends to happen if you
force things sometimes .. maybe I should just get
nasty and delete them?
 
 Well ... give it a try. Replace '/usr/sbin/vchkpw'
 with '/home/vpopmail/bin/vchkpw' in your POP3
startup
 script and report back if this solved your problem
:-

First thing I thought of actually, and as it happens
already the case. So where the reference is, I don't
really know.( I dropped tcpserver temporarily,
and pasted the code into inetd.conf )

# below an entry for vpopmail
pop3 stream tcp nowait root \
/var/qmail/bin/qmail-popup \
qmail-popup mail.extras.co.uk \
/home/vpopmail/bin/vchkpw \
/var/qmail/bin/qmail-pop3d \
Maildir

Is it maybe catching the first entry in the $PATH??

 BTW: anybody able to tell my why this particular
 version of vchkpw is linked against 'libm',
'libssl', 'libcrypto' and  'libdl'?

Good question. FYI, I used -

./configure --enable-mysql=y --enable-clear-passwd=y
--enable-valias=y --enable-mysql-replication=y
--enable-incdir --enable-libdir --enable-domainquotas

which gives:

Config result with no debian packages in ..
--
   vpopmail 5.2.1   
Current settings
---
 
vpopmail directory = /home/vpopmail
uid = 89
gid = 89
ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n
(default)
roaming users = OFF --enable-roaming-users=n default
user quota = OFF --enable-defaultquota=NOQUOTA default
auth module = mysql --enable-mysql=y
mysql replication = ON  --enable-mysql-replication=y
table optimization = many domains
--enable-many-domains=y default
system passwords = OFF --enable-passwd=n default
file locking = ON  --enable-file-locking=y default
file sync = OFF --enable-file-sync=n default disable
vdelivermail fsync
auth logging = ON  --enable-auth-logging=y default
mysql logging = OFF --enable-mysql-logging=n default
clear passwd = ON  --enable-clear-passwd=y (default)
valias processing = ON  --enable-valias=y
pop syslog = show only failure attempts
--enable-logging=e default
default domain =  --enable-default-domain=
auth inc = -I/usr/include/mysql
auth lib = -Lyes  -lmysqlclient -lz

Cheers,



Chris.


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com