Re: [vchkpw] [SPAM] Password strength bug

2015-09-21 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/21/2015 08:55 AM, Drew Wells wrote:
>> I think that permitting a null password, if policy does not admit it, is a 
>> security hole. 
>> Prefer you you add another explicit call to be called for no password 
>> checking (at all).
>> 
>> Regards,
>> 
>> Tonino
>> 
>> 
>>> 
>>> This is going to be the patch I use here, does anyone want this patch ?
>> 
> Wouldn't it actually be easier to remove the password parameter from 
> vadduser() and then
> vadduser.c can add a user (without a password) and then optionally set a 
> password using
> vauth_setpw() ?  This is exactly what it should do at the moment for adding a 
> user with a crypted
> password, the user is added, then the crypted password is set using 
> vauth_setpw().

Because vadduser() previously supported an empty password ("\0"), the change to 
check for this and
skip the password strength testing won't be changing its functionality.  The 
password strength check
was not meant to prevent blank passwords, so the fact that it broke the ability 
to set one would be
a bug, and skipping the call to the password strength checker would be a bug 
fix.  vadduser should
not, however, be called with a NULL password.
- -- 
/*
Matt Brookings <m...@inter7.com>   GnuPG Key 62817373
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJWAA4BAAoJEOjQVexigXNzO1EH/iZtAFYiimKNefgU2mgzAwDf
N639Vq/zN6yDtImnBa9lVW37YZQ9IQ1jCNuQZCk91oUQbagMTP37Q3L+HRsGxcHt
tYEmKjvJXFiqNSuBZfmdFdbr8ENz4mvS0GI3VsE02fXUpMLSXAnIUfv+cnN5bCxD
cEs9aEcNQTntcZzKiUWYW+62MpX3BDbZarOpnHmQznihzorn5wcT12gSQo3QGjxp
ZM5LF9UBXOSuus5hFZHxLPQKhcZCvYSS0SpM+hyjLE4JB2nKEiDAVzZ7kqNi6ZV2
K2ocqLDRg1qpXIFGeB2yqobdXSVLEcb9takRE1xAe+v2Ya3YBK09fyBqewfo2qU=
=B/v4
-END PGP SIGNATURE-


Re: [vchkpw] [SPAM] valias remove alias

2015-09-18 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/18/2015 09:30 AM, Drew Wells wrote:
> On 09/18/2015 03:23 PM, Matt Brookings wrote:
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>> 
>> Applies perfectly!  Thanks!
>> 
>> On 09/18/2015 09:21 AM, Drew Wells wrote:
>>> On 09/18/2015 02:47 PM, Matt Brookings wrote:
>>>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>>>> 
>>>> Drew, I know you've put a lot of effort into these patches, but they do 
>>>> not succeed
>>>> against the 5.5.0 trunk.  Patches should be made against the most recent 
>>>> revision, which
>>>> can be checked out via Subversion from Sourceforge.
>>>> 
>>>> On 09/18/2015 08:11 AM, Drew Wells wrote:
>>>>> On 09/17/2015 04:55 PM, Matt Brookings wrote:
>>>>>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>>>>>> 
>>>>>> On 09/17/2015 10:52 AM, Drew Wells wrote:
>>>>>>>>> I basically did a diff from 5.4.29 to 5.4.33 and implemented that 
>>>>>>>>> diff to 5.5.0,
>>>>>>>>> some of it had already been done to 5.5.0 and alot of it centered 
>>>>>>>>> around the
>>>>>>>>> snprintf tidy up's and the string_list implementation. The attached 
>>>>>>>>> patch does
>>>>>>>>> not include any of the changes I recently sent to the mailing list, 
>>>>>>>>> just the
>>>>>>>>> changes from 5.4.[29->33].
>>>>>>> This patch was generated from the 5.5.0 .tar.bz2, I had a look at SVN 
>>>>>>> trunk and from
>>>>>>> what I could see, it was 5.4.34.
>>>>>> The trunk on Sourceforge is the current 5.5.0.  The 5.4 series only 
>>>>>> appears in the
>>>>>> tags and branches area now.  I'll look over this patch and get it 
>>>>>> applied.  Thanks for
>>>>>> putting it together!
>>>>>> 
>>>>> And lastly for now, someone has done a lot of work in tidying up/making 
>>>>> safe all the
>>>>> calls to snprintf(), the attached patch completes this work (I think).  
>>>>> This patch comes
>>>>> after the 5.4.[29->33] patch I did.
>>>>> 
>>>>> 
>>> Ok, have have downloaded a snapshot .zip file from Sourceforge 
>>> (vpopmail-code-1034.zip) and 
>>> applied the changes to that and attached the patch.  This is the 
>>> 5.4.[29-33] changes patch,
>>> I'll do the snprintf() one later.  Let me know if you need me to do 
>>> anything else with it.
>> 
> Not a problem do excuse my use of the 5.5.0 tar, I'll use SVN trunk from now 
> on.  Here is the 
> snprintf() patch for vpopmail-code-1034.zip.

No problem.  Thanks for your work!
- -- 
/*
Matt Brookings <m...@inter7.com>   GnuPG Key 62817373
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJV/CJIAAoJEOjQVexigXNzUEQH+wV4Si57TawcIHdnggKhZpav
6Swf4CUPZIfLrM6chNkIrTnR2seb0W3qCIqmMdbo3nzUIfLzMw3ZOikCBKF6hoWq
zQUij+eXwTLWe8JbT4/c3fACBmq4BspJj7q4kIAeypu4hqdjDpxAxVvNmoYh3FCQ
CC3LX0E3PbPHp7mKgzXRQtVrnB9ePxTgu9ZR529BUpI4dwz2FXx+FgmcC/hvBFad
mOBh5vYgVfql0rGWmw/TkWLRNxJzR4ffHIYg7h1jJ6QSMrn/Px4pdGNmOzGIf+tV
asoUPWUIKLL1MlPeV/jviTw0Or7es6ZGbsd+pZl6TEkhowySGB72oexrVTDQXF4=
=ZHVf
-END PGP SIGNATURE-


Re: [vchkpw] [SPAM] valias remove alias

2015-09-18 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Drew, I know you've put a lot of effort into these patches, but they do not 
succeed against the
5.5.0 trunk.  Patches should be made against the most recent revision, which 
can be checked out via
Subversion from Sourceforge.

On 09/18/2015 08:11 AM, Drew Wells wrote:
> On 09/17/2015 04:55 PM, Matt Brookings wrote:
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>> 
>> On 09/17/2015 10:52 AM, Drew Wells wrote:
>>>>> I basically did a diff from 5.4.29 to 5.4.33 and implemented that diff to 
>>>>> 5.5.0, some of
>>>>> it had already been done to 5.5.0 and alot of it centered around the 
>>>>> snprintf tidy up's
>>>>> and the string_list implementation. The attached patch does not include 
>>>>> any of the
>>>>> changes I recently sent to the mailing list, just the changes from 
>>>>> 5.4.[29->33].
>>> This patch was generated from the 5.5.0 .tar.bz2, I had a look at SVN trunk 
>>> and from what I
>>> could see, it was 5.4.34.
>> The trunk on Sourceforge is the current 5.5.0.  The 5.4 series only appears 
>> in the tags and
>> branches area now.  I'll look over this patch and get it applied.  Thanks 
>> for putting it
>> together!
>> 
> And lastly for now, someone has done a lot of work in tidying up/making safe 
> all the calls to 
> snprintf(), the attached patch completes this work (I think).  This patch 
> comes after the
> 5.4.[29->33] patch I did.
> 
> 


- -- 
/*
Matt Brookings <m...@inter7.com>   GnuPG Key 62817373
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJV/BXnAAoJEOjQVexigXNzPxkH/jKWMcIwdkpN9xy8OhYHQGuF
+FwowoDJSsEpkJU6flSSWjYvpC0/NJeejzWLWHW0bq7m0ulobpq4z4x4Q7lUlxId
nu7a4+v29qgDw3ccuyIpx+DmgF2DEqi7t/QZlTNeCJ4YzsMBkcUrJI8twoF+RTX/
/8aifV4/+J69V5GrKAMePRIRIaZicVd0NNgLrnaG096r8r7n02jH5G2PTPF0s6Vh
AVaSehh7sxTCBlm8sH08orxLRqRsLakvy3zlxogeLnipJxWLxgQQdkAL8GcfvPIz
LPlXovqegvNtEGrmsAwIP6mXansd0qqC0vTDpUz4ikHXso7ntKHRieHrT4lrevE=
=tzfn
-END PGP SIGNATURE-


Re: [vchkpw] [SPAM] valias remove alias

2015-09-17 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/17/2015 10:52 AM, Drew Wells wrote:
>>> I basically did a diff from 5.4.29 to 5.4.33 and implemented that diff to 
>>> 5.5.0, some of it
>>> had already been done to 5.5.0 and alot of it centered around the snprintf 
>>> tidy up's and the 
>>> string_list implementation. The attached patch does not include any of the 
>>> changes I
>>> recently sent to the mailing list, just the changes from 5.4.[29->33].
>> 
> This patch was generated from the 5.5.0 .tar.bz2, I had a look at SVN trunk 
> and from what I could
> see, it was 5.4.34.

The trunk on Sourceforge is the current 5.5.0.  The 5.4 series only appears in 
the tags and branches
area now.  I'll look over this patch and get it applied.  Thanks for putting it 
together!
- -- 
/*
Matt Brookings <m...@inter7.com>   GnuPG Key 62817373
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJV+uJcAAoJEOjQVexigXNzXowIALkzVHSRgVq3Ojq1Pv32jdI4
vRaX0jDhbhNzDTCPex5tcwLB71olOm2LYzV/GKBoXudeZYz/SjppccCk43FRhZnj
h76PKiI1484e4kRD1JYkgjP85YKh0I5if2eeL28zm7fDb8qwNG3Djs2xyH9m5+wN
nlPfEtF+e1Pi5PBa8WDFHilF+P6XlV5kwxsuXmZV8JD8EogyplMAs1ksteA6tmJH
vXEAB4xJfstVB6l27mxq1VVNqyE0KUN4inCuxVuuS/nUxJI576V6B/kUQ+DyVANj
ce4gD45L7YzWs4PAwnEcdseai82Jag4J6UaRIhLwTYEwridI1D9GnA7ZSHOmoK8=
=Pl67
-END PGP SIGNATURE-


Re: [vchkpw] [SPAM] valias remove alias

2015-09-17 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/17/2015 06:23 AM, Drew Wells wrote:
> I have created a patch for vpopmail-5.5.0 which incoporates all the changes 
> from 5.4.29 to
> 5.4.33, does anyone want this patch or has work in vpopmail-5.5.0 stalled ?

Drew, I'd be happy to take a look at this.  What changes did you add?
- -- 
/*
Matt Brookings <m...@inter7.com>   GnuPG Key 62817373
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJV+tA3AAoJEOjQVexigXNzpoAIAJHChv9aNWE5TGdYIRVExQxs
cKyi14LUwIMupA3HX4GNTTBy9bMF6HVgWxMqRA3WOq3KzRGhwi2fT9J1lQseaC5X
U4Fd5qQ8eeiYcl8yakT+ZPjwDRSLbkNX98akynm1QDT92/YNgaZ55F6aE2uH2IVg
8rMDw96OohaJJHGCt9XZouTEuQZgTZKunWoKYMgpqvH5NdCvDxP2SgeOu7uRLPoM
e5w1Gqc2p9xP0VxgmqMPEl5Yp8uTQXfUjQrbw2Soe55OnnJXtxoJ3gCrPxdwAgLj
pHxZXJjon+681cYOJr+xX6grUuPuZIlV1y3WRzvgo8m1sD/VFq8WN/roWNYV0EA=
=LSon
-END PGP SIGNATURE-


Re: [vchkpw] [SPAM] valias remove alias

2015-09-17 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Was this patch generated with the SVN trunk (5.5.0)?

On 09/17/2015 09:57 AM, Drew Wells wrote:
> On 09/17/2015 03:37 PM, Matt Brookings wrote:
>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
>> 
>> On 09/17/2015 06:23 AM, Drew Wells wrote:
>>> I have created a patch for vpopmail-5.5.0 which incoporates all the changes 
>>> from 5.4.29 to 
>>> 5.4.33, does anyone want this patch or has work in vpopmail-5.5.0 stalled ?
>> Drew, I'd be happy to take a look at this.  What changes did you add?
>> 
> I basically did a diff from 5.4.29 to 5.4.33 and implemented that diff to 
> 5.5.0, some of it had 
> already been done to 5.5.0 and alot of it centered around the snprintf tidy 
> up's and the
> string_list implementation. The attached patch does not include any of the 
> changes I recently
> sent to the mailing list, just the changes from 5.4.[29->33].

- -- 
/*
Matt Brookings <m...@inter7.com>   GnuPG Key 62817373
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJV+tZ9AAoJEOjQVexigXNzbnYH/2CBtOVqqKBntlGUYQNMzf46
PEyxaODsZjaBmyJKBSL7lU30UzEanbWTbo1XSCj7lx+YRB7v9e90SMDVSbYXbaDh
I2WGhqD+dHVOBbi7b+WtLPAeixPnFOS5EMcWggL+OK9xbF55WsFDQhz7b3wNJGmR
4klK0mEG6a22l2cScAjH7afXzRJpy/Vz6RpBvW+1wGz8R0nRPw6VDpiiiPbqLSpr
S4uDboSTdo2Ah6dFXQDns2Au/JYYB+Ip33f+rYaTyNjL4dUq9Emg/hZNFyy11KgU
0ldCRPX+h1EKtNoh65FAxRWF8tlCYufjw1M9E30neO48dwDVV5AyDRALKxdOjvA=
=6IBz
-END PGP SIGNATURE-


Re: [vchkpw] vlog has not entries since upgrade

2014-12-12 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/10/2014 10:36 AM, John Stile wrote:
 I have not seen any new additions to the mysql table vlog for a long time, so 
 I am worried an
 update broke something.
 
 I am using vpopmail-5.4.33-r1, mysql-5.5.40, and netqmail-1.06-r2
 
 I tried to delete the vlong table and recreate from what I have read in the 
 source file
 vpopmail-5.4.33/vmysql.c, but still no change.
 
 What could be happening? How can I debug this, when eveything runs though 
 tcpserver?
 
 I am on gentoo, so I hope it is not too spam-ish to show my configure and 
 build log:

John, it's difficult to tell why it's not working from what you've sent along, 
but it sounds like it
could be related to the deletion and re-creation of the table.

Your best bet for debugging is going to be to strace/gdb a manually run qmail 
service that calls
vpopmail.  If you're not comfortable with that, you could try printf debugging. 
 And lastly, if
you're not comfortable with that, feel free to give us a call, and we can help 
you out.

Good luck!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 62817373
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJUiwgQAAoJEOjQVexigXNzKBwH/AgOWlCZNrPysL4kdTub9XjN
5XIrzqlyBR9CD1We3eIKGE4p7UY5sLg4vLOSDptZC0eOLlPb3E6V/1vIYWqJMXv5
H9F8tKgcSSwOAvc9rJdjPFH7r0hv46I3tfxlgM6u0VnUWAydf+Hx6DQ/ILvAsiDL
kmlMe2i22d/TALYGjTSZi3JTfL9v+mYSyRRkaD4as3VTx3hhejgnfT7uXO6xNtRz
+Rru7pLYFr0yRpCYaE/JaJNXojG+Kru8V5+4/nGjbD5wLrYbvZ6AtLM7SMcLw5Am
MdSrGNXqXFEjH07xhaNXIgy5OW9CFiS7D6relrI/gaXWjM8gqAhNyrZBtnZkhaw=
=JM35
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize is recalculated too often

2014-07-14 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thanks, Teodor!  I'll take a look at this.

On 07/03/2014 10:36 AM, Teodor Milkov wrote:
 Hi,
 
 After upgrading to vpopmail 5.4.33 I started seeing much more IO requests. I 
 see that in 5.4.32
 the following code was added to maildirquota.c:
 
 /* Maildir++ specification says to rebuild the maildirsize file if the file 
 is 5120 or more
 bytes, or is more than 15 minutes old */
 
 ret = fstat(f, statptr); if ((ret != -1)  ((statptr-st_size = 5120) || 
 (time(NULL) 
 statptr-st_mtime + (15*60 { unlink(filename); close(f); return -1; }
 
 I think this is not correct interpretation of the specs from 
 www.courier-mta.org/imap/README.maildirquota.html which says:
 
 /If the numbers we got indicated that the Maildir++ *is over quota*, some 
 additional logic is in 
 order: if we did not recalculate //maildirsize//, if the numbers in 
 //maildirsize//indicated that
 we are over quota, then if //maildirsize//was more than one line long, or if 
 the timestamp on 
 //maildirsize//indicated that it's at least 15 minutes old, throw out the 
 totals, and
 recalculate //maildirsize//from scratch./
 
 I.e. the 15 minute logic should be applied only if the Maildir is currently 
 over quota. This
 logic was already implemented in maildirquota.c dockeckquota() where it says 
 if
 (maildirsize_nlines == 1  tm  stat_buf.st_mtime + 15*60), but it didn't 
 work, because
 /stat_buf/ is not set in maildirsize_read().
 
 Please find attached a patch against 5.4.33, which I'm using in production. 
 In addition to the
 minimal fix (initializing stat_buf) it has some documentation as well as some 
 magic numbers
 converted to constants ? feel free to use it however you like.


- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 62817373
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)

iQEcBAEBAgAGBQJTw/xQAAoJEOjQVexigXNzIGgIAJ7xmjrH4akfNHAKdtRo96GN
814Jsf1zeDREr0tg5RHwGYzSMTOUwJo1Lb9EoJmMuqtkDcjS3msrIY01XKvAC4aO
RlRquev2bwwMHGBe1xuCPabNe0M2U29u5imOhbpFtxTDzjdvnjULkmSuCbieO61F
tzvhAIlIs/MGECJd1u7AMmeBaEWSZmMjFX6xmXE8NIbTRz1aqHfc8AUNGO7JF3Hh
JhL6KXwioCm81BC3zck1Oxb3Z+m+FQBsdCFbx6LcVPoLa/KR+eAoDZDrt513h8Xf
iGHUkE0IRzWjeDWzkrG4kRkYpeK0g0CCIESsqh8iZSC1RR5mA4++IwJXkRzhE4k=
=pHND
-END PGP SIGNATURE-


Re: [vchkpw] vpopmail and qmail/assign subaddress separator configuration

2014-04-14 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/14/2014 03:32 PM, Tom Ierna wrote:
 In any case, I'm again looking into how to make a domain on one of my 
 vpopmail/qmail servers use
 the + separator for subaddresses, rather than -, and I'm coming up dry. I 
 realize that
 changing the subaddress separator will have an effect on ezmlm-idx, which I 
 use on this server,
 so that's why I only want to change the subaddress separator on a single 
 domain.

You could build a secondary vpopmail installation in another location on the 
server, using the
alternate separator.  If your current one is in /home/vpopmail, build a 
/home/vpopmail2 with the
alternate configuration.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 62817373
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)

iQEcBAEBAgAGBQJTTFQ/AAoJEOjQVexigXNz2YgIAIiFS/eU8X1/sz1bTrPpEI9j
OP+VTI+zvN2xSFi7sJw71MGIFgYPkIcBvlvI6YrWbCPpHrWHvcKhOCoeWypFGFme
sQe5QjYzJtJfblxIhhIgz2Qjt85d2EeYVla4H/kA1/KA5MEaYQCRJQKfcYo/W/CC
VdSJFuEIm63nIBhaeD9tVn5Sz2mYXwrRxBzFNAlCHjUWiK5/8/m/Uk0DwUAHvX5H
HCdBVHVJHqTxCifnJWiAzJvsqTLhr5CXCICgB4VIBCfJuWG9wXiMf4Dd1O9remFk
1Ti7LJ7tn9b0FHNgU3obDZG+l8FmkMPtxb0FDPKvV2Sdd3st0G7fyd5zT1lQIjM=
=pLMg
-END PGP SIGNATURE-


Re: [vchkpw] Bug in maildirquota.c

2014-01-31 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/31/2014 05:34 AM, Simone Lazzaris wrote:
 The file descriptor number 5 of that process is pointing at the maildirsize 
 file of the mailbox,
 and is marked as deleted in /proc/procid/fd
 
 We store the mail in a NetApp NFS share, without locking for performance 
 reasons, and I think
 I've found the problem: the file is deleted by someone else while 
 vdelivermail is reading it.

You can correct this particular issue by making sure you're mounting with at 
least NFS v3, and that
the time on the two systems is synchronized.  NFS v4 would, of course, be 
better.

 
 In maildirquota.c, function maildirsize_read, there is a while loop that 
 reads: while (l) { 
 n=read(f, p, l); if (n  0) {
 
 But n is defined as a unsigned int (64 bit) , so even if read returns a 
 negative value (error)
 the if is never trigged.

I've made note of this.
Thanks for the report!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 62817373
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.17 (GNU/Linux)

iQEcBAEBAgAGBQJS69n9AAoJEOjQVexigXNz1JMH/0WvMHTImzOWfHr980YVcmtB
0IFAAKn6PHUP57y2wm+cJ/+uEu9vz9YMOHRpQK/aoBu9kIzQHRF2GGvj0eSnuh7v
1+LqwB1X3j3dDdNiMHtC6rjFkueuDG/fNZ5r8YfHTc+azl5lhiFRZz9nqSuPjShq
ZAU0TYXBU1wd3/0LvRvA9mAltbJs0CWgE1s/ht0r4bZv+b4Fq4Gy2alKN0bijCgu
145bIDhDbrczlp2Vmz8USEZJsTJj2SjxWRcFRha5VYP0zgmFAdrcKNdAESkEWVV3
hcMz15N870OSA21ZAEwd/rppG8rZf5sCRWOuqJRg1WrtTuEZdYqSKt5vAJ3eShE=
=qtFi
-END PGP SIGNATURE-


Re: [vchkpw] 5.4.33 marked stable

2012-10-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/24/2012 09:10 AM, Alessio Cecchi wrote:
 Il 23/10/2012 23:33, Matt Brookings ha scritto:
 I have marked 5.4.33 stable, and also have created a new development version 
 5.4.34 with some new
 patches I'll adding or evaluating.
 
 Thanks Matt,
 
 For 5.4.34 I would like to have vdelivermail works directly with dovecot-lda.
 
 If necessary I can provide information about setup dovecot 2.1 and lda.

Sure.  Pass along any information you have.  I have a few other patches related 
to Dovecot I want to
add into 5.4.34.


- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQiDXjAAoJEGgfLslfMlit2/kH+gPoZDWlBK0iRTYPCP7H4Tqd
TqDbu/YwgEekISwWGYlsJwtZ7iIBMWqCWhpS5GPdzoRryDd6xo3MHRW2yX71vruN
KrAgvCEm4Zv7svc+mDgX8oxP/IWAnRLvsvw+3DPXxOXovZgyNYk0YI/9xW4diYkD
ktH/o1P/7U1t7fSor0Jyvhax3U8zeLm8cruATU/vmJJBaoMUFVSloEzsi/PgLYic
F/THPcPtASm2ACc6f4+CY3Kd3f8qvb1zTxZ+KbNnZ3+Fved5EeF4yNovpdRJEsxZ
yk0jDV+gsNhD6SKhC/oUmnrMQN8cpAmPGpyxzTG+pNwNLzZrxf+31Qr0b+bzLZA=
=puBt
-END PGP SIGNATURE-


[vchkpw] 5.4.33 marked stable

2012-10-23 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have marked 5.4.33 stable, and also have created a new development version 
5.4.34 with some new
patches I'll adding or evaluating.

Full 5.4.33 ChangeLog:

5.4.33 - Released 10-21-2012
  Matt Brookings
  - Defaulted to Server::Disable=True in vusagec.conf
  - Fixed bug that didn't install vusagec.conf
  - Changed relevant quota code to use storage_t 64bit type
  - Fixed bug where backfill code wouldn't compile when FILE_LOCKING was
enabled
  - Updated MySQL module to support larger quota sizes
  - Fixed typo
  - Added disable_maildrop flag to MySQL limits feature
  - More changes to allow for larger quota sizes in MySQL module
  - Updated to signal_process to understand runsv as a supervise-type process 
manager

  Tullio Andreatta
  - Dynamic allocation of valias data
  - Use of open/fchdir rather than getcwd/chdir to maintain current working
directory
  - Fixed a broken symbolic link check

  Drew Wells
  - Modification to vdelivermail to properly handle Maildir paths that begin 
with ./

  ke...@kens.fm
  - Removed call to maildir_addquota inside user_over_maildirquota causing 
duplicate
maildirsize entries


Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQhw0qAAoJEGgfLslfMlitU04H/Re44g/zt1Kd+E02TinmKhmY
3MpDkITjTTXb/nt/86o1xi+bSVuq9T7tWzPtwyikwS+GUG/fjUzM7hz/kUZokZ8z
6Zkz+X0FT3j2u+0ZXfbVX+O7a422t+kqwiRWKe7c6wSZrWgkw/Q5Z1b8t73C/xXc
B/PTNe1EmwcSt3is3JVjgB4346Zm8eR2hCc6rM6SICazQHbI81ZpCMoJ7K/GVsEX
v2eMVV3ngvZ+w3DdGcPUQtlXe07AJDuexCizm1p5JMkORNIPSdHVYBuiYvJrtiD/
zxuKgiaSaFfXbEZvCFykfNtNem51WEVf+0h9TBKpk+iXe8Crg6LiGq/xOsWu7H4=
=6SC/
-END PGP SIGNATURE-


Re: [vchkpw] Hashed domain directories - options

2012-08-09 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 8/9/2012 9:50 AM, John Simpson wrote:
 On 2012-08-08, at 2132, Eric Shubert wrote:

 #define MAX_USERS_PER_LEVEL 100
 ...

 In an ext3 environment, it could be set (by the admin) to 3 (ext3 
 supports 32000 subdirectories), and with ext4 it could be set to 6 (ext4 
 supports 64000). These settings would for the most part disable hashed 
 directories, while still allowing hashes should the filesystem limits be 
 approached. Of course, a default value in dir_control could still be 100, 
 which would maintain former behavior. If this were done, the 
 --disable-users-big-dir option should probably be changed to 
 --allow-single-digit-users as well. ;)

 Please let me know what the prospects of such changes are. If it doesn't 
 look like anything that might ever happen in this area, I just may patch the 
 vauth.h file to be 3 and call it done.
 
 The filesystem's limit on how many entries can exist in a directory is not 
 the only issue... the other issue is performance.
 
 On most filesystems (including ext2/3/4), in order to find a particular file 
 within a directory, the kernel has to do a linear search on the contents. It 
 can take longer to do a linear search across 30K items than it does to search 
 through 100 entries, open a new directory, and do a second search through 100 
 entries. This isn't an issue for filesystems which implement directories as 
 binary trees instead of linear lists.
 
 Personally, I don't build servers without both hashing options enabled. The 
 hashing doesn't affect small machines (or small domains) because it doesn't 
 kick in until a certain number of domains or mailboxes exist. And if the 
 server becomes busy after the fact, the hashing code kicks in when needed and 
 keeps mailbox access from being slow.
 
 The scripts that I write which access the mailboxes all use vdominfo or 
 vuserinfo (or the qmail virtualdomains and users/assign files, and the 
 domain's vpasswd.cdb file) to locate the directories, rather than making 
 assumptions about where a particular domain or mailbox might be on the disk. 
 This way I'm using the same exact method that qmail uses to deliver mail, so 
 I know I'm ending up in the right place.
 
 If I'm not mistaken, the limitation on single-character mailbox names has 
 something to do with how the hashing is implemented. The hash directories all 
 have single-digit or single-letter names, and if a mailbox exists with the 
 same name, it causes problems (or at least confusion.) Personally, I always 
 thought they should have given the hash directories names which aren't used 
 in SMTP address, like ,0 or ,a, but that's not how it was originally 
 written.

John has basically said everything I was going to :)  The only thing I would
mention is that the 5.4.32 and 5.4.33 both include changes that re-populate old
hash directories that have been made lighter by user deletion.  It's the
backfill feature.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQI+ziAAoJEGgfLslfMlitqr4H/jPrpjOAFmRpqPtSzYrF7FE8
N7TYiGmvicx/flRFrrKdBDO9ZYzT8cUIUJFDJVFOHqAZRccn/vee8P/A3cKMeoJ6
czDFaVeEg8wAuo5VpdvPb5wQ49nrx2fyxDpnmHJ81kVSK4jhW8Uu0TzAQuM+kBqQ
6igvGewBJ83UFKebHnF6kvMHbpTuTJFJV/MZHhl45kaKznq3Cp/3cKEdbMYUGkGo
pk7NQg7OSrRgU3uthD1F/emLpUqSx1PBiDMjTDQdp4NMVleKvrCloQN16d+OHTCM
9FhwlX8NmaQ7P+y+5ak+sqYUxRQQ2MVLpGUfjNCSRqqTxqJVe+8mJmWw7Zg9VcY=
=QyQF
-END PGP SIGNATURE-


Re: [vchkpw] [SPAM] qmail+vpopmail upgrade questions

2012-08-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Getting that SPAM-tag situation fixed!

On 08/02/2012 07:47 PM, Kurt Bigler wrote:
 server that is currently FreeBSD that I would like to move to MacOSX in 
 several months.  I see
 there is now a toaster that includes vpopmail,

Kurt, I did an installation on MacOSX years ago, and while I don't remember the 
details of what I
had to do to get it to compile and run, I do remember that it was a successful 
installation, and so
it can work.

Good luck!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQG9pAAAoJEGgfLslfMlitAzcH/3ngDRGwIiW7AxdA2g8TaUSU
jRXfSTPiE3u6SiOwuxoHLrCjD/uhunAKUs5yMYlWOAwvHAj4jcD3Kzm1uwf/QMrE
JwxB6xNMF6VaAJFdR5BzszkVK0IdJXpCxzZ8qJ9gotip8QvzUDyu8qK1SGF7fMAa
t1fW/sHNRa7+xztFQaICo9kLobQfUqoZVZYMfOL3C3uC2xhnLfGAsuDbDB2LuJiX
XfAfQerF4oTgX0tscLfmK5K2Z1GRywNhREKSo8+shfxIAhn52GUF3c9ez+fbYOdx
otrl7oRI6+5UOC1hml0e4rrLOVcKSzakoRDBG7ksJOhde59D2AIrG9xLgGws+z8=
=Wnvx
-END PGP SIGNATURE-


Re: [vchkpw] Re: [SPAM] Re: [vchkpw] Prevent certain users from send emails outside the local domain.

2012-06-08 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/08/2012 10:12 AM, Eric Shubert wrote:
 not 100% sure, but I think you can do it via vmoduser and adding -r flag
 to the user. This, however, will require smtp auth usage.
 For more information, look at http://www.qmailwiki.org/Vpopmail#vmoduser

 Regards,
 
 That's an interesting approach. I think you'd want to use the -s flag for the 
 user, then configure
 their email client to not authenticate. Local email would be accepted (for 
 all domains on the host
 though, not strictly inter-domain), and relaying would be rejected.
 
 I think eMPF (as Amit suggested) is a nicer solution though. It's more 
 straight forward, and has
 more flexibility to control this sort of thing. Not surprising, as that's 
 what it was created to do.

Sorry about all the [SPAM] tags.  Not sure how that happened, but we're 
adjusting things.  Anyway,
yes, Eric is totally correct, eMPF was written for precisely this purpose.
http://www.qmailwiki.org/eMPF has documentation and examples.

Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJP0kcCAAoJEGgfLslfMlitCSwH/jJ1olWF0B8oNfHLXiAJsR5a
zkZyGoPYU0yvwcXnnuKpUWGDw32FaQ9CedaRtZNheT5reKO95CS3Zc842R5/0sIl
oCjAwNglV3mlo0qH4whG6wRMC68KwSY+t9s3w9QyiWYV5Jq0GxzT90goJKVGldz6
yUGxljECt/VetoyUxWFgbx0MTVblgZS0Gn0TPGGqxwgCI/cBq+8sOdGloD85xwiJ
YuT+34F1lWyuqfljeHu+BuQH1eWxQUe2xJDXNS9PQ7OJFT/NoGqpep4kc/+eH2uj
DdsznBZo0xmv+jObDfR33jbIPqkxtwueuhGpl+btXes7Ahsq2aE/pOf+/6KmPEM=
=V81g
-END PGP SIGNATURE-


[vchkpw] Autoresponder havoc

2012-04-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Well, our apologies that happened.  It's all cleared up for those of
you who put up with the mess! :)
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPlA3WAAoJEGgfLslfMlitRMgH/RR1QYnUb72YUtRlZll8Pw7A
b0DGuoVWvG1SUMtGMNZjColbgcjqMxbh5+7+XGIKM/BxTJ6eLanoc8Hv14KKS2a0
jU8JE+VxglaTxQOj9VCKNekFZmo9bxO2YJfzT8uzp8pCieMmOqbZsGIGtI6rvqlz
JaUiJ8paWrzKPkL7IeShZMo9VPxCuHXnvz5K16qHIbNHsv0Kzra6ULBk1nG7TT/w
zDjjpfC4ZE48tRsHEuooV5vIUABQR02icv52m8Ds97XqYUrWH5dkZf7+CTbez1RH
qzfJmNQCCbd4qOXOr/OnW7fhoTkykc2ItYh6gbhhrXPN9IEuPXBK1g8DBiwz9F4=
=AI4n
-END PGP SIGNATURE-


Re: [vchkpw] Autoresponder havoc

2012-04-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/22/2012 08:59 AM, Matt Kane wrote:
 A bit delayed IMO but thanks none the less. I've been forwarding
 these messages to the address in the auto responder hoping he
 would fix it.

Well, some of us aren't monitoring our email early on a Sunday
morning :)
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPlA6NAAoJEGgfLslfMlitn54H/2nM2192ZQJiCV2Syb/zBpvt
BFKL8L3Xy8Ptr15bvfPLD3pKZAaqJPzY1Yvd6Jv8zYWgEg/4hRBrg4D7jmueLJB5
Aoadz4CHTXjgew1e4Tj17TdSAfFrhhFRKxfykFMcJyToBHl27+C8Bb3ARKRxpuOP
8PtMToRfpuDL3Z3G/VhvN1xudrWMJJWTTS1d4zexqsbJpxfCsTNQkFXMSqy7L7nI
CRn9rsRtzRUBg7FAUHQK6rM5B2616qNJ7Eeq1liEc7a2hfHEQKvlEAvFKjFi6aze
PZeeAnmMLlTDPnzl/DyUP2ncmDp2r/Xq38AggK2LlF7rcA+Xz2OJYf8zAsYhXjw=
=NM1h
-END PGP SIGNATURE-


Re: [vchkpw] Autoresponder havoc

2012-04-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/22/2012 09:02 AM, Matt Kane wrote:
 You guys don't work on Saturday? This started happening early
 yesterday evening.

I'm not sure if you're joking or not!  We do not work weekends
unless emergency work is requested.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPlBCNAAoJEGgfLslfMlitR7QH/24caROyw+PUyPtJhbGN2vQ6
D4L8nwvqE6mbO05droG1EEkzJ08PKjwDoVgobMd2PzqHKsihQg5ZVBWMX3KUBeU7
ntmQyZUyB6GEE2+0pbL39fzDcZXQQylHzjfzKBHzt7CkIUF6RIwiGsNR2p7LEQBt
HA7mDEOin3dvyo2xCbZ+9XNAY4zWcu1pUHtv/jKe/dghD/+rlAeO4yrFA/c62A50
aIDAbdShXoqhm1hbTe0/Y9GhmeUcft8V+dhAUDql0qZCOsTrhwXzGVo9SLHDYQMy
SFLb7KPWfBtGbRKeITIsBktyWpRcuGioRclx1c0hE47R34H35JEiGu5bfhtNjq8=
=RwG+
-END PGP SIGNATURE-


Re: [vchkpw] Autoresponder havoc

2012-04-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/22/2012 09:08 AM, Matt Kane wrote:
 I'm just harassing you, the auto responders on the list are seriously
 annoying. Thanks for taking care of it at all.

Hah.  Yes they are.  No problem ;)  Enjoy the rest of your weekend.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPlBFjAAoJEGgfLslfMlitXvsH/1q6Jb8wk0cLjyuYZbuimQeI
0djXlmllgf9UFWVeMIf6Xsm7WcRQeqno71qNdVhBCLaahOAU8fwQecBKZpM+gzO9
I39OCC9GjNbPCU+LDEgQEOomUyLC0b9yKyMatLW8SD42nX4J7AY+ELJKu37TQuSD
R4aGOm780BbWn0FptBNfys8CAUeTEU/l1a1h9qGOEMR9zaHdk061M7RB+fqamLta
CSLU9tms8U2kS//7YwtjOJayoTsf/xRvsy4yyqFdlSimQEFZVe+UAoRcFeRBWZ9M
H+nRWz54GPfySnTBeKOPziAkoBAQ8wZXkf4wzKldJLbK4tEAvc8KcdLJaFM2PB4=
=VnEh
-END PGP SIGNATURE-


Re: [vchkpw] compile error on vpopmail-5.4.33

2011-12-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/29/2011 04:45 AM, Mitja Pirih wrote:
 Hello,
 
 I am trying to build vpopmail-5.4.33 on OpenBSD 5.0 (32 bit) but
 there is an error I am getting and I can't find any solutions to
 this. I would appreciate some help on this. The error looks like
 this:
 
 libvpopmail.a(libvpopmail_a-client.o)(.text+0xcb4): In function 
 `client_query': : undefined reference to `__bswap_64'

This is a very difficult problem to debug via email because of the
many different ways different systems have implemented 64bit support.

Try adding:

  #include machine/bswap.h

..to the top of storage.h and see if that works.  If not, I'd need
access to an OpenBSD system to figure it out.

Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJO2AW4AAoJEGgfLslfMlitqbEH/RV3SrJ0f+/pgacG9htNrZZT
U5nC5RpeKvZQckpRSMzDmvN8GpfACm8NNVlXWP3dYq8KYEBzLo9aK7IFSHNyYoxb
6P3Dpj2vOkJWcMRrACJY0mPpI9mf0R+gsh4nHdO75fYLHfsHHOY5qRxWATXH+0qo
dTQXX3Kb8THZyzhHXB/miIccjhhwM0Ooxj8Rct6tw47pM4XhzIyiH6DbXrjndYHG
b+egWs9NLe4poKvZea+KzLq87bsMsGZisalAqgVuy0osd+NtrY0sK29cEC64ldqi
yioO1Hkfg/fQdzzljPVz6q+5H2Tv54UPGCAbDdBbS4UEGWGJPbBWp5ZaFgUaEVw=
=NHPg
-END PGP SIGNATURE-


Re: [vchkpw] vQregister not same as vadduser

2011-06-13 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/13/2011 10:35 AM, Mark Dennis wrote:
 It seems like I'm close, but just circling the problem - can you tell what
 I'm missing?

If everything is as you say it is, I'd suspect some external force is at
work.  Try to su to the vpopmail user and access these files.

Do you have an SELinux/AppArmor/etc type protection enabled that may be
blocking it?

I can't really think of anything else off the top of my head.  strace
will be your friend here.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk32L1EACgkQIwet2/rgZyxcpwCeNpWXH9L64Nj+Kc3FFJkbNBLp
T8sAoJPwP1UhvAjjS2uJuAYZHsxq7i6O
=u4UT
-END PGP SIGNATURE-


Re: [vchkpw] vQregister not same as vadduser

2011-06-10 Thread Matt Brookings
On 6/10/2011 4:11 PM, Mark Dennis wrote:
 When using vadduser from command line, it creates the user folders and
 copies everything from the skel folder (Maildir; mailfilter; .qmail) to
 the user folder; but when a user is created from the vqregister cgi only
 the Maildir is copied.
 
  
 
 The vpopmail.c file includes the line:  ret = vadduser(user, domain,
 password, fname, USE_POP);
 
 Which I was hoping implies that vqregister uses vpopmailā€™s vadduser to
 create users and would act the same.
 
  
 
 Could someone explain the difference and/or how to get the same result
 from vqregister?

It's likely your vpopmail version is newer (including the onchange
functionality to implement a skel) than the version that was used to
compile vQregister.  vpopmail 5.4 and below produce only static
libraries.  If you upgrade vpopmail, you need to recompile any programs
that you want to benefit from the upgrade.

Try recompiling vQregister and see if that fixes the problem.
-- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/


Re: [vchkpw] vQregister not same as vadduser

2011-06-10 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/10/2011 05:19 PM, Mark Dennis wrote:
 This is a new install of qmail; vpopmail etc.  vQregister was installed
 after vpopmail; and has been recompiled a couple of times.
 
 Other ideas?

Permissions on the onchange scripts and skel dir maybe?  Check the
Apache error log.  vpopmail outputs onchange errors to stderr.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3ymWAACgkQIwet2/rgZyztXwCfSUuBBAblV8fhRRPxoV6RmHEl
e1IAn3ZMERi167e2wdaKLqOAiH6IIqZw
=imCM
-END PGP SIGNATURE-


Re: [vchkpw] vQregister not same as vadduser

2011-06-10 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/10/2011 05:51 PM, Mark Dennis wrote:
 But you were right:
 httpd/error_log shows Permission denied for vqregister.cgi
 
 That doesn't make sense to me with the above settings.  What am I missing?

I'd need to see the actual log line to have any idea.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3yoIcACgkQIwet2/rgZyxP7wCaA/bdTtk2OEWTXvoyR/cPfreg
fi0AniyLp9yOsGaXaWki/C0LGG0vLgBw
=13r2
-END PGP SIGNATURE-


Re: [vchkpw] vQregister not same as vadduser

2011-06-10 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/10/2011 05:57 PM, Mark Dennis wrote:
 [Fri Jun 10 15:28:29 2011] [error] [client 71.83.80.18] /bin/sh:
 /home/vpopmail/etc/onchange: Permission denied, referer:
 http://ems.emailrd.com/cgi-bin/vqregister/vqregister.cgi

Is vQregister running SUID and SGID, and is Apache allowing the suExec?
 Since you know it's a permissions problem now, you should be able to
trace the path.

I'm heading out of the office now.  If you still can't figure it out,
look for a second set of eyes, or, we're on-call 24/7 at the number in
my signature.

Good luck!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3yosYACgkQIwet2/rgZywVRgCcDFShJbnoJR8lSmGmNS8k50HA
bm4AnjJfBvSDuzptaBVdJj9UOzxGjOsR
=hP9M
-END PGP SIGNATURE-


Re: [vchkpw] quotawarn file in users maildir

2011-05-11 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/11/2011 04:49 AM, Hartmut Wernisch | Domaintechnik.at wrote:
 Hello!
 
 I have installed vpopmail 5.4.33 and I plan to use quotas with vusaged.
 
 After some research I found that the quota warning messages are sent
 once in 24 hours (except the Maildir/quotawarn file is deleted
 manually).
 
 Therefor, the owner of the mailbox gets a warning mail, remove some
 mails within the 24 hours and did not recognize if the mailbox is over
 quota until the 24 hours are over. Even worse, he will think that he has
 solved the problem while new mails are bouncing.
 
 In my opinion it would be better if vpopmail removes the quotawarn file
 if the user is below the quota warning threshold. Vpopmail anyway hast
 to query if the mailbox is over quota on new mails so why not delete an 
 existing
 quotawarn file if the mailbox is below the threshold?

It is done this way because quota usage percentages can easily stay the
same by regular usage.  A user gets some mail, deletes some mail.  The
usage percentage won't change much.

If you set a threshold at which the quota warning is sent, and the
user's regular usage keeps hitting above and below this area, the user
will receive many warnings.

What you really mean to do is adjust how often the user can receive a
warning.  You can find this hardcoded setting in vdelivermail.c around
line 1150 in the deliver_quota_warning function.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3KqnkACgkQIwet2/rgZyx1GACfVg9R8OzDWl507hWN9pIEgVdB
eLwAnAknNp5/CkkewgviYd66Vsb57t30
=MFpE
-END PGP SIGNATURE-


Re: [vchkpw] Forward non-existing accounts to another server (same domain)

2011-05-09 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/09/2011 03:13 AM, Carlos Miranda Molina (Mstaaravin) wrote:
 Hi!
 
 I have one domain mydomain.com and i need split this between 3
 geographical places, differents users of course.
 
 the only solution that works for me is this:
 http://qmail.jms1.net/multi-location.shtml

qmail and vpopmail do not provide automatic support of this type of
clustering.  You will need to use a configuration like the one detailed
in the link above, or have development done on qmail and/or vpopmail to
implement this feature.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3H/V0ACgkQIwet2/rgZyySEwCfaDJaFKN65Tx3a/t4nTqp7x2N
lOYAn1MGc1loc8AF1vWHTvf4ZCm0mF8T
=SUiO
-END PGP SIGNATURE-


Re: [vchkpw] Rights problem on qmail / vpopmail

2011-05-06 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/06/2011 08:35 AM, OVH wrote:
 Hi,
 
 Since I implemented the patch chkuser  and smtp-auth on qmail 1.3 I have
 rights problems.
 
 If I keep the default setting of my vpopmail:
 -rwx--x--x 1 vpopmail vchkpw  73K juin  6  2006 vchkpw
 All works except smtp-auth

Don't modify permissions set by the installation procedure.  They're set
the way they are for a reason.  Re-install qmail and vpopmail binaries
from source, and leave the permissions they set.

Also, roaming users should *not* be used.  I would disable it, and
require SMTP authentication.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3D+bIACgkQIwet2/rgZyx5bwCeM76JSLg7fLqDzkRaUXwVsmBb
Xb0An07XIHS5wpnDtf/o8yAp8Tou8hi7
=M8c2
-END PGP SIGNATURE-


Re: [vchkpw] Binary files of vpopmail, FHS

2011-04-15 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/15/2011 09:07 AM, Johannes Weberhofer wrote:
 Dear all,
 
 I'm currently doing some packaging work for vpopmail, and have reviewed
 the file properties. I have seen, that all files (except vusaged in 5.5)
 have the properties set to -rwx--x--x 1 vpopmail vchkpw. Shouldn't
 that be more restrictive? E.g. set to 0750 or even owned by root? In an
 older package of mine (it was 5.4.25) I have set it to 0750 root.root,
 which did never cause any problems.

You may set the permissions how you like, but there's really nothing
secret contained within the vusaged binary in 5.5.  The permissions
you're referring to, which have been kept from 5.4 just because there's
no reason to change them, were there because the binaries statically
linked authentication mechanisms that sometimes had hard-coded
authentication values in them.

5.5 binaries do not statically link against the authentication backend.

In this case, you would be concerned about permissions on the shared
objects used for authentication.

 Regarding the FHS, I think those binaries should be moved to /usr/sbin.
 What do you think?
 
 Regarding the documentation I'd recommend to change the examples to
 install vpopmail into /var/lib/vpopmail, following the FHS 2.3 section 5.1.

What examples are you referring to?
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2oUscACgkQIwet2/rgZyyVeQCcCyKX+Tw4921dzod5E7vYk3Y7
p8oAnAgxKHWK0z/VeihdSU6e3v+5UarO
=DeIG
-END PGP SIGNATURE-


Re: [vchkpw] Binary files of vpopmail, FHS

2011-04-15 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/15/2011 09:47 AM, Johannes Weberhofer wrote:
 Tools like vadddomain fails when called by a regular user (Error: Can
 not make domains directory). I haven't checked for the other tools, but
 I think no user except root can use those. So it could be good to change
 permissions to 0750 root.root. It's a kind of security improvement, too.

Correct, users do not have the proper permissions to execute these
commands.  You may place any permissions on these files that you would
like.  Regular users (non-root, non-vpopmail, and non-vchkpw) cannot
execute these commands because they read/write resources their uid:gid
cannot access.

In 5.5, the binaries do not contain any sensitive information, so being
able to read or execute the binary as a regular user does not matter.

 You don't see any issues on moving the binaries to /usr/sbin, so you?

Nope.  The binaries do not care where they are located.

 Regarding the FHS, I think those binaries should be moved to /usr/sbin.
 What do you think?

 Regarding the documentation I'd recommend to change the examples to
 install vpopmail into /var/lib/vpopmail, following the FHS 2.3
 section 5.1.
 
 What examples are you referring to?
 
 I had a look on doc/INSTALL.

I don't see any reference to FHS pathing in doc/INSTALL.  The only
change in 5.5 in regards to FHS, is that vpopmail will support alternate
pathing than the default ~vpopmail style.

This was added to support FHS, but by default, vpopmail plans to
continue its default behavior of installing under the vpopmail user's
home directory.

Hope that helps!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2oW/UACgkQIwet2/rgZyyCbgCdEzXpeJHo11MaPXxacExHPilY
s8wAoIekWGr8rhb56bIA+GkzKCi/fOJO
=H65Q
-END PGP SIGNATURE-


Re: [vchkpw] Problem with autorespond

2011-03-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/07/2011 08:40 AM, Mindsweep Inc wrote:
 Hello,
 I am running a vpopmail system with MySQL database and maildir++
 patches based on instructions at http://www.shupp.org/toaster/.
 
 I am having problems with the autorespond.  When users set a vacation
 message, qmailadmin uses the autorespond from Inter7.  People sending
 to users with vacation messages active will immediately receive a
 response from the MAILER-DAEMON saying that the user is over quota. 
 The problem is is that this user does not have a quota set.  If I set
 a quota, everything goes through fine.  Any ideas?

What version of vpopmail are you using?  Also, is the MAILER-DAEMON
bounce from your system, or the sender's system?
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk109GEACgkQIwet2/rgZywM5wCfTQjVsAfBKBz8N0n0avlTVlZX
KwkAnjk7t5RsXPPSe9389nc3px41mubp
=6YVi
-END PGP SIGNATURE-


Re: [vchkpw] Problem with autorespond

2011-03-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/07/2011 09:59 AM, Mindsweep Inc wrote:
 Running vpopmail 5.4.18 (I know it's not the latest version, but
 trying to track down other possible causes before switching). 

Please try 5.4.33, and let us know if the problem continues.
Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk11AW4ACgkQIwet2/rgZyz74QCeI/wtg8nzIz0Zrtavrw4EmhF0
5+sAnjN/L/GL8rFzvDQLywwwAg6DHogM
=KukN
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-03-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/02/2011 01:21 AM, Salman Riaz wrote:
 Dear Matt,
 
 I have configure the POP as following in my qmail

Have you patched qmail to support Maildir++?
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1uSVkACgkQIwet2/rgZywg6ACfYzfLNw7DzJgC3xGw+WVj3ynk
GlIAn2mDRjBXhgr4qkSU0X0rStB8mcWq
=zNAl
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-03-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/01/2011 03:07 AM, Salman Riaz wrote:
 Dear Matt,
 
 I have tested the new vpopmail-5.4.33. When I use pop protocol to
 download the emails then it does not update the maildirsize file. When

That's the fault of your POP server.  Whatever POP server you're using
needs to support Maildir++.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1s82sACgkQIwet2/rgZyySjQCfcmtKuWCoX+nv6SDar8aQsZqu
F3QAnA1X/KKzNg4hOYvGmNcoUFcyipWc
=cIo4
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-03-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/01/2011 04:33 AM, Salman Riaz wrote:
 Dear Alessio,
 Its now working fine. I am using courier imap with vpopmail-5.4.33. I
 have also checked the code of maildirquota.c. It majorly depends on
 the recalculating time of quota not on the size (5120 bytes or more)
 of emails. If we reduce this time it will results load in the server.
 It is set as 15 minutes for the optimum load on the server.
 
 When I have use IMAP then it updates the quota at the same time. When
 I use POP then it updates the quota after 15 minutes. Currently I am
 conducting more tests  to understand the working of this vpopmail.

The reason it updates after 15 minutes is because any process that
looks at the maildirsize file must update it completely if it was
created 15 minutes ago or more.

It sounds like your POP server doesn't support Maildir++.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1s878ACgkQIwet2/rgZyxpHgCcD7AJYR0GoF0X3dXt+Tg5Ko+R
/FAAoIMzgjtpCQq/szBRbOVqv4mKY+2C
=ryOX
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-02-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/26/2011 01:15 AM, Salman Riaz wrote:
 There is no email in my directory but maildirsize shows that 2157743
 bytes quota is still full:

vpopmail doesn't delete messages, and so, the process that is
responsible for this, is likely the responsible party here.

 Tell me why maildirsize is writing wrong entry. How can I get rid of
 this problem?

What vpopmail version are you using?
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1rqjkACgkQIwet2/rgZyxMcACfQ6JVUYWiO5rA9OVrLhjTC4/C
oZYAnia33mHDqEzd0v30pcyPSCgPDVmM
=5KV5
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-02-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/27/2011 10:48 PM, ke...@kens.fm wrote:
 I revise it in this way and use it.

I am looking over this.  Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1rtAQACgkQIwet2/rgZyzGwgCeIpx2chLLw2oQICpxkCB+iBSg
WKUAn1lrrRhuiFrtUHcokhW9dgmm2Wj0
=kjU4
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-02-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2011 08:41 AM, Matt Brookings wrote:
 On 02/27/2011 10:48 PM, ke...@kens.fm wrote:
 I revise it in this way and use it.
 
 I am looking over this.  Thanks!

It's amazing this went undetected as long as it did.  I've added this
patch is Subversion, and I'll be updating the 5.4.33 tarball on
SourceForge shortly.

Thanks again!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1rtXIACgkQIwet2/rgZyy+lACdGXvIZ9rhfzNo5d38blADpn1n
sGcAmwUOriOpM9Xe5sLrM2cPgJ6D/RHE
=itIN
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-02-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2011 12:13 PM, Salman Riaz wrote:
 Dear Matt,
 I am using vpopmail 5.4.32...

Please try the latest 5.4.33.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1r5e8ACgkQIwet2/rgZyxA+QCdHXUhYZtMkB8ycv94VbFDR/Ce
JX0AnjlzE8dDKV3T796BbamvfgtKoSf2
=tKSW
-END PGP SIGNATURE-


Re: [vchkpw] maildirsize problem

2011-02-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/28/2011 12:24 PM, Salman Riaz wrote:
 Dear Matt,
 
 I have used vpopmail 5.4.25 and also 5.4.32 I think that
 maildirsize lies with courier-imap not with vpopmail Am I right??
 I have not find any clue in the vpopmail to write maildirsize file
 when an email is received.
 
 The file which write maildirsize is maildirquota.c and maildirquota.c
 is responsible for updating the record in this

You are reporting issues with older versions.  Please try the latest
version, and let us know if the issue continues.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1r6c0ACgkQIwet2/rgZyzkFQCfXBpNvhcih79s9/depPZ7qcsC
1bsAn3UJ1ZwiT5lDZYwr3wVRbBl4nHCP
=sBeI
-END PGP SIGNATURE-


Re: [vchkpw] Unusual Quota percent

2011-02-11 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/2011 10:48 PM, Jorge Valdes wrote:
 Hi,
 
 I have been using vpopmail for years, but this is my first 64bit OS install.
 
 I am using vpopmail 5.4.17 (slightly modified) that is working on

Give 5.4.33 unmodified a try, and see if that works for you.  If the
problem continues, let us know.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1VRNkACgkQIwet2/rgZyylNQCglDcu4CRsL0r6aL6TQIS+lLQd
GM4AnjqnO6YVTY05ZPxeRuHhX1uUHJhO
=8dep
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-11 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/11/2011 08:33 AM, Alessio Cecchi wrote:
 But with vmoddomlimits I can not set quota over 2GB:
 
 vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -q 4069M test.com
 or with
 vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -q 4294967296 test.com
 
 vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -S test.com | grep Quota
 Domain Quota: 0 MB
 Default User Quota: 2147483647 bytes
 
 Quota is always 2GB.

Oh, I may not have mentioned, there had to be a database schema change
for MySQL limits to work.  You can either drop the entire limits
table, and vpopmail will re-create it, or you can modify the table.
Check out vmysql.h for the layout.  Notice the disable_maildrop
addition, and the changes from INT to BIGINT.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1VSrIACgkQIwet2/rgZyypcwCfQO6ubgLrslG0bU0zqa3omfGW
/jQAmgI5pcq+MhknA2/HdMBQvyUIWhDy
=aAi5
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-11 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/11/2011 08:35 AM, Alessio Cecchi wrote:
 Il 08/02/2011 22:36, Matt Brookings ha scritto:
 On 02/08/2011 02:48 PM, Matt Brookings wrote:
 [...]
 http://www.mail-archive.com/vchkpw@inter7.com/msg27754.html

 Working on this.

 I've committed changes to Subversion, and uploaded a tarball to
 SourceForge that add the disable_maildrop flag, as well as fix a bug
 in the MySQL module that didn't allow for large quotas in the limits
 configuration.
 
 
 Hi Matt,
 
 disable_maildrop flags seems ok now, but please add to doc/UPGRADE:
 
 ALTER TABLE `limits` ADD `disable_maildrop` TINYINT(1) DEFAULT '0' NOT
 NULL AFTER `disable_spamassassin`;
 
 otherwise you will always get an error when try to use vpopmail/bin tools.

I added the ALTER commands for the quota fields as well:

ALTER TABLE `limits` MODIFY `diskquota` BIGINT UNSIGNED NOT NULL
DEFAULT 0;
ALTER TABLE `limits` MODIFY `maxmsgcount` BIGINT UNSIGNED NOT NULL
DEFAULT 0;
ALTER TABLE `limits` MODIFY `defaultquota` BIGINT UNSIGNED NOT NULL
DEFAULT 0;
ALTER TABLE `limits` MODIFY `defaultmaxmsgcount` BIGINT UNSIGNED NOT
NULL DEFAULT 0;

These will go into the final release.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1VTEQACgkQIwet2/rgZyz3ygCfaJevtikFAWxx05VMQMF/MQM3
+HEAnRNBNUbjVC9kRTqXjqX8Y8EiGCsz
=uHfL
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-11 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/11/2011 08:54 AM, Alessio Cecchi wrote:
 Ok, now, after delete limits table vpopmail recreate it for me and
 default quota works fine :-) I'm very happy.
 
 What is now the highest quota manageable in a vpopmail + qmail (and
 dovecot as imap server) installation ?

vpopmail will handle a 64bit unsigned integer:

  $ echo '2^64-1' | bc
  18446744073709551615

That's a pretty big quota.

I had to make quite a few changes for the larger quota size.  Please
let me know if you run across any problems.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1VTwoACgkQIwet2/rgZyw4cwCeMsrOq+rkhyE0jhiA0aNg7Zmk
Cb8AnRlLyb5tANVBoFmEVsG8kBxBAQty
=ftIy
-END PGP SIGNATURE-


[vchkpw] New 5.4.33 tarball on SourceForge

2011-02-11 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The latest development version, 5.4.33, can be found on SourceForge.
The only changes in the new tarball are updated upgrade instructions
for MySQL limits.

I had hoped to mark this package stable this week, but it's looking
like at least one more week is in order.

Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1VWaYACgkQIwet2/rgZyw8iQCfVQQ++53J7392iSnfF/XddGy+
pLMAoIqd7Log669k1n0gwZulIXZMp+wM
=JOp7
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-08 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/08/2011 01:19 AM, Alessio Cecchi wrote:
   $ ./configure --enable-mysql-limits --enable-auth-module=mysql
 --enable-logging=p --enable-maildrop --enable-valias

Ah, I missed the custom vlimits stuff in the MySQL module.  I fixed
this in Subversion, and put a new 5.4.33 tarball on SourceForge.

 When -S report 18446744071562067968 bytes in mysql limit's table -
 defaultquota report: -2147483648 (the same value before vpopmail
 upgrade).
 
 Note that if I update quota manually in mysql limit's table -
 defaultquota vmoddomlimits -S test.com show the right quota.

Remove any negative values from the database.  These values are not
supported.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1RXKIACgkQIwet2/rgZyxVsgCeJunqBT1buxT0liEA6j3fGk61
k5sAn2v6XhpdJVYxlsV9v8JdfIHrnt1H
=T0kM
-END PGP SIGNATURE-


[vchkpw] qmailadmin 1.4.16 added as a development version

2011-02-08 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You can find the source under the Subversion branches directory, or on
SourceForge.

Current ChangeLog:

  - Removed mailbox image
  - Updated quota code to work with vpopmail v5.4.33
  - Fixed some compiler warnings
  - Updated default compiler flags
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1RcDsACgkQIwet2/rgZywRKQCdF6DDWYVDlOHR8zPbCKuKtZIw
K/EAnRa+nkVKvdOP4DSYSjcoeez50HBm
=ro1P
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-08 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/08/2011 11:43 AM, Alessio Cecchi wrote:
 When -S report 18446744071562067968 bytes in mysql limit's table -
 defaultquota report: -2147483648 (the same value before vpopmail
 upgrade).

 Note that if I update quota manually in mysql limit's table -
 defaultquota vmoddomlimits -S test.com show the right quota.

 Remove any negative values from the database.  These values are not
 supported.

I found some more work that needs to be done to get vlimits working
with MySQL.  I'll have these out shortly, along with the fix for the
maildrop flag.

 Matt, I have find another bug in vmoddomlimits with MySQL configuration.
 
 If you try to set the no maildrop flag with -g m nothing changes.
 Plus in MySQL vpopmail.limits table does not exist :-) I do not know
 whether other fields are missing from the database.
 
 Here you can find another mail about this problem:
 
 http://www.mail-archive.com/vchkpw@inter7.com/msg27754.html

Working on this.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1RrBkACgkQIwet2/rgZyxXqACfWaP78ZJBrF7xUjl5tKpJewW1
erQAn1qZx8xbtzlmq6nVrALoh+zMIrDj
=5kDJ
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-08 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/08/2011 02:48 PM, Matt Brookings wrote:
 On 02/08/2011 11:43 AM, Alessio Cecchi wrote:
 When -S report 18446744071562067968 bytes in mysql limit's table -
 defaultquota report: -2147483648 (the same value before vpopmail
 upgrade).

 Note that if I update quota manually in mysql limit's table -
 defaultquota vmoddomlimits -S test.com show the right quota.

 Remove any negative values from the database.  These values are not
 supported.
 
 I found some more work that needs to be done to get vlimits working
 with MySQL.  I'll have these out shortly, along with the fix for the
 maildrop flag.
 
 Matt, I have find another bug in vmoddomlimits with MySQL configuration.
 
 If you try to set the no maildrop flag with -g m nothing changes.
 Plus in MySQL vpopmail.limits table does not exist :-) I do not know
 whether other fields are missing from the database.
 
 Here you can find another mail about this problem:
 
 http://www.mail-archive.com/vchkpw@inter7.com/msg27754.html
 
 Working on this.

I've committed changes to Subversion, and uploaded a tarball to
SourceForge that add the disable_maildrop flag, as well as fix a bug
in the MySQL module that didn't allow for large quotas in the limits
configuration.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1Rt3oACgkQIwet2/rgZyzW1QCdGpNe7TlhpmDmLlaS8uD5D4lu
7RcAmgPnkw7wzD6+7y99RuTmiFS8nIiA
=a6PG
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/07/2011 03:36 AM, Alessio Cecchi wrote:
 but with 2048M (or 2147483648 byte)
 
 www:~# /home/vpopmail/bin/vmoddomlimits -q 2048M qboxmail.com
 www:~# /home/vpopmail/bin/vmoddomlimits -S qboxmail.com | grep Default
 User Quota
 
 Default User Quota: 18446744071562067968 bytes

Odd.  Looking into this.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1QFwwACgkQIwet2/rgZyy2ugCeOkOnIYvOXrzzAJXm69VBOy0B
aLQAoIj7+VEJgvcuHLWEKdrZxA7Pvj0L
=iY92
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/07/2011 10:00 AM, Matt Brookings wrote:
 On 02/07/2011 03:36 AM, Alessio Cecchi wrote:
 but with 2048M (or 2147483648 byte)
 
 www:~# /home/vpopmail/bin/vmoddomlimits -q 2048M qboxmail.com
 www:~# /home/vpopmail/bin/vmoddomlimits -S qboxmail.com | grep Default
 User Quota
 
 Default User Quota: 18446744071562067968 bytes
 
 Odd.  Looking into this.

Hmm.  Are you sure you're using 5.4.33?

# ~vpopmail/bin/vmoddomlimits -v
version: 5.4.33

# ~vpopmail/bin/vmoddomlimits -q 2048M test.com
# ~vpopmail/bin/vmoddomlimits -S test.com
Default User Quota: 2147483648 bytes

Can you please post the
~vpopmail/domains/qboxmail.com/.qmailadmin-limits file contents?
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1QF7IACgkQIwet2/rgZyyvVACfRx+7Fsvjo6RLASCY9QNn6PsN
m7kAn2Bs9XyszBXUYAnZvDaiUxPtiCmB
=aArr
-END PGP SIGNATURE-


Re: [vchkpw] vpopmail v5.4.33 added as a development version

2011-02-04 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/03/2011 06:45 PM, Tom Collins wrote:
 On Feb 3, 2011, at 8:06 AM, Matt Brookings wrote:
  - Changed relevant quota code to use storage_t 64bit type
 
 Matt,
 
 How will other programs (like qmail, QmailAdmin and the POP/IMAP servers) 
 handle 64-bit quotas?  Is this only for the vusagec/vusaged setup, or does it 
 affect maildirsize as well?

Tom, programs calling vpopmail to determine quota usage (including
chkuser), pretty much all use vmaildir_readquota, which returns the
quota usage as a percentage.  They are not concerned with the exact
numbers.

Programs reading or writing the maildirsize file should follow the
specification, and as a result, they should not be impacted by the
size of the values in the file.

If anyone does come across a program which the 5.4.33 version seems to
break, please let me know.  I will be looking over Inter7 software and
creating patches for the 5.4.33 version, as necessary.

Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1MFccACgkQIwet2/rgZyysvACfcN9fhjuUHVJBRmprG9ISMd4f
BVYAn2c/p6U8bZVqkh6LJe1Ono99yBz+
=rwWy
-END PGP SIGNATURE-


[vchkpw] vpopmail v5.4.33 added as a development version

2011-02-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've added v5.4.33 to the branches section of the Subversion
repository.  I will be uploading a tarball to SourceForge shortly.
The current changes are:

  - Defaulted to Server::Disable=True in vusagec.conf
  - Fixed bug that didn't install vusagec.conf
  - Changed relevant quota code to use storage_t 64bit type
  - Fixed bug where backfill code wouldn't compile when FILE_LOCKING
was enabled

Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1K0moACgkQIwet2/rgZyztdwCfRAbsn0E4uRxV4K1QrSwK3XQd
Zy8An3e/5txfbWN4CcKgW0CKJRM9c/w2
=49+M
-END PGP SIGNATURE-


[vchkpw] v5.4.33

2011-02-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I had not checked SF for new patches before releasing the 5.4.33
development version.  I've re-uploaded 5.4.33 with some additional
work done by another contributer.

The changes from 5.4.32 to 5.4.33 are now:

  - Defaulted to Server::Disable=True in vusagec.conf
  - Fixed bug that didn't install vusagec.conf
  - Changed relevant quota code to use storage_t 64bit type
  - Fixed bug where backfill code wouldn't compile when FILE_LOCKING
was enabled
  - Dynamic allocation of valias data
  - Use of open/fchdir rather than getcwd/chdir to maintain current
working directory
  - Fixed a broken symbolic link check

You can find the latest 5.4.33 under the branches directory in
Subversion, or as a tarball on SourceForge.

Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1K2gAACgkQIwet2/rgZywEigCfTe4IoZ1byr62vKeDGZ52duEs
5IQAn0tPl4OynFt+KVV+e17AnznyhOOQ
=sCul
-END PGP SIGNATURE-


Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/01/2011 10:17 AM, Alessio Cecchi wrote:
 with vpopmail 5.4.32 (but also older version) I have problem to set
 the quota for domains to 2GB (2048MB)
 
 If I set quota like this:
 
 /home/vpopmail/bin/vmoddomlimits -q2147483648 domain.com
 or
 /home/vpopmail/bin/vmoddomlimits -q2048M domain.com
 
 /home/vpopmail/bin/vmoddomlimits -S domain.com show a wrong quota of:
 
 Default User Quota: -2147483648 bytes
 
 If I set quota to:
 
 
 /home/vpopmail/bin/vmoddomlimits -q2147483647 domain.com
 
 works fine:
 
 Default User Quota: 2147483647 bytes
 
 Is vpopmail/vmoddomlimits unable to manage quota more than 2GB but can
 manage quota of 2GB -1 byte?

Please try the 5.4.33 development version.
Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1K2h0ACgkQIwet2/rgZywiawCfcV4mqOy+Yb4MHVzgRtRzURlW
EHsAn3ia3Or+J7sUmBFoGBCwqYWb1YMU
=mfmn
-END PGP SIGNATURE-


Re: [vchkpw] vusaged compile error

2011-01-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/23/2011 01:53 AM, Qmail List wrote:
 Hi,
  
 Tried to compile vusaged, but during the command ./configure i had
 encounter the error
  
 checking for vauth.h... yes
 checking for vauth_getpw in -lvpopmail... no
 checking for vauth_getall in -lvpopmail... no
 checking for get_domain_entries in -lvpopmail... no
 checking for client_query_quick in -lvpopmail... no
 configure: error: No vauth_getpw in libvpopmail
 What did i miss out?

What version are you compiling vusaged under?  In the 5.4 tree, you
have to already have the version installed that vusaged compiles against.

If you're compiling a 5.4 version, run make install in the main
source directory, and then try to compile vusaged.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk09lhoACgkQIwet2/rgZyyOmgCgi+yZ/jr5hnVzXtAxLcd+Ie7F
vbwAn3DnWLkvdCiTOP7zBSKQHugAJq53
=Fzow
-END PGP SIGNATURE-


Re: [vchkpw] vusaged compile error

2011-01-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/24/2011 09:32 AM, Qmail List wrote:
 Hi Matt,
 
 I am trying to compile 5.4.32. I had also did make install in
 /var/src/vpopmail-5.4.32 but still having the same problem.
 
 What can i try next?

The error means the protocol API used by the vusage daemon is not in
the vpopmail library.  vauth_getpw is not found either, which is a
staple vpopmail API call.  It looks like it may not be able to find
the vpopmail library.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk09m/gACgkQIwet2/rgZyy/5wCfQcKTOeIPUw3cunbMxUQJAX5F
14cAn1CGBz5mSh5TpiudYYJQzP4U3kHq
=qyi4
-END PGP SIGNATURE-


Re: [vchkpw] vusaged compile error

2011-01-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/24/2011 09:46 AM, Qmail List wrote:
 Hi,
 
 I wanted to recompile vpopmail. So i did a make clean. I noticed
 vusagec. Is this the daemon you were mentioning about?
 
 Is there a way to check why am i missing vusage and vauth_getpw?
 
 test -z libvpopmail.a || rm -f libvpopmail.a
 test -z vchkpw vdelivermail clearopensmtp vadddomain vdeldomain
 vpasswd vadduser vdeluser vaddaliasdomain vsetuserquota vpopbull
 vdeloldusers vmoduser valias vuserinfo vmkpasswd vipmap vdominfo
 vconvert vkill vmoddomlimits vchangepw dotqmail2valias vpopmaild vlist
 authvchkpw vusagec || rm -f vchkpw vdelivermail clearopensmtp
 vadddomain vdeldomain vpasswd vadduser vdeluser vaddaliasdomain
 vsetuserquota vpopbull vdeloldusers vmoduser valias vuserinfo
 vmkpasswd vipmap vdominfo vconvert vkill vmoddomlimits vchangepw
 dotqmail2valias vpopmaild vlist authvchkpw vusagec

What is the configure line you're using?  Also, post the config.log
and config.h the configure generates (using pastebin or some other
service).
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk09oDYACgkQIwet2/rgZywdTwCgkLr6kDrsWkBZgKom55hHGqjn
ht8AnRBwwVltwRLVYwwosUNS10DCO+PF
=BenR
-END PGP SIGNATURE-


Re: [vchkpw] vusaged compile error

2011-01-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/24/2011 10:22 AM, Qmail List wrote:
 Hi,
 
 For Vpopmail, i did this.
 
 ./configure --enable-logging=v \
 make
 make install-strip
 
 Vpopmail config.log
 http://pastebin.com/5xZT1EiH
 
 Vpopmail config.h
 http://pastebin.com/t6FQzp0U
 
 For  Vusaged, i did this.
 ./configure
 make
 
 Vusaged config.log
 http://pastebin.com/78MsKPjh
 
 Vusaged config.h
 http://pastebin.com/k9kk7Zff

In the vusaged source directory, run make clean, then export
LDFLAGS='-ldl', then try to build again.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk09qEAACgkQIwet2/rgZyxwcwCeONznJ20IUr4foSEJP9Q0T7H8
yekAoIj7gQGVLgKW9ukt2xmB4ktmDr/g
=oU9N
-END PGP SIGNATURE-


Re: [vchkpw] vusaged compile error

2011-01-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/24/2011 10:26 AM, Matt Brookings wrote:
 On 01/24/2011 10:22 AM, Qmail List wrote:
 Hi,
 
 For Vpopmail, i did this.
 
 ./configure --enable-logging=v \
 make
 make install-strip
 
 Vpopmail config.log
 http://pastebin.com/5xZT1EiH
 
 Vpopmail config.h
 http://pastebin.com/t6FQzp0U
 
 For  Vusaged, i did this.
 ./configure
 make
 
 Vusaged config.log
 http://pastebin.com/78MsKPjh
 
 Vusaged config.h
 http://pastebin.com/k9kk7Zff
 
 In the vusaged source directory, run make clean, then export
 LDFLAGS='-ldl', then try to build again.

Er... Run make distclean .. set LDFLAGS as above, and then
./configure  make.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk09qGYACgkQIwet2/rgZywAwACZAYLxh1ikvIx4TwXGgDp8nSIe
bYIAn2Fh/WiqMrQ0aR6YheHe3pqmKXi/
=tV5t
-END PGP SIGNATURE-


Re: [vchkpw] vusaged compile error

2011-01-24 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/24/2011 10:34 AM, Qmail List wrote:
 Hi,
 
 I followed your instruction.
 
 export  LDFLAGS='-ldl'

It's export LDFLAGS='-ldl'.  There's no  in it.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk09qrsACgkQIwet2/rgZyyoqQCeMW5JswM/TQREdpvqSEP1wan0
/ogAoIc1xoSHC/MF3A0tDhGwEQ+8sGc+
=bwIs
-END PGP SIGNATURE-


Re: [vchkpw] valias problem

2011-01-20 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/20/2011 02:17 AM, Igor Smitran wrote:
 if vpopmail is configured to keep valias data in database then all
 emails sent to i...@domain.tld will be forwarded to
 someu...@domain.tld, but all emails to info-someth...@domain.tld will
 be forwarded to someu...@domain.tld too!

Are you sure you do not have --enable-qmail-ext configured?
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk04T4UACgkQIwet2/rgZyx30QCeLekxAhbOFEfYfEinmVUGmtwY
sQ8AnA51NZgwvw9FdNVL71cpdVNIV+8Q
=gTeQ
-END PGP SIGNATURE-


Re: [vchkpw] about authentication

2011-01-10 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/10/2011 07:30 AM, Bulent Malik wrote:
 Hello
 
 I have a mail server on vchpw,qmail. It works well. 
 Postfix has a feature named  reject_sender_login_mismatch . You know this
 feature will not allow an account to send any mails using other mail adres.
 How can I implement this feature on my mail server with vpopmail ?

Because vpopmail only provides authentication, it cannot provide the
feature you're asking about.

eMPF may be able to however.  http://www.inter7.com/?page=empf
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0rIYQACgkQIwet2/rgZyyHYgCfXaWeaLLeBe5l0OHc9KPOpHKR
ey4An2faf+8Etm/h0M2iwR7P1cc34ytB
=GKl4
-END PGP SIGNATURE-


Re: [vchkpw] security issue

2010-12-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/22/2010 05:06 AM, ckubu wrote:
 Hi,
 
 Mailsetup: qmail + vpopmail 5.5.27 + dovecot

I assume you mean vpopmail 5.4.27.

 Over the years, we didn't store cleatext versions of passwords. Some time 
 ago, 
 we wanted to change that setup and since that time, we used vpopmail compiled 
 without option --disable-clear-passwd, but know with 
 option --enable-learn-passwords . step by step, we wanted to get user's 
 passwords (we discussed that issue here on the list about 2 years ago). The 
 reason was, we wanted to change our mailsetup (postfix+dovecot). But that did 
 not work, means, cleartext version of password wasn't stored.
 
 All other was working fine and so i didn't change anything. This was a big 
 mistake, because since that time, all vpopmail mailboxes could be accessed 
 with an empty passwordstring, at least, if the clients were using cram or 
 digest authentication.
 
 I know about the misconfigured vpopmail, but i think this behavor isn't as 
 expected. In the documentation of the option --disable-clear-passwd is 
 explaned, that this option causes vpopmail to store cleartext version of 
 passwords in _addition_ to their encrypted versions, and so i think, the 
 described behavior is at least a security leak.

This should be fixed in the latest stable in the 5.4 tree.  Try
upgrading to 5.4.32.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0SDzgACgkQIwet2/rgZywOkwCfQAZzYjcOe80K9EV7Ipbxdnwl
VTQAoIgK65QoAlFCURgEJSQ/WEfHgBER
=NaZs
-END PGP SIGNATURE-


Re: [vchkpw] Re: vusagec math

2010-12-06 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/05/2010 06:25 PM, Eric Shubert wrote:
 Matt,
 I hope you've taken the block size into consideration for all files, not
 just those less than the block size. The unused space in the last block
 of all messages can add up. ;)

Correct.  The usage is based on multiples of the block size.  Feel
free to check the code and see if I've made any errors.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz9KLIACgkQIwet2/rgZyx93gCfcwLvYRnxUi8lRg/MAhwdVwSQ
TSAAnjIlOagWs/wR+2DXEUJktzR+EvJh
=LPKx
-END PGP SIGNATURE-


Re: [vchkpw] Re: Is 5.5 released?

2010-11-30 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/28/2010 04:10 PM, Eric Shubert wrote:
 So is 5.5 considered stable?
 If not, is there a stable version with which user quotas are working?

It's not considered production stable, but I consider it to be mostly
stable.  I run it in production in a few locations with no problems.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz1Dp8ACgkQIwet2/rgZywTawCbBd6rjhEUXcxvMgfxZO4OiQ1f
bhoAn2U9Bq98PiSW29kjdQ9KmHeD1gHe
=fqfS
-END PGP SIGNATURE-


Re: [vchkpw] vusagec math

2010-11-30 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/29/2010 04:45 AM, Igor Smitran wrote:
 I've noticed that vusagec calculates space based on file size, but it is
 prone to errors in case it needs to calculate many emails that are
 smaller than block size.
 In case file size is smaller than block size file system will use e.g.
 4KB for that file and vusagec will calculate real size. In my example
 file system is giving me 230 GB used space and vusagec gives me 100GB
 used space. It is huge error in my opinion.

It's true that it does not use the block size as the minimum size on a
file.  I'll add this as an option.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz1DtwACgkQIwet2/rgZyyH3gCeM2kXNKeF9fJ91AGo8tkPxRVp
/e4Anj6MCjwJ7MeakmNqT8Zad4Ggalth
=486b
-END PGP SIGNATURE-


Re: [vchkpw] Re: vusagec math

2010-11-30 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/30/2010 03:31 AM, Igor Smitran wrote:
 I would like to se usage based on file size on disk. When i see domain
 quota usage i need to know how much disk space is that.
 After all, user is using that space, i am not able to give it to someone
 else...

Added block usage calculation to the vpopmail usage daemon in 5.5.
You can find the change in Subversion.

Please note, if you have configured the vusage daemon to save a
database file, you will need to delete the database file or the
calculations will be off when it starts up with the block size
configuration.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz1X94ACgkQIwet2/rgZywZFwCggw3iYar24JLvwiYFel1AZSeE
tfsAnAioGn8GKnPIOq/8VXikyKPt8xcN
=p/Xw
-END PGP SIGNATURE-


Re: [vchkpw] add AuthType to lastauth table

2010-11-09 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/09/2010 01:45 PM, Rick Romero wrote:
 I'm interested in knowing not only what IP the user last auth'd, but
 also how they connected.  That gives me more info right from the tables
 on how a particular is using the system, and how the system is utilized
 overall.
 
 I attached a patch and honestly I haven't even tested yet - just thought
 I'd throw it out there..
 
 - It utilizes a new field 'type' char(10), and puts the text AuthType in
 there.  I'm not sure if a table change is handled via README or automated..
 - It also adjusts the vget_lastauth to grab the 'latest' record for that
 user from the lastauth table, no matter how they auth'd.
 - The new info is only accessible by direct query.

5.4 is feature-frozen.  It only accepts bugfixes.  If you would like
to work on the patch for 5.5, it would be appreciated.

Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzZrqYACgkQIwet2/rgZyybEgCeMJw6eoqxDy6q9WZe8Ewp4mi9
Hp8An0GI3yRsaUUijI/LFVLTNOQx1zlt
=ucT6
-END PGP SIGNATURE-


[vchkpw] Tagged 5.4.32

2010-11-08 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

5.4.32 is now marked stable.  You may find the 5.4.32 tarball on
SourceForge, and under the tags directory in Subversion.

Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzYEc8ACgkQIwet2/rgZyyDDwCglKccKOzfp3beO5EgIN8+Wo0S
s8cAnjv4LU+vWSrf6jFdjPa5DEh49tGP
=+SD6
-END PGP SIGNATURE-


[vchkpw] Fixes in 5.5

2010-11-05 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've added a patch to the vpopmail trunk which fixes some systems
having issues reading the contents of password_strength.conf.  If
you're having a problem, upgrade via the trunk.

I will be releasing a new 5.5 snapshot shortly.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzUTsQACgkQIwet2/rgZyzNjQCfY+9mcyCLvyZvrjzDiaLtv3Jy
pZIAmwWyVuoOCQt26BbdUXZQhJTIEKP8
=+z1Z
-END PGP SIGNATURE-


Re: [vchkpw] Is 5.5 released?

2010-11-03 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/03/2010 08:15 AM, Jason Frisvold wrote:
 On Nov 2, 2010, at 3:56 PM, Matt Brookings wrote:
 SourceForge shows the latest file release on the main page.  If you
 look at where 5.5 is kept, it's still under the development area.
 
 Would this be the main page?
 
 http://sourceforge.net/projects/vpopmail/

Correct.

 I'm seeing 5.5 as the current version for download there.

That banner always shows the latest file uploaded.  Not necessarily
the latest stable release.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzRaYwACgkQIwet2/rgZyybSQCgkDVkwPDeB+6e8RRgM7tJoCnj
Iu4AoIe/uw5OLQtZnOqTiQRjjln6qmkR
=CQxb
-END PGP SIGNATURE-


[vchkpw] Password strength enforcement added to 5.5

2010-11-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've committed some changes to 5.5 that I've been testing for a time.
 It allows you to enforce the strength of passwords when creating new
users, or changing the passwords of existing users.

There is a good description of how it works in the
password_strength.conf file that now comes with 5.5, as well as some
example rules you can play around with.

I will be uploading a new 5.5 snapshot shortly.

Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzQR5AACgkQIwet2/rgZyyiuACfVtj/8d3Dbp5nvro7EK7FMq9E
UjAAn2XpJKsQWnVyC5w2n5VnE6WZIN0V
=x5wf
-END PGP SIGNATURE-


Re: [vchkpw] Password strength enforcement added to 5.5

2010-11-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/02/2010 12:17 PM, Matt Brookings wrote:
 I've committed some changes to 5.5 that I've been testing for a time.
  It allows you to enforce the strength of passwords when creating new
 users, or changing the passwords of existing users.
 
 There is a good description of how it works in the
 password_strength.conf file that now comes with 5.5, as well as some
 example rules you can play around with.
 
 I will be uploading a new 5.5 snapshot shortly.

I just uploaded a snapshot, but I will be re-uploading a new one.  I
decided to set a default password policy which requires passwords to
be at least six characters long.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzQSmEACgkQIwet2/rgZyyVjQCbB3CyhF6VVNExTJDey0YEObuG
Ml0AoIFRnGvbO3yJHIu3dSjtHl9BaslZ
=LIpW
-END PGP SIGNATURE-


Re: [vchkpw] Is 5.5 released?

2010-11-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/02/2010 02:53 PM, Jason Frisvold wrote:
 I was just notified that the sourceforge page was updated with a new
 release.  When I went and took a look, I noticed that 5.5 was listed as
 the current release.  So is 5.5 production worthy now?

SourceForge shows the latest file release on the main page.  If you
look at where 5.5 is kept, it's still under the development area.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzQbP8ACgkQIwet2/rgZyxZWACfTtuanRS4h7m2L/0fZ5MQOMXN
gkUAniKhy4UQ53cKpa6kgoquRioDo7ZB
=CTCQ
-END PGP SIGNATURE-


Re: [vchkpw] vpopmail 5.4.32 vusagec errors

2010-10-27 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/27/2010 02:42 AM, Igor Smitran wrote:
 Does anyone have any idea why vusage[d/c] is giving me these problems?
 
 Before vusage i was having normal qmail/vpopmail install with Maildir++
 quota. After that i recompiled vpopmail/qmail and started vusaged. Maybe
 i forgot to copy some of the files? User data is stored in mysql.
 Any help would be appreciated.

I just applied some changes to 5.4.32 and I am uploading a new
snapshot of the tarball.

Try it out and see if it's working.  Give SourceForge a few minutes to
show the new tarball.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzIOB4ACgkQIwet2/rgZywEDQCeIK4Zgxs615T4p7HwwjN9GExX
pikAn2wTZ/CGuMcag13rVgV6iRPgGBNB
=TE31
-END PGP SIGNATURE-


Re: [vchkpw] tcpserver-rblsmtpd-vpopmail issue

2010-10-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/22/2010 03:09 PM, Vik Nat wrote:
 I just build a new qmail box and am currently using vpopmail and have
 set up selective relay with pop-before-smtp and have applied the
 ucspi-mysql patch to ucspi-tcp. I have also enabled rblsmtpd and am
 using zen.spamhaus.org.  A remote pop session is correctly updating the
 relay table in the database. But I seem to be having an issue with the
 tcpserver as I am unable to send emails from a dynamic ip address even
 though the ipaddress has been added to the relay table.I am
 immediately being blocked by the rblsmtpd.  So it seems that tcpserver
 is not quering the relay table during the smtp connection.  I am using
 the ?V switch in the qmail startup file for tcpserver.  I have been
 searching all morning for a solution, any help would be much appreciated.

The RBL check should be done post-authentication.  If you use the
rblsmtpd command, even if the IP is trusted, it will be blocked by
rblsmtpd.

The other option is to modify rblsmtpd.c to honor the RELAYCLIENT
environment variable and exit if it's set.

Hope that helps.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzB8FQACgkQIwet2/rgZyzq5QCePSvI/ehopDf9+uM6X+aNWECG
fzYAoIbDN1Zh1z23uJmmHszX4/U6K1H4
=wEOF
-END PGP SIGNATURE-


Re: [vchkpw] tcpserver-rblsmtpd-vpopmail issue

2010-10-22 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/22/2010 03:37 PM, Vik Nat wrote:
 Thanks Matt.  Is there a patch available for rblsmtpd to allow selective
 relaying?

No, because rblsmtpd doesn't have information on how authentication is
done.  All it can do is check if an IP is on an RBL.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkzB9lIACgkQIwet2/rgZywctgCfQAEYBVU2Df+FmlOPUHehdzx/
q2kAni1tPNuD9swc7C4PXd0c2CH1/tl/
=n0m0
-END PGP SIGNATURE-


[vchkpw] Initial entry of the new OpenLDAP module added to trunk

2010-10-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It is not complete!  Do not attempt to use in production.  I've added
what I've tested fully on my end.  The valias functions are not there
because although I'm using the valias schema from the old module, the
valias entries will be under their associated domain, rather than all
under one organizationalUnitName entry.

That being said, I wanted to put it up there for people to play with
if they wished, and to make comments.

You should be able to add and delete domains and users, authenticate
against users, and deliver mail to users.

You will find the new code in the trunk along with a few other minor
changes.

Thanks!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyuSDMACgkQIwet2/rgZywh7ACggg+7soDkwCwMeO6Ypz7fHhJN
DiIAni3lcTUShb3JDZjHd5SXKF2yCh6e
=z1CQ
-END PGP SIGNATURE-


[vchkpw] Call for input on OpenLDAP authentication module

2010-10-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The module is nearing completion, and I'd like to ask for some
opinions on supported password formats.

Part of the module's goal is to provide an address book for users.
The LDAP server administrator can set down rights as to what parts of
the directory can be seen, and users can authenticate as themselves
against the LDAP server for this purpose.

That means that both vpopmail, and the LDAP server must both
understand the password field.  Because of this requirement, the
userPassword field from the inetOrgPerson schema is being used to
store the hashed password.

Another requirement is that the password be portable to other
authentication modules.  If one wishes to convert to another module,
and does not have plaintext passwords enabled, it should be possible
to convert the user's hashed password to the new module, even if it
requires some quick tweaks (eg. {SMD5} has the four byte salt at the
end, and is base64 encoded -- this could easily be reformatted)

Initially I had decided upon using the {SMD5} hash scheme, but this
requires that systems have MD5 support.  The next obvious choice is
the {CRYPT} scheme, however, OpenLDAP does not compile with this
feature enabled by default, and without it, the server cannot
authenticate clients.

So, to those of you with some experience with OpenLDAP, I'm looking
for some input on the optimal scheme (or schemes) to implement,
keeping in mind that the hashed password can (hopefully) be ported to
the other authentication modules if required, and the OpenLDAP server
must be able to authenticate against it.

The original module supported {MD5} and {CRYPT}, and that's what I'm
leaning towards here.

Thanks for any input you can provide!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkymPhcACgkQIwet2/rgZywgpACggRLVreT65fO267bBNp94RfhA
Z3wAnjIpq0fnAO6sP/FHhAAd8f0j4pUN
=fK4S
-END PGP SIGNATURE-


Re: [vchkpw] qmail/dovecot/vpopmail/oLDAP/sogo

2010-09-30 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/29/2010 05:42 PM, Peter Van den Wildenbergh wrote:
 Shane Chrisp wrote:
 On 10/09/10 02:14, Matt Brookings wrote:
  
 On 09/09/2010 12:37 PM, Peter Van den Wildenbergh wrote:

 Matt Brookings wrote:
  
 Peter, the LDAP module in 5.5 is actively being re-written and uses
 the inetOrgPerson schema as a base for its user entries.  It makes
 address books and single sign on easy.

 This will be available in beta form some time next week.  I would
 recommend waiting for that.
 Any news on this?

It's still actively being worked on!
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkykly0ACgkQIwet2/rgZyyx6ACfSpKqXoZU3X94OrGWks1cmybp
q/UAni65gnUMz8pKKKa0Gt2TZjnqVfsa
=ku5H
-END PGP SIGNATURE-


[vchkpw] vpopmail and Dovecot

2010-09-28 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In case any of you had run into problems with Dovecot 2.0.3, which had
dropped support for vpopmail due to problems working with its
authentication modules, Dovecot 2.0.4 has been released and is
confirmed as working with vpopmail 5.4 and 5.5.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyiFfEACgkQIwet2/rgZyzGvACeILqredtyp/sWWBrG15uJy2hh
0jwAniYrjgie/EGjXRoaz08Esot7nYb0
=Cmzz
-END PGP SIGNATURE-


Re: [vchkpw] vpopmail 5.4.32 added to SourceForge as a development version

2010-09-15 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/15/2010 09:18 AM, Johannes Weberhofer wrote:
 Hi Matt,
 
 it seems, that the 5.4.32 branch in SVN does not relate with the tar you
 have released. Is the branch up to date?

I'm not sure what you mean.  5.4.32 is still under development so any
tarball you may find on the site may be older than what you find in
the Subversion tree.  I don't believe I've made any changes since
releasing that version however.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyQ2vcACgkQIwet2/rgZywptgCfTELXB42kHfxdY0YxG6mZ6pkN
4noAoIMUGUWKMzCOqQSunp+4s/hqRoMQ
=xeXs
-END PGP SIGNATURE-


Re: [vchkpw] Fwd: VPOPMAIL DOVECOT SMTP-AUTH

2010-09-10 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/10/2010 12:45 PM, Davis Sylvester wrote:
 
 I am using Qmail and Dovecot for IMAP.  Prior to installing Dovecot we
 only offered POP3 and SMTP services.
 The issue I have run into is that after I installed Dovecot, IMAP runs
 fine, but when my users go to send email they can't.

This was just discussed on the list yesterday.  Dovecot caches user
information in memory and does not support roaming users.  You will
need to switch to SMTP authentication.

POP-before-SMTP is *bad*.

 Is there a simple resolution to resolve this issue?  I have looked at
 SMTP-AUTH but not sure it will work with vpopmail.

It works.  Just be sure that you have clear passwords enabled in
vpopmail if you want to support CRAM-MD5 authentication.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyKb0sACgkQIwet2/rgZyyejwCfYLmL2KCalSFjYVkylLdoL9R/
ZQ4An0Y6g/rcj8dhgl/cTyGOVSDfSFNU
=FMJj
-END PGP SIGNATURE-


Re: [vchkpw] no mailbox here by that name (chkuser) ?

2010-09-09 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/09/2010 04:50 AM, Julien Escario wrote:
 No mysql connection error.

Check to be sure your MySQL server information in
~vpopmail/etc/vpopmail.mysql works, and that the server is responsive
to queries.

 User can authenticate in the webmail (squirrelmail, IMAP, dovecot)

Dovecot caches information so it doesn't repeatedly hit the database.
 It will continue to authenticate users without a database backend.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyI8DwACgkQIwet2/rgZyxDJACfcENy80nG/a78udL175MW4WtM
jf0Ani44cRalQyjlKZ5eAj7ayJMo2hLo
=fguS
-END PGP SIGNATURE-


Re: [vchkpw] qmail/dovecot/vpopmail/oLDAP/sogo

2010-09-09 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/03/2010 05:24 PM, Peter Van den Wildenbergh wrote:
 So will this work / support my needs?
 
 OpenLDAP
 netqmail (anybody used Zinq - http://sourceforge.net/projects/zinq/ )
 dovecot - talking to LDAP
 vpopmail for 'linking' LDAP and Qmail + virtual domain management
 Sogo / imaps (no pop at all) with in a second stage Funabol
 MySQL only for Sogo Agenda. Would like to use LDAP for AddressBooks 
 User Auth

Peter, the LDAP module in 5.5 is actively being re-written and uses
the inetOrgPerson schema as a base for its user entries.  It makes
address books and single sign on easy.

This will be available in beta form some time next week.  I would
recommend waiting for that.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyI8cUACgkQIwet2/rgZyz6HwCglFanCaVnWsOvdp2B8O5cgzDX
17QAnREQqBnpvfMS+S1okGw5lQui2zIu
=UK/n
-END PGP SIGNATURE-


Re: [vchkpw] Pop-before-SMTP with Dovecot ?

2010-09-09 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/03/2010 03:32 PM, Joe @ 3ZZZ wrote:
 I don't see any errors, but the relay table never gets updated despite
 successful pop logins.  Am I missing something?  Could it be because I
 first configured Dovecot incorrectly (without the CFLAGS=) and if so
 what do I remove or change to allow it to work after recompile?

Dovecot caches information and does not reference vpopmail continually
for authentication.  It also does not support vpopmail's roaming users
feature explicitly, and so roaming users cannot work.

Switch to SMTP authentication.  Roaming users is *bad* and should only
be used by legacy systems.  If you need some pointers on switching a
large user base to SMTP authentication, let me know.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyI8wMACgkQIwet2/rgZywTZACfbKicOcsl/aWeeONn1dvjTbQu
JHcAnRQZr624d8Y65CfIB7jk4Q8zF2TO
=t1sh
-END PGP SIGNATURE-


Re: [vchkpw] no mailbox here by that name (chkuser) ?

2010-09-09 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/09/2010 09:44 AM, Julien Escario wrote:
 I don't know exactly what to check for libraries. I just installed the
 debian package :

ps auwx | grep mysql

 I dont think so. delete is what I want to remove those fake bounces that
 spammers are using now.

delete is bad.  You want bounce-no-mailbox.  The delete setting
accepts mail to bad recipients and silently drops it.  It makes
spammers think they're getting through to your users.  You will get
dictionary attacked.  bounce-no-mailbox will reject during the SMTP
session, no mail data will be transferred, and the spammer will give up.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyI838ACgkQIwet2/rgZyyVRACfYxmuh/mTqCzk2Lif9livW7FL
NN8An1QL0JBPOeJcsaNmqdH9y7thTDj9
=TmqI
-END PGP SIGNATURE-


Re: [vchkpw] no mailbox here by that name (chkuser) ?

2010-09-09 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/09/2010 09:45 AM, Julien Escario wrote:
 On 09/09/2010 04:50 AM, Julien Escario wrote:
 No mysql connection error.

 Check to be sure your MySQL server information in
 ~vpopmail/etc/vpopmail.mysql works, and that the server is responsive
 to queries.
 
 It is.

I am stumped then.  vpopmail says it can't connect to your database,
but your database is responsive.  Not sure where to go from there.  If
you would like us to take a look at it, give us a call.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyI9E8ACgkQIwet2/rgZyyQRQCfSeuJ/794IFQdgesAKvTihzXs
zpAAn1mxxPW5pf3U51yKb8F0adX9UNR7
=cfR1
-END PGP SIGNATURE-


Re: [vchkpw] qmail/dovecot/vpopmail/oLDAP/sogo

2010-09-09 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/09/2010 12:37 PM, Peter Van den Wildenbergh wrote:
 Matt Brookings wrote:
 Peter, the LDAP module in 5.5 is actively being re-written and uses
 the inetOrgPerson schema as a base for its user entries.  It makes
 address books and single sign on easy.

 This will be available in beta form some time next week.  I would
 recommend waiting for that.
   
 
 Cool... I can be a 'beta-tester' ;-)

I will send an email to the list when the new LDAP backend has been
added to Subversion.  I'll probably package up a snapshot too.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyJI/8ACgkQIwet2/rgZywH6QCdEpR2fIdjEMuu2J9O7U66xJQB
TTYAnRmkuAnsASR4kJ8oDISFaFTNgHpY
=++Ge
-END PGP SIGNATURE-


[vchkpw] ezmlm-idx BATV patch

2010-09-02 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I know this is a little off topic for this list, but today I had a
customer who manages some ezmlm lists, and some of their subscribers
were using Barracuda devices with BATV features enabled.

The lists are private, and so, they cannot accept mail from addresses
which are not subscribed.  Due to how BATV and ezmlm work, ezmlm feels
the sender is not subscribed.

Below is the patch which allows ezmlm to handle BATV-like syntax in
the envelope sender.  It skips the scheme=private= part of the BATV
addressing.  It does *not* implement BATV addressing.

Hope this helps someone!

PS: I know the below code is not commented well, and the variables
names are silly, but I tossed it together quickly as a test, and it
just worked.

- --- ezmlm-0.53-idx-0.41/ezmlm-issubn.c  1999-12-24 14:15:01.0
- -0600
+++ ezmlm-0.53-idx-0.41-batv/ezmlm-issubn.c 2010-09-02
15:05:53.0 -0500
@@ -1,5 +1,6 @@
 /*$Id: ezmlm-issubn.c,v 1.13 1999/08/07 20:45:16 lindberg Exp $*/
 /*$Name: ezmlm-idx-040 $*/
+#include stdio.h
 #include strerr.h
 #include env.h
 #include subscribe.h
@@ -30,9 +31,57 @@
   int flagsub = 0;
   int opt;

+  char *h = NULL, *t = NULL, *f = NULL, *b = NULL;
+
   addr = env_get(SENDER);
   if (!addr) die_sender(); /* REQUIRE sender */

+  /*
+ Test for BATV-like syntax
+ inter7.com
+  */
+
+  for (h = addr; *h; h++) {
+if (*h == '@')
+   break;
+   }
+
+  if (*h) {
+/*
+Find last =
+ */
+
+for (t = (h - 1); t  addr; t--) {
+   if (*t == '=')
+  break;
+ }
+
+  /*
+  Find first =
+  */
+
+if ((*t == '=')  (t  addr)) {
+   for (f = (addr + 1); f  t; f++) {
+  if (*f == '=')
+ break;
+}
+
+   if ((*f == '=')  (f  t)) {
+#if 0
+  fprintf(stderr, BATV:[);
+  for (b = addr; b = t; b++)
+ fputc(*b, stderr);
+  fprintf(stderr, ] for [);
+  for (b = (t + 1); *b; b++)
+ fputc(*b, stderr);
+  fprintf(stderr, ]\n);
+#endif
+
+  addr = (t + 1);
+   }
+ }
+   }
+
   while ((opt = getopt(argc,argv,nNvV)) != opteof)
 switch(opt) {
   case 'n': flagsub = 99; break;
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyAA+AACgkQIwet2/rgZyxPcQCfRN0fU06G5H1FgqJe3TfYi7BC
GcEAn2GAkRfovz2/EBHltIcF7RLNpIw2
=p/dQ
-END PGP SIGNATURE-


Re: [vchkpw] Need Help for TAP file

2010-09-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/01/2010 02:40 AM, Amit Dalia wrote:
 Hi Everyone,
 
 Is it possible to TAP 1 email id to multiple email id. Eg. I want to get
 a copy of incoming and outgoing mail for a...@xyz.com into 1...@xyz.com,
 2...@xyz.com, 3...@xyz.com  4...@xyz.com.
 
 Is it possible to do so by TAP file?

No, but you can make the address being tapped to forward to multiple
addresses.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx+XTYACgkQIwet2/rgZyzM2QCeIXOBYKdf2KLL+iqUmAEg4r43
w74AnRMJVeaeMs6kG5eDACof41e8x5yd
=627N
-END PGP SIGNATURE-


Re: [vchkpw] Need Help for TAP file

2010-09-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/01/2010 09:12 AM, Amit Dalia wrote:
 Hi Matt,
 
 I tried it but while tapping outgoing mails its going into loop since
 forwarding again put mail into qmail-queue where it get RE-TAP. I had
 tried it and it has generated 5000 mails in all account within minitue ot 2.

Use Maildir delivery in the dotqmail file so qtap won't see the queuing.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx+X5QACgkQIwet2/rgZyzvjACeL3Iep3mV/pUjDiuFXUCudX/V
EeoAnRR+e/+TNN9eNXupRPbnduaMsZEr
=5Ypo
-END PGP SIGNATURE-


Re: [vchkpw] Need Help for TAP file

2010-09-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/01/2010 10:03 AM, Amit Dalia wrote:
 Hi Matt,
 
 Do you mean my dotqmail file should have entry something like this:
 
 /home/vpopmail/domains/domainname/1/Maildir/
 /home/vpopmail/domains/domainname/2/Maildir/
 /home/vpopmail/domains/domainname/3/Maildir/
 /home/vpopmail/domains/domainname/4/Maildir/
 
 Where 1,2,3  4 are user whom I need to forward mail.

Exactly.  That doesn't use qmail-queue, and so qtap wouldn't see these
messages.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx+a1sACgkQIwet2/rgZyzJGwCeJ6tYaZHkVoeauQgvaIxbhkwk
Wu8An210K05n6h1iZSOsmL5iK9FOgd5G
=3nHA
-END PGP SIGNATURE-


[vchkpw] vpopmail 5.4.32 added to SourceForge as a development version

2010-09-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

5.4.32 addresses some issues with Maildir quotas and removes warning
messages about the vusage daemon not running when vusagec.conf is not
present.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx+h90ACgkQIwet2/rgZyyIkQCfaLYYzJHatwA0i15H5aryukfk
eOQAn3UlCgbSBfe3ffv/HsMbt8UfqTTb
=3B0D
-END PGP SIGNATURE-


[vchkpw] Changes to 5.5

2010-09-01 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Changes have been added to the Subversion trunk which address modules
which provide optional features back to the core API (eg.
authentication logging).

Additionally, the cdb module has been updated to enable authentication
logging by default.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx+q8gACgkQIwet2/rgZyw9hQCeMEeo4MmNhqQkiFLHp9oYpT/p
pMEAniAye48WkTrpQPi5eRWjMQzAQApa
=qbgs
-END PGP SIGNATURE-


Re: [vchkpw] webmail option...

2010-07-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/07/2010 01:14 AM, Den Arion wrote:
 
 courier authlib has not more support for vchkpw, what other option do I
 have for webmail? I install sqwebmail but I remembered too late the
 courier authlib doesn't have support for vchkpwd :(
 
 Thank you and have a good night (for those still awaken );-}

Use Dovecot for IMAP, and SquirrelMail or Roundcube for webmail.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw0iQUACgkQIwet2/rgZyzeWgCfXU61XM1lRZIVn5OFlrV9VoSe
bpcAn3N2/I1KCgauECJpVuEB5h7hdzWG
=/LxG
-END PGP SIGNATURE-


Re: [vchkpw] Error while installing Vpopmail with LDAP

2010-07-07 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/06/2010 07:21 PM, Amit Dalia wrote:
 Hi Matt,
 
 And when I try with command ./configure --enable-auth-module=ldap I
 get the below error:
 
 checking whether any discontinued --enable commands have been used... yes
 configure: error: --enable-auth-module is no longer used.  Please select
 a backend from the backends directory

You're compiling the beta, which has backend modules, rather than
compiled-in authentication schemes.  There is a directory called
'backends'.  Look in there, pick a backend, and run configure under
that directory.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw0icsACgkQIwet2/rgZyzeYQCeIolS7kP9i8xYBGEDuUZnw0TA
VZEAnA5hUzTUegsEsZNpjNUOsGAdmGIX
=iIMb
-END PGP SIGNATURE-


Re: [vchkpw] Error while installing Vpopmail with LDAP

2010-07-06 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/06/2010 01:49 PM, Amit Dalia wrote:
 checking whether any discontinued --enable commands have been
 used... yes
 configure: error: --enable-ldap has been superceded. Please use
 --enable-auth-module=ldap instead

This error is pretty descriptive.  You used an old configure option
that is not used anymore.  It provides you with the alternate too.

Use ./configure --enable-auth-module=ldap instead of ./configure
- --enable-ldap
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwzqnAACgkQIwet2/rgZyyojwCePcqEMi7WNn6tmLKmzVSuv2xB
WDoAni5DThg8Ci+8AWJKiHp2M7YUJvrp
=cUXU
-END PGP SIGNATURE-


Re: [vchkpw] qmail, starttls and vchkpw

2010-06-30 Thread Matt Brookings
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/30/2010 01:18 AM, Den Arion wrote:
 exec /usr/local/bin/softlimit -m 25600 \
 /usr/local/bin/tcpserver -vR -l $LOCAL -x /etc/tcp.smtp.cdb -c
 $MAXSMTPD \
 -u $QMAILDUID -g $NOFILESGID 0 smtp
 /var/qmail/bin/qmail-smtpd /data/apps/vpopmail/bin/vchkpw true maildir 21

This is your problem.  The qmaild user can't access vpopmail
resources.  You need to run this as vpopmail:vchkpw.
- -- 
/*
Matt Brookings m...@inter7.com   GnuPG Key FAE0672C
Software developer Systems technician
Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwrUSUACgkQIwet2/rgZyxHbQCdEGhnpV5BrR5sTB0yQ1YzAqKu
QJgAmwbN83qmpylndtRWQ/SWC9BIbnbD
=RnLb
-END PGP SIGNATURE-


  1   2   3   4   >