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

2004-11-09 Thread Rainer Duffner
Hi,
my research showed that it should pe possible (legal, as far as the 
standard is concerned) to use the ampersand-character (&) in an 
email-address (like john&[EMAIL PROTECTED]).

I migrated an installation to vpopmail, where the previous system 
(postfix) apparently had such email-addresses.

Is it possible to create these addresses with qmail or vpopmail ?
Note that I personally consider this idea to be complete BS, because you 
can't be sure what the next infestation of OE makes of it (when entering 
the address at the client-side) but nevertheless...


Rainer
--
===
~ Rainer Duffner - [EMAIL PROTECTED] ~
~   Freising - Munich - Germany   ~
~Unix - Linux - BSD - OpenSource - Security   ~
~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
===


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

2004-11-09 Thread Clayton Milos
Sure it is... Very simple really...

~vpopmail/bin/vadduser "john&[EMAIL PROTECTED]" password

And OE6 doesn't complain about it for some reason (strange how a M$ app
doesn't complain. Then again it's a stupid idea so it goes with them)


Regards

Clay


- Original Message - 
From: "Rainer Duffner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 09, 2004 3:48 PM
Subject: [vchkpw] ampersand (&) in email-address possible ?


> Hi,
>
> my research showed that it should pe possible (legal, as far as the
> standard is concerned) to use the ampersand-character (&) in an
> email-address (like john&[EMAIL PROTECTED]).
>
> I migrated an installation to vpopmail, where the previous system
> (postfix) apparently had such email-addresses.
>
> Is it possible to create these addresses with qmail or vpopmail ?
>
>
> Note that I personally consider this idea to be complete BS, because you
> can't be sure what the next infestation of OE makes of it (when entering
> the address at the client-side) but nevertheless...
>
>
>
>
> Rainer
>
> -- 
> ===
> ~ Rainer Duffner - [EMAIL PROTECTED] ~
> ~   Freising - Munich - Germany   ~
> ~Unix - Linux - BSD - OpenSource - Security   ~
> ~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
> ===
>



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

2004-11-09 Thread Rainer Duffner
Clayton Milos wrote:
Sure it is... Very simple really...
~vpopmail/bin/vadduser "john&[EMAIL PROTECTED]" password
And OE6 doesn't complain about it for some reason (strange how a M$ app
doesn't complain. Then again it's a stupid idea so it goes with them)
 

D'uh.
I tried vadduser -r -q  300 "john&[EMAIL PROTECTED]
and it complained that
"You did not use a full email address for the user name
Only full email addresses should be used"
Now, I tried to specify the password directly and it worked.
Strange.
Thanks a lot !
Rainer
--
===
~ Rainer Duffner - [EMAIL PROTECTED] ~
~   Freising - Munich - Germany   ~
~Unix - Linux - BSD - OpenSource - Security   ~
~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
===


[vchkpw] libvpopmail equivalent of ~vpopmail/bin/vuserinfo ?

2004-11-09 Thread Rainer Duffner
Hi,
is there the equivalent of a vuserinfo function in libvpopmail ?

Rainer
--
===
~ Rainer Duffner - [EMAIL PROTECTED] ~
~   Freising - Munich - Germany   ~
~Unix - Linux - BSD - OpenSource - Security   ~
~  http://www.ultra-secure.de/~rainer/pubkey.pgp  ~
===


Re: [vchkpw] libvpopmail equivalent of ~vpopmail/bin/vuserinfo ?

2004-11-09 Thread Ken Jones
On Tuesday 09 November 2004 09:35 am, Rainer Duffner wrote:
> Hi,
>
> is there the equivalent of a vuserinfo function in libvpopmail

Yep
struct vqpasswd *mypw;
 mypw = vauth_getpw( User, Domain );

Returns NULL if user not found, otherwise a pointer to a vqpasswd structure
with all the user information.

--
Ken Jones


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

2004-11-09 Thread Jeremy Kitchen
On Tuesday 09 November 2004 09:24 am, Rainer Duffner wrote:
> Clayton Milos wrote:
> >Sure it is... Very simple really...
> >
> >~vpopmail/bin/vadduser "john&[EMAIL PROTECTED]" password
> >
> >And OE6 doesn't complain about it for some reason (strange how a M$ app
> >doesn't complain. Then again it's a stupid idea so it goes with them)
>
> D'uh.
>
> I tried vadduser -r -q  300 "john&[EMAIL PROTECTED]
>
> and it complained that
> "You did not use a full email address for the user name
> Only full email addresses should be used"

you probably didn't quote it properly and your shell treated it like you were 
trying to background the vadduser command.
[EMAIL PROTECTED] install]# ~vpopmail/bin/vadduser 'larry&[EMAIL PROTECTED]' 
bobbo
[EMAIL PROTECTED] install]#

shows up with vuserinfo and I'm able to authenticate with it properly, and a 
test message successfully arrives in larry&frank's mailbox, etc.

-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 ++ scriptkitchen.com/qmail
   GnuPG Key ID: 481BF7E2 ++ scriptkitchen.com/kitchen.asc


pgpcRZQAfZp2T.pgp
Description: PGP signature


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

2004-11-09 Thread Tom Collins
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.

--
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] ampersand (&) in email-address possible ?

2004-11-09 Thread Jesse Guardiani
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. :(

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net



[vchkpw] clear-passwd

2004-11-09 Thread Werner Amon
Hi List,
I have my Qmail+vpopmail setup for a year now and it works great.
Vpopmail is compiled is compiles with mysql-support and clear-passwd, my 
wish is to recompile vpopmail without support for clear-passwd.
Is this possible, could vpopmail have troubles to read the tables correctly?
Everyone done this before?

Werner


Re: [vchkpw] clear-passwd

2004-11-09 Thread Jeremy Kitchen
On Tuesday 09 November 2004 12:15 pm, Werner Amon wrote:
> Hi List,
>
> I have my Qmail+vpopmail setup for a year now and it works great.
> Vpopmail is compiled is compiles with mysql-support and clear-passwd, my
> wish is to recompile vpopmail without support for clear-passwd.
> Is this possible, could vpopmail have troubles to read the tables
> correctly? Everyone done this before?

yes.  ./configure --help

and the only 'problem' you might see is if you're using smtp auth, and that's 
that cram-md5 won't work.

-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]


pgpm25gHXMejz.pgp
Description: PGP signature


[vchkpw] Vchkpw authorization problem

2004-11-09 Thread Mike Dunlop
Used the qinstall package to install qmail/vpopmail and it appears 
things are working. Upon trying to login via telnet/mail client 
password authorization is failing  and from telnet I get the following:

=
Connected to mydomain.com.
Escape character is '^]'.
+OK <[EMAIL PROTECTED] mydomain >
user name@ mydomain.com
+OK
pass my_correct_pw
-ERR aack, child crashed
Connection closed by foreign host.
=
/var/log/maillog says: Nov  9 15:43:32  vpopmail[19280]: 
vchkpw: password fail <[EMAIL PROTECTED]>:

I have already tried recreating/rebulding the tcp.smtp databases etc...
My OS: Linux  2.4.21-20.EL.c0smp #1 SMP Thu Sep 9 01:53:25 EDT 
2004 i686 i686 i386 GNU/Linux
Qinstall package versions:
- autorespond-2.0.2
- daemontools-0.70
- ezmlm-0.53
- ezmlm-idx-0.40
- qmail-1.03
- qmailadmin-1.0.6
- sqwebmail-3.5.0.20030301
- ucspi-tcp-0.88
- vpopmail-5.2.1

Any help is greatly appreciated!

...
Mike Dunlop
Webmaster - AWN, Inc.
[ e ] [EMAIL PROTECTED]
[ p ] 323.606.4237
AWN.com | VFXWorld.com | AIDB.com


[vchkpw] Pop3 auth problems (vpopmail+mysql)

2004-11-09 Thread felix
Hi everyone,

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)

There's what's happening:

mail006:/var/qmail/supervise# telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK
pass 123

I get this when i telnet to port 110. User goes ok, but pass... I don't
get any answer from qmail-pop3d (even if the password is wrong).

I have vpopmail-5.4.7 on a debian-sarge box (kernel 2.6). i have
libmysqlclient and mysql-client packages installed.
The connection with the database is working. I tested it with the
mysql-client program.

Thanks

Rafael Felix Correa


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

2004-11-09 Thread Jeremy Kitchen
On Tuesday 09 November 2004 04:58 pm, [EMAIL PROTECTED] wrote:
> Hi everyone,
>
> 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)
>
> There's what's happening:
>
> mail006:/var/qmail/supervise# telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user [EMAIL PROTECTED]
> +OK
> pass 123
>
> I get this when i telnet to port 110. User goes ok, but pass... I don't
> get any answer from qmail-pop3d (even if the password is wrong).

wild guess: your syslog daemon is not running.

-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]


pgpovQSNmqDTW.pgp
Description: PGP signature


Re: [vchkpw] Vchkpw authorization problem

2004-11-09 Thread Jeremy Kitchen
On Tuesday 09 November 2004 04:55 pm, Mike Dunlop wrote:
> Used the qinstall package to install qmail/vpopmail [...]

bad.  use www.lifewithqmail.org and then if you want to add vpopmail to the 
mix, read vpopmail's INSTALL file.  It's very easy to install.

> and it appears things are working.

You just contradicted yourself.  You say things are working yet two lines 
below it's not working.

> Upon trying to login via telnet/mail client 
> password authorization is failing  and from telnet I get the following:
>
> =
> Connected to mydomain.com.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED] mydomain >
> user name@ mydomain.com
> +OK
> pass my_correct_pw
> -ERR aack, child crashed
> Connection closed by foreign host.
> =
>
> /var/log/maillog says: Nov  9 15:43:32  vpopmail[19280]:
> vchkpw: password fail <[EMAIL PROTECTED]>:

> - vpopmail-5.2.1

that's REALLY old.  Try the latest version.  If I were you, I would remove 
everything you've installed, follow www.lifewithqmail.org, and then following 
the INSTALL file of vpopmail.

-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]


pgptKYssBhibj.pgp
Description: PGP signature


Re: [vchkpw] Vchkpw authorization problem

2004-11-09 Thread Mike Dunlop
So authorization fails with (aack, child crashed) from telnet/mail 
client but when I login locally from the same machine it works fine 
(see below). Does this mean there is something up with tcpserver??

Please advise. Thanks!
==
# /var/qmail/bin/qmail-popup  \
 /usr/local/vpopmail/bin/vchkpw  \
/var/qmail/bin/qmail-pop3d Maildir
+OK <23960.1100035740@>
user admin@
+OK
pass 
+OK
list
+OK
1 1860
2 142674
3 45080
4 44453
5 1862
6 4579
7 1531
8 5968
9 119597
10 119728
11 1153
.
quit
+OK
==


...
Mike Dunlop
Webmaster - AWN, Inc.
[ e ] [EMAIL PROTECTED]
[ p ] 323.606.4237
AWN.com | VFXWorld.com | AIDB.com
On Nov 9, 2004, at 2:55 PM, Mike Dunlop wrote:
Used the qinstall package to install qmail/vpopmail and it appears 
things are working. Upon trying to login via telnet/mail client 
password authorization is failing  and from telnet I get the 
following:

=
Connected to mydomain.com.
Escape character is '^]'.
+OK <[EMAIL PROTECTED] mydomain >
user name@ mydomain.com
+OK
pass my_correct_pw
-ERR aack, child crashed
Connection closed by foreign host.
=
/var/log/maillog says: Nov  9 15:43:32  vpopmail[19280]: 
vchkpw: password fail <[EMAIL PROTECTED]>:

I have already tried recreating/rebulding the tcp.smtp databases etc...
My OS: Linux  2.4.21-20.EL.c0smp #1 SMP Thu Sep 9 01:53:25 EDT 
2004 i686 i686 i386 GNU/Linux
Qinstall package versions:
- autorespond-2.0.2
- daemontools-0.70
- ezmlm-0.53
- ezmlm-idx-0.40
- qmail-1.03
- qmailadmin-1.0.6
- sqwebmail-3.5.0.20030301
- ucspi-tcp-0.88
- vpopmail-5.2.1

Any help is greatly appreciated!

...
Mike Dunlop
Webmaster - AWN, Inc.
[ e ] [EMAIL PROTECTED]
[ p ] 323.606.4237
AWN.com | VFXWorld.com | AIDB.com