Re: [vchkpw] dovecot and vpopmail

2009-11-21 Thread Christian Lerrahn
Hi Pavel,
 Friday, November 20, 2009, 11:40:28 AM, you wrote:
 
 CL Hi,
 CL I'm trying to set up dovecot with vpopmail on a Debian Lenny
 CL system. I have modified the package from dotdeb.org to use MySQL.
 CL Now, that gives me binaries that work fine (i.e. vchkpw, vadd...,
 CL etc. work fine) but dovecot just doesn't want to do the
 CL authentication right.
 skip
 CL I tried a web search but I only found posts describing the same
 CL problem never a solution.
 
 CL Cheers,
 CL Christian
 
 Sorry if this solution is unacceptable, but why bother with packages?
 Both vpopmail and dovecot compile nicely from sources and you can tune
 them to your liking.

Yeah, I've thought about that. However, I like keeping the development
packages off my production machines and for that packages are usually
the most convenient. Funny enough, I've tried my packages on another
Debian machine now which had the dev packages installed and everything
seems to work there. So, I suppose it's some kind of weird dependency
problem.

Cheers,
Christian

!DSPAM:4b08ebec32711000553508!



[vchkpw] Using vusaged

2009-10-01 Thread Christian Lerrahn
Hi,
I need good quota support, so I decided to upgrade my vpopmail to
version 5.4.28. However, I found that version to be rather inconsistent
and really hard to package for Gentoo's portage.

Here are my problem. Maybe someone can tell me how to work around these
issues.

1. The package produces segfaults on most tools (at least vuserinfo and
vchkpw) if vusaged is not installed. However, vusaged does not get
compiled and installed by the main makefile. That doesn't seem to make
sense.

2. If I try to install vusaged before having installed the new
version of vpopmail, it will not build because needs to find
libvpopmail first. I can pass a path with --with-vpopmail= but this
cannot be the path of the source directory where the libraries would be
after compiling but before being installed.

3. Once I have installed the vpopmail package I can run the configure
for vusaged but not compile it. It uses several include files that come
with vpopmail but don't seem to get installed into a standard path. I
assume that they get installed into /var/vpopmail/include/ but have
currently no system to test that (I reverted my production system to
5.4.26).

Are there solutions to the problems described? How can I compile and
install everything in one go? Did I overlook something?

Cheers,
Christian

!DSPAM:4ac47e7432711210518418!



Re: [vchkpw] incoming mail trigger scipts

2008-05-01 Thread Christian Lerrahn
Hi John,
 I wonder if there is mechanism for vitual mail box(implemented by
 vpopmail) which act as .qmail file that can trigger scripts by mail
 delivery? Do I need to create actual linux account for each virtual
 user for this propose?

I could be wrong but I don't think vpopmail will let you do what you
want. However, virtual users are still enough. What I do is to put
maildrop in front of vpopmail, i.e. .qmail-default delivers to
maildrop. Maildrop will have a domain wide .mailfilter which checks if
the user has a .mailfilter. If there is one, it will be used otherwise,
I just invoke vdelivermail through maildrop.

Cheers,
Christian

!DSPAM:481a9792120503931043840!



Re: [vchkpw] Bogus quota warnings

2008-03-02 Thread Christian Lerrahn
Hi Rick,
  I'm using vpopmail 5.4.16. However, I already upgraded to this
  version
  Sorry, this has to be 5.4.25.
 
  Cheers,
  Christian
 
 
 
  I believe there is a quota bug in 5.4.25, I'd back down to 5.4.24
  
  I've downgraded to 5.4.24 a while ago but I'm being told that people
  still get these bogus warnings. Unfortunately I can't downgrade too
  far because I need the onchange patch but I might still try a
  couple of lower versions.
  
 
 Are you using maildrop or some other final delivery method that
 doesn't support maildir++ quotas ?

Yes, maildrop is used on the server. However, maildrop is only used to
send copies to some other email address and the like. The delivery rule
invokes vpopmail.

 What has access to the users Maildir ?
 
 pop
 imap
 delivery
 sqwebmail (direct access)
 etc ?

There are only a POP3 and an IMAP4 server that have access to the
maildirs. Nothing else.

I'm now trying 5.4.26 as kind of the last option. However, I don't know,
yet, if the problem still persists or not.

Cheers,
Christian

!DSPAM:47cb4dd3120503180293929!



Re: [vchkpw] Bogus quota warnings

2008-02-29 Thread Christian Lerrahn
Hi Rick,
  I'm using vpopmail 5.4.16. However, I already upgraded to this
  version
  
  Sorry, this has to be 5.4.25.
  
  Cheers,
  Christian
  
  
  
 
 I believe there is a quota bug in 5.4.25, I'd back down to 5.4.24

I've downgraded to 5.4.24 a while ago but I'm being told that people
still get these bogus warnings. Unfortunately I can't downgrade too far
because I need the onchange patch but I might still try a couple of
lower versions.

Cheers,
Christian

!DSPAM:47c80bd5120501832512868!



Re: [vchkpw] Bogus quota warnings

2008-02-29 Thread Christian Lerrahn
Hi,
   I'm using vpopmail 5.4.16. However, I already upgraded to this
   version
   
   Sorry, this has to be 5.4.25.
   
   Cheers,
   Christian
   
   
   
  
  I believe there is a quota bug in 5.4.25, I'd back down to 5.4.24
 
 I've downgraded to 5.4.24 a while ago but I'm being told that people
 still get these bogus warnings. Unfortunately I can't downgrade too
 far because I need the onchange patch but I might still try a couple
 of lower versions.

One more thing. Earlier it always seemed to me that vuserinfo would
give me the right percentage but the message was still sent. What I see
now is this

name:   someone
passwd: abcdefg
clear passwd: 
comment/gecos: Some One
uid:0
gid:0
flags:  0
gecos: Some One
limits: No user limits set.
dir:   /home/vpopmail/domains/the.domain/0/someone
quota: 52428800S
usage: 90%
last auth: Fri Feb 29 08:46:13 2008
last auth ip: 

but

myserver /home/vpopmail/domains/the.domain/0/someone # du -sch
88K .
88K total

So, here it is rather obvious that something is going awfully wrong,
right? Just thought I'd add this...

Cheers,
Christian

!DSPAM:47c80e4c120502061315427!



Re: [vchkpw] Bogus quota warnings

2008-02-21 Thread Christian Lerrahn
 I'm using vpopmail 5.4.16. However, I already upgraded to this version

Sorry, this has to be 5.4.25.

Cheers,
Christian

!DSPAM:47bd9281310541292811087!



[vchkpw] Bogus quota warnings

2008-02-21 Thread Christian Lerrahn
Hi,
recently my system seems to be sending out bogus 90% of quota
warnings. I've had many complaints and when I check the accounts really
aren't anywhere close to 90%, so that I don't believe any more that
this is due to the user just having downloaded and expunged enough
email to fall below the quota again.
The strangest thing, however, is that all the bogus warnings seem to go
to accounts within the 0/ directory. As I have quite a few email
addresses, vpopmail created this directory and put all new email
addresses in there. All quota warning for the root level of the domain
directory seem to be legitimate while the ones in 0/ seem to be bogus
most of the time.

I'm using vpopmail 5.4.16. However, I already upgraded to this version
because of these problems and they did not disappear. I'm not sure what
version exactly I ran before.

Does anybody else experience these problems? Especially seeing them
appear all of a sudden?

Cheers,
Christian

!DSPAM:47bd9102310541735113355!



Re: [vchkpw] SQL error after upgrade

2007-12-06 Thread Christian Lerrahn
Hi,
 I have to upgrade vpopmail from 5.4.16 because I'm using the
 validrcptto patch and need the onchange feature which is not included
 in 5.4.16, yet. However, after upgrading to 5.4.20, the POP3 server
 will send me the error
 
 vmysql: error creating table 'limits': Table 'limits' already exists
 
 as soon as I try to authenticate. The logs (syslog) will show me as
 authenticated but my email client will disconnect with an error.
 
 I don't understand this message because I would expect the table to
 exist. Searching the internet didn't get me anywhere, either.
 
 Any hints?

Just in case anyone ever finds this in the archive... I have solved the
problem. I realised that the limits table is actually empty. So I just
deleted it and had vpopmail create it and everything worked
fine. :)

I ended up going to 5.4.22 because apparently 5.4.22 was buggy and
therefore vdeluser always segfaulted. But as soon as I was on 5.4.22,
everything worked fine with the fix mentioned above.

Cheers,
Christian

!DSPAM:47588db532009227019518!



[vchkpw] SQL error after upgrade

2007-10-08 Thread Christian Lerrahn
Hi,
I have to upgrade vpopmail from 5.4.16 because I'm using the
validrcptto patch and need the onchange feature which is not included
in 5.4.16, yet. However, after upgrading to 5.4.20, the POP3 server
will send me the error

vmysql: error creating table 'limits': Table 'limits' already exists

as soon as I try to authenticate. The logs (syslog) will show me as
authenticated but my email client will disconnect with an error.

I don't understand this message because I would expect the table to
exist. Searching the internet didn't get me anywhere, either.

Any hints?

Cheers,
Christian


Re: [vchkpw] Strange problem with SMTP AUTH

2004-07-15 Thread Christian Lerrahn
Hi Tom!
  Can anybody tell me what is happening here? Is it a problem with
  permissions? If yes, permissions of what file?
 
 Make sure your SMTP server is running as the vpopmail user.

This seemed to be the problem although I actually don't know how that
happened because it worked for quite some time. Anyway, at least it's
working again now.

Christian

-- 
Ein Geduldiger ist besser als ein Starker und wer sich selbst be-
herrscht, besser als einer, der Städte gewinnt.

Sprüche 16,32

Wisst, dass euer Glaube, wenn er bewährt ist, Geduld wirkt.

Jakobus 1,3



[vchkpw] Strange problem with SMTP AUTH

2004-07-14 Thread Christian Lerrahn
Hi!
I have a really strange problem with vpopmail and smtp. I'm using qmail
and vpopmail together and for pop3 and imap4 it works perfectly. However,
with SMTP AUTH it did work well for some time but doesn't do so any more.
As I didn't realize the problem at once, I actually can't say what exactly
has changed on the system since it worked last. I'm running Gentoo Linux
and there was at least one emerge -u world since it worked. I'm using
Qmail+vpopmail+MySQL.

So here's what happens:
My client gives me an error but there's no error message from the server.
If I look into the log files I find two interesting lines.

Jul 14 12:23:27 myserver vpopmail[13453]: vchkpw-smtp: vpopmail user not
found [EMAIL PROTECTED]:134.123.123.123 Jul 14
12:23:27 myserver vpopmail[13453]: vchkpw: can't write MySQL logs

I've found out that if I change the permissions of /etc/vpopmail.conf to
world-readability, I don't get the second line and the message is also
written to my vlog-table. I guess it's only a subsequent error which I
wouldn't get if the first one wasn't there. The first error message I
don't understand at all because the user is valid. The same user can fetch
mail without any problems.
Can anybody tell me what is happening here? Is it a problem with
permissions? If yes, permissions of what file? 

Regards,
Christian

-- 
Die Heiden, die um euch her übriggeblieben sind, sollen erfahren,
dass ich der Herr bin, der da baut, was niedergerissen  ist,  und
pflanzt, was verheert war.

Hesekiel 36,36

/Paulus  schreibt:/ Wir sind Gottes Mitarbeiter; ihr seid Gottes
Ackerfeld und Gottes Bau.

1.Korinther 3,9