[vchkpw] Check after compile perfect, yet does not work

2007-08-21 Thread Thomas Vangelooven
Sorry for the strange topic.

I have patched netqmail-1.0.5 manual with chkuser. compiled without any errors. 
I use the defauls setting (as they seem to fit what i need).
I have one domain -domain44.be- which has a catch all address and one 
-liberty.be- which does not have a catch all address.


the default domains .qmail-default contains: | /home/vpopmail/bin/vdelivermail/ 
'' bounce-no-mailbox
the liberty.be/.qmail-default file contains: | /home/vpopmail/bin/vdelivermail/ 
'' bounce-no-mailbox
the domain44.be/.qmail-default file contains: | /home/vpopmail/bin/vdelivermail 
'' /home/vpopmail/domains/domain44.be/__catch__all__


if running ./qmail-smtpd from the compile dir all works perfect:
mail from: [EMAIL PROTECTED]
CHKUSER accepted sender: from <[EMAIL PROTECTED]::> remote <:unknown:unknown> 
rcpt <> : sender accepted
250 ok
rcpt to: [EMAIL PROTECTED]
CHKUSER accepted any rcpt: from <[EMAIL PROTECTED]::> remote <:unknown:unknown> 
rcpt <[EMAIL PROTECTED]> : accepted any recipient for this domain (the catch 
all in action)
250 ok
rcpt to: [EMAIL PROTECTED]
CHKUSER rejected rcpt: from <[EMAIL PROTECTED]::> remote <:unknown:unknown> 
rcpt <[EMAIL PROTECTED]> : not existing recipient
550 5.1.1 sorry, no mailbox here by that name (chkuser) (no catch all so 
rejected)


Perfect till there. Now i (re)start qmail which was stopped before recompiling. 
I send

OK => @400046cacde206b769ec CHKUSER accepted any rcpt: from <[EMAIL 
PROTECTED]::> remote <:hoboi3bl4.telenet-ops.be:195.130.137.79> rcpt <[EMAIL 
PROTECTED]> : accepted any recipient for this domain
Not OK => @400046cacdfe395888cc CHKUSER accepted any rcpt: from <[EMAIL 
PROTECTED]::> remote <:nocme2bl3.telenet-ops.be:195.130.132.35> rcpt <[EMAIL 
PROTECTED]> : accepted any recipient for this domain


I have been looking at it all morning and can't quite get my head around it, 
must be something smallish and stupid yet very frustrating.
Any help is greatly apreciated.

Regard
Thomas




Re: [vchkpw] [Fwd: [Fwd: [Fwd: Squirrelmail falls over every 8 hrs]]]

2007-08-21 Thread Rick Macdougall

Dave Johnson wrote:

Hi All

Sorry for the cross posting. 


I am not such whether it is a MYSQL, IMAP or Vpopmail problem.

Platform Info

6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Mar 21 22:00:47 


Qmail
php5-5.2.1_3
php5-mysqli-5.2.1_3
mysql-server-5.0.37 
courier-authlib-base-0.59.1

courier-authlib-vchkpw-0.59.1
courier-imap-4.1.2,1 IMAP
Squirrelmail


The problem

Every 8 hrs the Squirrelmail facility stops functioning and users get
the following message:

Unknown User or Password Incorrect

We are have to restart the server every 8 hrs for SQUIRRELMail to work
properly.



Hi,

MySQL 5.x closes the courier-authlib connection after a certain period 
of inactivity.  You need to change the inactive timeout in the my.cnf to 
0 (zero) to make sure it never closes the connection.


Regards,

Rick



Re: [vchkpw] [Fwd: [Fwd: [Fwd: Squirrelmail falls over every 8 hrs]]]

2007-08-21 Thread Marcello Lupo

Hi,
effectively, if i remember correct, the default inactivity timeout of 
mysql session is 28800 seconds (8 hours).
Any way i don't think it is the most efficient solution to put the 
timeout to zero. What happen if the mysql
server restart or something like this?? I think is better to have the 
courier-authlib to check if the connection is

still alive and in case it is not to reconnect.
IMHO
Bye,
Marcello

Rick Macdougall wrote:

Dave Johnson wrote:

Hi All

Sorry for the cross posting.
I am not such whether it is a MYSQL, IMAP or Vpopmail problem.

Platform Info

6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Mar 21 22:00:47
Qmail
php5-5.2.1_3
php5-mysqli-5.2.1_3
mysql-server-5.0.37 courier-authlib-base-0.59.1
courier-authlib-vchkpw-0.59.1
courier-imap-4.1.2,1 IMAP
Squirrelmail


The problem

Every 8 hrs the Squirrelmail facility stops functioning and users get
the following message:

Unknown User or Password Incorrect

We are have to restart the server every 8 hrs for SQUIRRELMail to work
properly.



Hi,

MySQL 5.x closes the courier-authlib connection after a certain period 
of inactivity.  You need to change the inactive timeout in the my.cnf 
to 0 (zero) to make sure it never closes the connection.


Regards,

Rick







[vchkpw] Vpopmail domain limits

2007-08-21 Thread [EMAIL PROTECTED]
Hi
We have a mail server setup using instructions from www.shupp.org/toaster. For each virtual domain hosted on this server, we enter a new mysql record in the limits table to define the domain quota.
We notice that all mails start to bounce once the domain size reaches approximately 2Gb. Once we modify the mysql record to allow the domain quota to be unlimited, the problem goes away.
Is this a known problem? If so how best can this be circumvented?
 
Regards
Mun Fai

Re: [vchkpw] Vpopmail domain limits

2007-08-21 Thread Rick Widmer



[EMAIL PROTECTED] wrote:

Hi

We have a mail server setup using instructions from 
www.shupp.org/toaster . For each virtual 
domain hosted on this server, we enter a new mysql record in the limits 
table to define the domain quota.


We notice that all mails start to bounce once the domain size reaches 
approximately 2Gb. Once we modify the mysql record to allow the domain 
quota to be unlimited, the problem goes away.


Is this a known problem? If so how best can this be circumvented?


From README.quotas

* DOMAIN QUOTAS

  ** NOTE: Domain quotas are currently broken. Do not use them. **

The only option seems to be using system quotas by assigning each domain 
to a different system user.  The other option tends to bring your server 
to down when every single message received requires the disk usage for 
the domain to be recalculated.



Rick


[vchkpw] vpopmail and postfix

2007-08-21 Thread Quey

Hi All,

Currently we have a large setup of domains and users, we have a couple 
of qmail boxes, which are fed by front line sendmail boxes, since its a 
sinch to have all todays modern anti-spam and whatever else, this way 
qmail machines only ever see real email (apart from answering a sendmail 
milter question for users existence,  as much as I detest postfix, it 
has close to the same capabilites as our sendmails, and is apprently 
capable of working with vpopmail, I have followed the  postfix.txt file, 
however it does not work, it does not deliver mail to the user, it 
blindly accepts mail for non existent users (who knows what it does with 
it anyway since it doesn't deliver to users that do exist) so has anyone 
actually got postfix to work with vpopmail using the current stable 
release? If so did you run into this problem, any hints? or is it my 
subconcious dislike of postfix that made me overlook something :)?


TIA
Q