[vchkpw] Load LDAP parameters from file

2004-11-10 Thread Tom Collins
Alessandro Sappia submitted a patch to SourceForge for the LDAP backend that loads its settings from a file instead of having them hard-coded into the binary (much like the vpopmail.mysql file for the MySQL backend).

Can someone who uses LDAP check it out and let me know if we should add it to the next distribution?  Thanks.

https://sourceforge.net/tracker/?func=detail&atid=577800&aid=1056529&group_id=85937

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/ 
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Pop3 auth problems (vpopmail+mysql)

2004-11-10 Thread Jeremy Kitchen
On Wednesday 10 November 2004 03:51 pm, [EMAIL PROTECTED] wrote:
> I finally found the guilty for all this situation!!!
>
> It's qmail-maildir++.patch, which i patched on qmail to add maildirquota
> support.

I doubt that.  We use that on all of our installs:

[EMAIL PROTECTED] ~ $ nc mail.inter7.com 110
+OK <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK
pass hahahahahahahahahahano.
+OK
quit

> I've compiled a fresh copy of qmail with only this patch applied and
> bingo! Got the same issue that i described before.

try the patch again, and this time watch for any failures, etc.

> I only need to know how am i going to do to add maildirquota to my
> accounts without this patch... Any idea?

apply the patch :)

-Jeremy

-- 
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
  [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l
  kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail
 GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED]


pgpoFLsdlu4nO.pgp
Description: PGP signature


Re: [vchkpw] Pop3 auth problems (vpopmail+mysql)

2004-11-10 Thread felix
I finally found the guilty for all this situation!!!

It's qmail-maildir++.patch, which i patched on qmail to add maildirquota
support.

I've compiled a fresh copy of qmail with only this patch applied and
bingo! Got the same issue that i described before.

I only need to know how am i going to do to add maildirquota to my
accounts without this patch... Any idea?

Rafael Felix Correa


Re: [vchkpw] ampersand (&) in email-address possible ?

2004-11-10 Thread Tom Collins
On Nov 9, 2004, at 9:57 AM, Jesse Guardiani wrote:
On Tuesday 09 November 2004 12:17 pm, Tom Collins wrote:
On Nov 9, 2004, at 5:48 AM, Rainer Duffner wrote:
Is it possible to create these addresses with qmail or vpopmail ?
Yes, but you will have problems modifying them with QmailAdmin.  I 
know
what the problem is, but haven't had the time to correct it.

Basically, I'll be adding functions to rewrite strings in HTML form
(converting &, < and > at least) and CGI value form (most special 
chars
to %xx, space to +, etc.).  Then the fun task of going through the
source and converting strings wherever necessary.
It'd definitely be nice to get this fixed. That "First+Last" bug
in vqadmin (and possibly qmailadmin) is really annoying. :(
I now have code on my test machine that addresses this problem.  It 
also prevents possible cross site scripting attacks by escaping "<" and 
">".  I also noted that QmailAdmin didn't allow '&' in an email 
address, so I've updated that as well.

I'm doing some more tests, but when I'm done you'll even be able to 
have a domain admin with an address like [EMAIL PROTECTED]  
Currently, it's impossible for that user to accomplish much of anything 
in QmailAdmin.

I haven't gotten involved in the vqadmin project (Vpopmail and 
QmailAdmin eat too much of my time already), but if anyone is actively 
maintaining it, they can email me for info on how to fix vqadmin as 
well.

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Pop3 auth problems (vpopmail+mysql)

2004-11-10 Thread felix
Tom, you're right.

I've tried to install an older version of vpopmail, and i had the same
problem. Seems that vpopmail is not the one who has the fault in this
issue.

I'm gonna compile qmail again and try.

Thanks a lot to everyone

Rafael Felix Correa


Re: [vchkpw] Pop3 auth problems (vpopmail+mysql)

2004-11-10 Thread Tom Collins
On Nov 9, 2004, at 2:58 PM, [EMAIL PROTECTED] wrote:
I'm having some problems with qmail-pop3d autentication (it invokes 
vchkpw).
I have a mysql database on a remote host which keeps all the 
information
of vpopmail (through vpopmail.mysql file)
qmail-pop3d is responsible for sending the "+OK" after the pass command.
Try a stock qmail (or netqmail) and see if the problem persists.
--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [vchkpw] Pop3 auth problems (vpopmail+mysql)

2004-11-10 Thread felix

>On Nov 10, 2004, at 12:17 PM, [EMAIL PROTECTED] wrote:

>> New discovery:
>> ...
>> +OK <[EMAIL PROTECTED]>
>> user [EMAIL PROTECTED]
>> +OK
>> pass 123
>> list
>> ...
>

>This is interesting.
>
>It seems to not give you the +OK that it does when i telnet to my server
and send it the same >commands.
>
>have you applied any patches?


Not actually, X-Instence. I only applied patches on qmail
(SPAMCONTROL-235, qmail-smtpd-relay-reject, qmail-smtpd-viruscan,
bigconcurrency and qmail-maildir++[which is in vpopmail's contrib
directory])

I didn't apply any patch on vpopmail-5.4.7.
Isn't it any sort of permission problem?

Rafael Felix Correa


Re: [vchkpw] Pop3 auth problems (vpopmail+mysql)

2004-11-10 Thread X-Istence
On Nov 10, 2004, at 12:17 PM, [EMAIL PROTECTED] wrote:
New discovery:
...
+OK <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK
pass 123
list
...
This is interesting.
It seems to not give you the +OK that it does when i telnet to my 
server and send it the same commands.

have you applied any patches?
X-Istence


Re: [vchkpw] Pop3 auth problems (vpopmail+mysql)

2004-11-10 Thread felix
New discovery:


[EMAIL PROTECTED] home]# telnet mail006.ifxwh.com.br 110
Trying 200.201.133.60...
Connected to mail006.ifxwh.com.br.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK
pass 123
list
1 297
2 1270
.
quit
=

It seems my autentication is working from telnel. But i believe that most
MUAs require that last +OK to certify that the autentication is ok.

I tried to connect on this domain with 2 MUAs (Ximian and Mozilla Mail)
and none of then authenticate (with my correct password).


Re: [vchkpw] Pop3 auth problems (vpopmail+mysql)

2004-11-10 Thread felix
wild guess: your syslog daemon is not running.

-Jeremy

===

Jerery, in fact, my syslog daemon is running. I really don't know what's
happening.

I did some more tests and that's what's going on: when i give a wrong
password, i get the -ERR authorization failed message correctly, but when
i give the right user and password, i don't get anything.

Thanks

Rafael Felix Correa