Re: AW: [vchkpw] read my mail with mozilla

2003-11-14 Thread deny
There is also a web-based e-mail client that reads the Maildir 
directly (without having to install an IMAP or POP server), and that 
is sqwebmail:  http://www.inter7.com/sqwebmail.html

sorry ,i have a problem after compiling sqwebmail
when i launched my cgi webmail in my apache directory
i get
The webmail system is temporarily unavailable.  An error occured in function %s: 
%s/p/body/html
CGI environment exceeds allowed maximum size.



[vchkpw] problem: mysql logfile shows a bad request from vpopmail ??

2003-11-14 Thread Marc Lecuyer
Hi list,

I have a problem:
I installed mysql vpopmail courier imappop, and now I have a strange
problem:

sometimes when I try to log in, via pop OR imap, a letter is added to my
username in the mysql request.
IE:
login: [EMAIL PROTECTED]
pass: test

and when I look on the mysql.log I see the following:

SELECT pw_name, pw_passwd, pw_uid, pw_gid, pw_gecos, pw_dir, pw_shell,
pw_clear_passwd from exemple.com where pw_name = marcX

as you see, the procedure is ok, but a letter is added to the username. I
don't know where this letter comes from, but it's there. Changing from
time to time. I think the letter X comes from a previous login, and stayed
on a buffer or something, well that's what I think.

I don't know what is the origin of the problem, and since I don't know how
to find information between the process of the login into imap / and the
moment the login is requested in the mysql db, it's hard to know who is
causing troubles.. I think it comes from vckkpw but i'm not sure... Is
there a way to see what's going on with vchkpw (some kind of debug log ?)

I'm blocked and didn't find valuable info on google/list archives; anyone
has clues about that problem ?

vpopmail used: 5.2.1

Thx

PS: exemple.com stands for maxiscreen.com; as I don't want to receive junk
mails on my new server, I didn't put the correct domain name in the
exemple :)

__
Marc Lecuyer,
[EMAIL PROTECTED]





Re: AW: [vchkpw] read my mail with mozilla

2003-11-14 Thread Jeff Hedlund
deny wrote:
There is also a web-based e-mail client that reads the Maildir 
directly (without having to install an IMAP or POP server), and that 
is sqwebmail:  http://www.inter7.com/sqwebmail.html
sorry ,i have a problem after compiling sqwebmail
when i launched my cgi webmail in my apache directory
i get
The webmail system is temporarily unavailable.  An error occured in 
function %s: %s/p/body/html
CGI environment exceeds allowed maximum size.
This question would be better asked on the sqwebmail mailing list. 
Instructions to subscribe to that list are on the sqwebmail page 
(http://www.inter7.com/sqwebmail.html).

I have never installed sqwebmail, so I have no idea what is going on 
with that.

Jeff




[vchkpw] vdelolduser question

2003-11-14 Thread Tom Walsh
Recently I tried to remove the auth-logging feature from our vpopmail
configuration.

First some background: I had determined that our configuration was still
very master database dependant which is not one of our project goals.
Basically we have local databases on each client in the mail cluster we are
running. It works great because the master replicates the data to the
slaves, so we don't have to worry about moving the data around. Our goal was
to try and provide a reasonably available mail cluster for our clients, in
that if the master was down (which handles mysql and nfs duties) the mail
servers would queue messages and wait for the nfs to come backup. The
problem we encountered was that with the vpopmail options we had used
required constant update or insert queries (which are handled in the
libvpopmail and sent to the master server because of the replication
settings we used in vpopmail). So if the master was down... we had timeout
issues with pop3 authentication.

So I tried to recompile vpopmail without mysql-logging and auth-logging, but
ran into a problem when compiling vpopmail 5.3.20 under FreeBSD 4.8.

vdelolduser.c complained about an undefined function vget_lastauth and
failed to compile (with the option --enable-auth-logging=n).

Now... My question is this:

I modified the vdelolduser.c and moved the #endif that had commented out the
main() section of the vdelolduser.c if ENABLE_AUTH_LOGGING was not defined
to the end of the file... So basically... I made it so that if
ENABLE_AUTH_LOGGING wasn't enabled, none of the functions or the main
section of vdeloldusers would be compiled.

Would that have any negative effects? Other than the obvious that
vdelolduser is a useless binary.

We don't have a need for that anyways... So that is why I am asking here to
see if it has any internal uses that I don't see.

Any help or guidance is appreciated.

Tom Walsh
Network Administrator
http://www.ala.net/




Re: AW: [vchkpw] read my mail with mozilla

2003-11-14 Thread deny
Je

This question would be better asked on the sqwebmail mailing list. 
Instructions to subscribe to that list are on the sqwebmail page 
(http://www.inter7.com/sqwebmail.html).

I have never installed sqwebmail, so I have no idea what is going on 
with that.

right
i have another question cause i think i am forget anything
when i say i can't read my messages in mozilla ,you say mozilla can read 
messages in format maildir
unless i  install a server pop or  imap
but i have a server pop cause i use vpopmail
here is my rc.startmail for info

!/bin/bash
export 
PATH=/usr/local/bin:/var/qmail/bin:/var/vpopmail/bin:/usr/local/bin/ezmlm:$PATH
echo Starting Qmail and Vpopmail daemons ...
export QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue.pl
/var/qmail/rc 
/usr/local/bin/tcpserver -v -H -R -x /etc/tcp.smtp.cdb -c20 -u1033 -g103 
0 smtp /usr/local/bin/recordio /var/qmail/bin/qmail-smtpd 21 /dev/null 
 /usr/local/bin/tcpserver -v -H -R 0 pop3 /usr/local/bin/recordio 
/var/qmail/bin/qmail-popup
\  linux-pour-lesnuls.com /var/vpopmail/bin/vchkpw 
/var/qmail/bin/qmail-pop3d Maildir 

so i think it s possible for me ,excuse me to be  heavy, to read my mail 
in mozilla
without install nor sqwebmail, nor squirrelmail ,
what do you think , am i wrong ?

thanks












Re: [vchkpw] problem: mysql logfile shows a bad request from vpopmail ??

2003-11-14 Thread Michael Bowe
From: Marc Lecuyer [EMAIL PROTECTED]


 Hi list,
 
 I have a problem:
 I installed mysql vpopmail courier imappop, and now I have a strange
 problem:
 
 sometimes when I try to log in, via pop OR imap, a letter is added to my
 username in the mysql request.

 vpopmail used: 5.2.1

Hello

This is a known bug in vpopmail-5.2.1

vpopmail-5.2.2 is available and includes a fix for that bug

www.sourceforge.net/projects/vpopmail

Michael.



Re: [vchkpw] Cannot compile vpopmail-5.2.2

2003-11-14 Thread Michael Bowe
- Original Message - 
From: Ron Dyck [EMAIL PROTECTED]


 Having trouble compiling vpopmail-5.2.2
 
 Here's my configure:
 
 ./configure \
 --enable-roaming-users=y \
 --enable-logging=p \
 --enable-defaultquota=20971520S \
 --enable-ip-alias-domains=n \
 --enable-passwd=n \
 --enable-clear-passwd=y \
 --enable-domain-quotas=n \
 --enable-many-domains=n \
 --enable-auth-logging=y
 
 And here are the errors I get:
 
 /usr/src/qmail/vpopmail-5.2.2/vpopmail.c:2071: undefined reference to
 `vopen_smtp_relay'
 libvpopmail.a(vpopmail.o)(.text+0x30fc): In function `update_rules':
 /usr/src/qmail/vpopmail-5.2.2/vpopmail.c:2228: undefined reference to
 `vupdate_rules'
 collect2: ld returned 1 exit status
 make[2]: *** [vchkpw] Error 1
 make[2]: Leaving directory `/usr/src/qmail/vpopmail-5.2.2'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/src/qmail/vpopmail-5.2.2'
 make: *** [all-recursive-am] Error 2
 
 Any help is appreciated.


I just tested vpopmail-5.2.2 with the same configure settings
as that, and it compiled cleanly for me

First try removing the line
 --enable-many-domains=n \

As this is applicable to and SQL authentication backend, where 
your configure setting indicate you are using the default CDB 
auth system.

If that doesnt help, perhaps zap your vpopmail-5.2.2 source dir 
and extract a fresh copy. I have seen those sorts of errors happen 
before when the ./configure script has been run several times
with assorted configure options being tried. Best off to make
a clean start and see if that clears the error.

Michael.



Re: [vchkpw] vdelolduser question

2003-11-14 Thread Michael Bowe
You are correct, that is a bug in the vdeloldusers.c coding which is exposed
if
you

   ./configure --enable-mysql=y --enable-auth-logging=n
   make

Your proposed workaround of moving the ifdef will be fine

I will fix the problem in CVS

Michael.

- Original Message - 
From: Tom Walsh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, November 15, 2003 2:15 AM
Subject: [vchkpw] vdelolduser question


 Recently I tried to remove the auth-logging feature from our vpopmail
 configuration.

 First some background: I had determined that our configuration was still
 very master database dependant which is not one of our project goals.
 Basically we have local databases on each client in the mail cluster we
are
 running. It works great because the master replicates the data to the
 slaves, so we don't have to worry about moving the data around. Our goal
was
 to try and provide a reasonably available mail cluster for our clients, in
 that if the master was down (which handles mysql and nfs duties) the mail
 servers would queue messages and wait for the nfs to come backup. The
 problem we encountered was that with the vpopmail options we had used
 required constant update or insert queries (which are handled in the
 libvpopmail and sent to the master server because of the replication
 settings we used in vpopmail). So if the master was down... we had timeout
 issues with pop3 authentication.

 So I tried to recompile vpopmail without mysql-logging and auth-logging,
but
 ran into a problem when compiling vpopmail 5.3.20 under FreeBSD 4.8.

 vdelolduser.c complained about an undefined function vget_lastauth and
 failed to compile (with the option --enable-auth-logging=n).

 Now... My question is this:

 I modified the vdelolduser.c and moved the #endif that had commented out
the
 main() section of the vdelolduser.c if ENABLE_AUTH_LOGGING was not defined
 to the end of the file... So basically... I made it so that if
 ENABLE_AUTH_LOGGING wasn't enabled, none of the functions or the main
 section of vdeloldusers would be compiled.

 Would that have any negative effects? Other than the obvious that
 vdelolduser is a useless binary.

 We don't have a need for that anyways... So that is why I am asking here
to
 see if it has any internal uses that I don't see.

 Any help or guidance is appreciated.

 Tom Walsh
 Network Administrator
 http://www.ala.net/







[vchkpw] maildirsize not updating

2003-11-14 Thread Moshe Jacobson
Hi List,

It seems that neither vdelivermail nor qmail-pop3d are updating the
maildirsize file for SOME users and not others, even though it is far
older than 15 minutes.  I have qmail+vpopmail, with qmail patched
using Bill Shupp's qmail-maildir++.patch file.

Here is an example. I'll give it to you step by step:

-
[EMAIL PROTECTED] /home/vpopmail/domains/speedfactory.net/someuser]# ls -lR
.:
total 5
-rw---1 vpopmail vchkpw 13 Nov 14 12:17 lastauth
drwx--5 vpopmail vchkpw152 May 27 10:09 Maildir/

./Maildir:
total 10
drwx--2 vpopmail vchkpw 48 Sep  6 11:52 cur/
-rw-r--r--1 vpopmail vchkpw   4682 Nov 14 12:17 maildirsize
drwx--2 vpopmail vchkpw 48 Nov 14 12:17 new/
drwx--2 vpopmail vchkpw 48 Nov 14 12:15 tmp/

./Maildir/cur:
total 0

./Maildir/new:
total 0

./Maildir/tmp:
total 0
[EMAIL PROTECTED] /home/vpopmail/domains/speedfactory.net/someuser]# vuserinfo [EMAIL 
PROTECTED]:   someuser
passwd: $1$6GQHg$QJ6rNHXxWTSUl64/U0hz80
clear passwd: cbrown
uid:1
gid:0
all services available
dir:   /home/vpopmail/domains/speedfactory.net/someuser
quota: 10485760
usage: 201%
last auth: Fri Nov 14 12:17:26 2003
last auth ip: 66.23.203.202

-

So you can see that this user has no mail in her maildir, yet her
quota is reported as 201% of 10 megs.  Her quota has not recently been
changed.

So now I go to send her a small test message. It should bounce back,
but it goes right through.  Here is the new listing. Notice that
maildirsize has not been updated:

---
(0)(0j)[EMAIL PROTECTED] /home/vpopmail/domains/speedfactory.net/someuser]# ls -lR
.:
total 5
-rw---1 vpopmail vchkpw 13 Nov 14 12:17 lastauth
drwx--5 vpopmail vchkpw152 May 27 10:09 Maildir/

./Maildir:
total 10
drwx--2 vpopmail vchkpw 48 Sep  6 11:52 cur/
-rw-r--r--1 vpopmail vchkpw   4682 Nov 14 12:17 maildirsize
drwx--2 vpopmail vchkpw112 Nov 14 13:25 new/
drwx--2 vpopmail vchkpw 48 Nov 14 13:25 tmp/

./Maildir/cur:
total 0

./Maildir/new:
total 4
-rw---1 vpopmail vchkpw   1533 Nov 14 13:25 
1068834351.24159.duchess.speedfactory.net,S=1457

./Maildir/tmp:
total 0


The vuserinfo output remains the same.

Even logging in through pop3 and deleting a message doesn't seem to
make a difference.  The quota usage still shows 201% after the pop3
session. 

The user's base dir is owned and writable by vpopmail.vchkpw.

Any clues as to what might be going on?

Thanks in advance,
Moshe

-- 
Moshe Jacobson 
http://runslinux.net 
AIM: Jehsom




Re: [vchkpw] problem: mysql logfile shows a bad request from vpopmail ??

2003-11-14 Thread Michael Bowe

- Original Message - 
From: Marc Lecuyer [EMAIL PROTECTED]
To: Michael Bowe [EMAIL PROTECTED]
Sent: Saturday, November 15, 2003 7:46 AM
Subject: Re: [vchkpw] problem: mysql logfile shows a bad request from
vpopmail ??


 Hi,

 
  This is a known bug in vpopmail-5.2.1
 
  vpopmail-5.2.2 is available and includes a fix for that bug
 
  www.sourceforge.net/projects/vpopmail
 

 I upgraded about 4h ago to vpopmail 5.2.2.
 I had the bug again 5 minutes ago with this version..

 Maybe I made a mistake when upgrading and making me think that I use the
 5.2.2 version with the 5.2.1 binaries...

 Is there a command to display the current vpopmail running version ?

Did you recompile your courier-imap after upgrading your vpopmail?

Any time that you upgrade vpopmail, you need to recompile any other programs
that use the vpopmail functions eg qmailadmin, courier-imap

Michael.