about .qmail files

2001-09-07 Thread Vladimir Kabanov

Now i fixed the problem i describe earlier.
.qmail  now can contain lines with starting #   and ./Maildir  
as it described for .qmail files in original Qmail.

If u r interested in these corrections please contact me.

Vladimir Kabanov.



Re: your mail

2001-09-07 Thread Casey Zacek

CGI Guru spoke forth with the blessed manuscript:
 
 Here's the final word on the extent of my predicament.  If I send mail to a
 domain and user that was setup before my crash, I get the mail bounced back
 saying no user.  I added a new domain and a couple of users to it and it
 works fine on the new one.  So, somethings corrupted or out of wack on the
 old domains.  Guess I can delete them all and setup all the accounts
 again -- what a pain.  In reviewing all the files I can find, the mysql db,
 and all the files in the individual virtual domains, I see no difference in
 them at all.  Any thoughts where the snag might be?  Should I upgrade to the
 new version while I'm at it?

I would really highly really recommend not doing an upgrade of any
sort whenever you're trying to fix any kind of corrupted software.
This applies to much more than just vpopmail/qmail*.  Fix your
problem, then upgrade if you like.

-- 
-- Casey Zacek
   Senior Staff Engineer
   NeoSpire, Inc.



* It should be noted that no normal thinking rules apply to MS products.



Your patches.

2001-09-07 Thread Ryan Duda

Hi Vladimir,

I'm curious, once your patches are integrated into later vpopmail releases 
will it still require modifications to qmail-popup and storing of 
clear-text passwords?

-Ryan

 At 11:19 AM 8/13/2001 +1100, you wrote:
 Good day!

 a few days ago I made some modifications in qmail-popup and in vpopmail's 
vchkpw to provide APOP autentication.
 If u are interesting u may use that files (that not DIFF files, i still 
dont know how to operate with them -- its files that u may just put 
over original files of qmail and vpopmail and then recompile).
 Also hope that modifications also be included in next vpopmail releases.

 P.S. to make it work, you have to allow storing of clear-text passwords.




vchkpw problem

2001-09-07 Thread astrit zhushi

Greetings list

Since I'm new to the list, I apologize if this kind of question was asked.

I can't get my vpopmail work I'm using vpopmail-4.9.10 with qmail-1.03 on
RedHat 7.1, the problems is that vpopmail is not authenticating users here
is what I got on my logs:

Sep  7 04:10:35 localhost vpopmail[13345]: vchkpw: execvp() failed
Sep  7 04:11:43 localhost vpopmail[13361]: vchkpw: execvp() failed
Sep  7 04:12:51 localhost vpopmail[13367]: vchkpw: execvp() failed
Sep  7 04:13:45 localhost vpopmail[13369]: vchkpw: execvp() failed
Sep  7 04:14:52 localhost vpopmail[13372]: vchkpw: execvp() failed
Sep  7 04:15:50 localhost vpopmail[13375]: vchkpw: execvp() failed
Sep  7 04:17:05 localhost vpopmail[13377]: vchkpw: execvp() failed
Sep  7 04:18:10 localhost vpopmail[13379]: vchkpw: execvp() failed
Sep  7 04:18:55 localhost vpopmail[13381]: vchkpw: make user dir failed
Sep  7 04:19:15 localhost vpopmail[13383]: vchkpw: execvp() failed
Sep  7 04:20:20 localhost vpopmail[13387]: vchkpw: execvp() failed

Sep  7 04:28:28 localhost qmail: 999851308.575420 starting delivery 84: msg
519211 to local [EMAIL PROTECTED]
Sep  7 04:28:28 localhost qmail: 999851308.575541 status: local 1/10 remote
0/20
Sep  7 04:28:28 localhost qmail: 999851308.575600 starting delivery 85: msg
519208 to local [EMAIL PROTECTED]
Sep  7 04:28:28 localhost qmail: 999851308.575652 status: local 2/10 remote
0/20
Sep  7 04:28:28 localhost qmail: 999851308.575709 starting delivery 86: msg
519213 to local [EMAIL PROTECTED]
Sep  7 04:28:28 localhost qmail: 999851308.575761 status: local 3/10 remote
0/20
Sep  7 04:28:28 localhost qmail: 999851308.617884 delivery 84: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
Sep  7 04:28:28 localhost qmail: 999851308.618014 status: local 2/10 remote
0/20
Sep  7 04:28:28 localhost qmail: 999851308.618073 delivery 85: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
Sep  7 04:28:28 localhost qmail: 999851308.618125 status: local 1/10 remote
0/20
Sep  7 04:28:28 localhost qmail: 999851308.618762 delivery 86: deferral:
Unable_to_chdir_to_maildir._(#4.2.1)/
Sep  7 04:28:28 localhost qmail: 999851308.618836 status: local 0/10 remote
0/20


telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK [EMAIL PROTECTED]
user [EMAIL PROTECTED]
+OK
pass test
-ERR authorization failed
Connection closed by foreign host.

Best Regards





Re: Your patches.

2001-09-07 Thread Vladimir Kabanov

 Hi Vladimir,

 I'm curious, once your patches are integrated into later vpopmail releases 
will it still require modifications to qmail-popup and storing of 
clear-text passwords?
___


cleartext passwords absolutely required only if u wish to use APOP or CRAM-MD5 
authentication mode.

but if plain auth enough for u -- u may skip it.

about qmail:  not exactly required,  but still desirable



Re: vchkpw problem

2001-09-07 Thread Florent

Hi,

here you have a problem with executing and/or writing rights for the progs
vpopmail try to execute and to the directories it try to write.
Look for the progs'owner and rights.

Florent

#-Greetings list
#-
#-Since I'm new to the list, I apologize if this kind of question was asked.
#-
#-I can't get my vpopmail work I'm using vpopmail-4.9.10 with qmail-1.03 on
#-RedHat 7.1, the problems is that vpopmail is not authenticating users here
#-is what I got on my logs:
#-
#-Sep  7 04:10:35 localhost vpopmail[13345]: vchkpw: execvp() failed
#-Sep  7 04:11:43 localhost vpopmail[13361]: vchkpw: execvp() failed
#-Sep  7 04:12:51 localhost vpopmail[13367]: vchkpw: execvp() failed
#-Sep  7 04:13:45 localhost vpopmail[13369]: vchkpw: execvp() failed
#-Sep  7 04:14:52 localhost vpopmail[13372]: vchkpw: execvp() failed
#-Sep  7 04:15:50 localhost vpopmail[13375]: vchkpw: execvp() failed
#-Sep  7 04:17:05 localhost vpopmail[13377]: vchkpw: execvp() failed
#-Sep  7 04:18:10 localhost vpopmail[13379]: vchkpw: execvp() failed
#-Sep  7 04:18:55 localhost vpopmail[13381]: vchkpw: make user dir failed
#-Sep  7 04:19:15 localhost vpopmail[13383]: vchkpw: execvp() failed
#-Sep  7 04:20:20 localhost vpopmail[13387]: vchkpw: execvp() failed
#-
#-Sep  7 04:28:28 localhost qmail: 999851308.575420 starting delivery 84: msg
#-519211 to local [EMAIL PROTECTED]
#-Sep  7 04:28:28 localhost qmail: 999851308.575541 status: local 1/10 remote
#-0/20
#-Sep  7 04:28:28 localhost qmail: 999851308.575600 starting delivery 85: msg
#-519208 to local [EMAIL PROTECTED]
#-Sep  7 04:28:28 localhost qmail: 999851308.575652 status: local 2/10 remote
#-0/20
#-Sep  7 04:28:28 localhost qmail: 999851308.575709 starting delivery 86: msg
#-519213 to local [EMAIL PROTECTED]
#-Sep  7 04:28:28 localhost qmail: 999851308.575761 status: local 3/10 remote
#-0/20
#-Sep  7 04:28:28 localhost qmail: 999851308.617884 delivery 84: deferral:
#-Unable_to_chdir_to_maildir._(#4.2.1)/
#-Sep  7 04:28:28 localhost qmail: 999851308.618014 status: local 2/10 remote
#-0/20
#-Sep  7 04:28:28 localhost qmail: 999851308.618073 delivery 85: deferral:
#-Unable_to_chdir_to_maildir._(#4.2.1)/
#-Sep  7 04:28:28 localhost qmail: 999851308.618125 status: local 1/10 remote
#-0/20
#-Sep  7 04:28:28 localhost qmail: 999851308.618762 delivery 86: deferral:
#-Unable_to_chdir_to_maildir._(#4.2.1)/
#-Sep  7 04:28:28 localhost qmail: 999851308.618836 status: local 0/10 remote
#-0/20
#-
#-
#-telnet localhost 110
#-Trying 127.0.0.1...
#-Connected to localhost.localdomain.
#-Escape character is '^]'.
#-+OK [EMAIL PROTECTED]
#-user [EMAIL PROTECTED]
#-+OK
#-pass test
#--ERR authorization failed
#-Connection closed by foreign host.
#-
#-Best Regards
#-
#-
#-



Re: vpopmail 5.0pre1

2001-09-07 Thread lao nightwolf
Hello Ken,  Thanx it works now, unbelievable ;)) !  We had to fill in "" in 'pw_passwd' and the 'pw_dir' field..  When there was NULL in both fields or in one of them it still crashed or it said authentication failure..  Thanks for all the help you offered us with this feature.  Cheers, lao   - Original Message - From: Ken Jones Sent: Thursday, September 06, 2001 5:03 PM To: lao nightwolf Cc: [EMAIL PROTECTED] Subject: Re: vpopmail 5.0pre1 On Thu, 2001-09-06 at 02:12, lao nightwolf wrote: Hello, We've installed vpopmail 5.0pre1 so that we have the possibility to add no password. However, adding a record with an empty password field returned an error since the table definition doesn't allow null values by default. We have changed this so that nulls for the password field can be added, so that we could succesfully add a new record. However we now receive the following error during logon: 'ERR aack, child crashed'. Do we need to specify a specific value for the password field, since it doesn't allow nulls by default?Please do not modify the table definition. Normally, it should ask for a password when first authenticating via pop3 right?Set the password field to a blank string "", not a NULL.with vpopmail-5.0pre3, use the --enable-learn-passwords=yoption.With this option, vchkpw will accept any password for anaccount with a blank password. Then it will update theauthentication data to have this new password. It onlydoes this if the password field is blank. Once the passwordfield is not blank it won't do this. So it only does itthe first time.Also, the vadduser command takes a -n option to set theusers password to blank.Please download and test the vpopmail-5.0pre3 versionand test it to see if you can cause it to crash. Pleasetry it with your modified table (allow NULL), and thentry it with the orignal table definition. I want tosee if you can still crash vchkpw.Ken JonesGet more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


vipmap,courier-imap and default domain

2001-09-07 Thread

Hello!
  i use vpopmail 5.0pre1 and courier-imap 1.3.10.
  and i found that i can not let vipmap work with courier-imap well.
  (i use courier-imap for both pop3 and imap).
  example: 
  vipmap 127.0.0.1 test.com
  telnet 127.0.0.1 110

user [EMAIL PROTECTED]
pass 
+OK logged in.

  above works fine. but

  telnet 127.0.0.1 110
 user postmaster
 pass 
  Connection closed by foreign host.

 it quit silently.
 can we solve this?
 and can we use a file or environment variable  
 to setup default domain?
 now i can only setup it at compile time. means
 i need to recompile if i want to change default domain.
 i want to build a general rpm, and default domain
 can setup at run time if vipmap can not work for me.
 thanks for any help!!!
 
  configure as below:
  vpopmail:
   
--enable-roaming-users=n \
--enable-clear-passwd=y \
--enable-logging=e \
--enable-sqwebmail-pass=n \
--enable-many-domains=n \
--enable-qmail-ext=n \
--enable-ip-alias-domains=y \
--enable-passwd=n \
--enable-hardquota=n

  courier-imap:
--without-ipv6 \
--without-authdaemon \
--enable-workarounds-for-imap-client-bugs \
--without-authcustom \
--without-authcram \
--without-authuserdb \
--without-authpam \
--without-authshadow \
--without-authpwd \
--without-authldap \
--without-authmysql \
--disable-root-check

Best Regards,
Tbsky




E-mails in mySQL?

2001-09-07 Thread Jan Pavlk



It's some feature or patch to store incoming 
emails in mySQL in BLOB fields?

Thanx
Jan PAVLIK--[EMAIL PROTECTED], [EMAIL PROTECTED]mobil 
0777/555730ICQ 6611951

NIXNET.CZ - Vá¹ webhosting u nás je ji¾ 
pøipraven


qmail roaming users with vpopmail

2001-09-07 Thread Jens Georg

hi,

i wonder what tcp.smtp file qmail-smtpd has to see:

/etc/tcp/smtp.cdb or /home/vpopmail/etc/tcp.smtp.cdb in order to support
roaming user who can use the smtp-server of the qmailbox ?

-- 
gruss,jens
---
instant networks - netzwerkmanagment  internetfullservices



problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3

2001-09-07 Thread lao nightwolf
Hello,  I've been trying to compile the latest courier-imap 1.3.10 with vpopmail 5.0pre3 but while compiling I get following error:  ./configure command:  courier-imap: --without-ipv6 \ --without-authdaemon \ --enable-workarounds-for-imap-client-bugs \ --without-authcustom \ --without-authcram \ --without-authuserdb \ --without-authpam \ --without-authshadow \ --without-authpwd \ --without-authldap \ --with-authmysql \  configure goes fine, but when doing make I have following errorerror:  gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -c modauthvchkpw.cgcc -I/usr/include/mysql -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a ../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail -L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt/usr/bin/ld: cannot find -lvpopmailcollect2: ld returned 1 exit statusmake[1]: *** [authvchkpw] Error 1make[1]: Leaving directory `/usr/src/courier-imap-1.3.10/authlib'make: *** [all-recursive] Error 1  I also had the same error when using vpopmail 4.9.10, when using just "./configure --with-authmysql" When adding --without-authvchkpw it compiles without any problems but then I ofcourse can't authenticate.  Can someone give me help here?  Thanks in advance!  Cheers, lao lao nightwolf -ansi/ascii/vga drawer/demo coder/txtGet more from the Web.  FREE MSN Explorer download : http://explorer.msn.com


RE: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3

2001-09-07 Thread Tren Blackburn

Problem is the fact that the latest versions of vpopmail set the
~vpopmail/lib directory as 0711.  Change the perms of the directory to
0755 and also the libvpopmail.a file to 0644.  _ONLY_ keep this done for
as long as you're compiling courier imap.  Once you're done, revert the
old perms.  

This was done as a security fix so that only root would have access to
the vpopmail libs (and the compiled in DB passwords contained within),
but since you have to compile with a non-root user, you need to fix the
permissions temporarilly.

I've talked to Ken and this seems to be the best way at the moment...but
that might change.

Regards,

Tren.

PS.  Please don't send HTML email to the list...for those of us without
a gui mail client, or an older mail client that doesn't handle HTML, it
makes it difficult to read.

-Original Message-
From: lao nightwolf [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 07, 2001 5:46 AM
To: [EMAIL PROTECTED]
Subject: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3


Hello,

I've been trying to compile the latest courier-imap 1.3.10 with vpopmail
5.0pre3 but while compiling I get following error:

./configure command:

courier-imap:
--without-ipv6 \
--without-authdaemon \
--enable-workarounds-for-imap-client-bugs \
--without-authcustom \
--without-authcram \
--without-authuserdb \
--without-authpam \
--without-authshadow \
--without-authpwd \
--without-authldap \
--with-authmysql \

configure goes fine, but when doing make I have following error

error:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql
-I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -c modauthvchkpw.c
gcc  -I/usr/include/mysql -I/home/vpopmail/include -g -O2 -Wall -I..
-I./..  -o authvchkpw  modauthvchkpw.o libauthmod.a libauth.a
../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail
-L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt
/usr/bin/ld: cannot find -lvpopmail
collect2: ld returned 1 exit status
make[1]: *** [authvchkpw] Error 1
make[1]: Leaving directory `/usr/src/courier-imap-1.3.10/authlib'
make: *** [all-recursive] Error 1


I also had the same error when using vpopmail 4.9.10, when using just
./configure --with-authmysql
When adding --without-authvchkpw it compiles without any problems but
then I ofcourse can't authenticate.

Can someone give me help here?

Thanks in advance!

Cheers,
lao

lao nightwolf -ansi/ascii/vga drawer/demo coder/txt



Get more from the Web. FREE MSN Explorer download :
http://explorer.msn.com




RE: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3

2001-09-07 Thread lao nightwolf

Sorry for sending this back in html, but you cannot define this anymore in hotmail. (I searched all over..)

Thank you Tren. It does the make but when I do make check then I get another error:

.
INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=148, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0INFO: LOGIN, user=user, ip=[127.0.0.1]INFO: LOGOUT, user=user, ip=[127.0.0.1], headers=0, body=0make[1]: *** [check] Error 1make[1]: Leaving directory `/usr/src/courier-imap-1.3.10/imap'make: *** [check-recursive] Error 1
Can you help me with this one too?

Thank you!

Cheers,
lao
 
Problem is the fact that the latest versions of vpopmail set the 
~vpopmail/lib directory as 0711. Change the perms of the directory to 
0755 and also the libvpopmail.a file to 0644. _ONLY_ keep this done for 
as long as you're compiling courier imap. Once you're done, revert the 
old perms. 
 
This was done as a security fix so that only root would have access to 
the vpopmail libs (and the compiled in DB passwords contained within), 
but since you have to compile with a non-root user, you need to fix the 
permissions temporarilly. 
 
I've talked to Ken and this seems to be the best way at the moment...but 
that might change. 
 
Regards, 
 
Tren. 
 
PS. Please don't send HTML email to the list...for those of us without 
a gui mail client, or an older mail client that doesn't handle HTML, it 
makes it difficult to read. 
 
-Original Message- 
From: lao nightwolf [mailto:[EMAIL PROTECTED]] 
Sent: Friday, September 07, 2001 5:46 AM 
To: [EMAIL PROTECTED] 
Subject: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3 
 
 
Hello, 
 
I've been trying to compile the latest courier-imap 1.3.10 with vpopmail 
5.0pre3 but while compiling I get following error: 
 
./configure command: 
 
courier-imap: 
 --without-ipv6 \ 
 --without-authdaemon \ 
 --enable-workarounds-for-imap-client-bugs \ 
 --without-authcustom \ 
 --without-authcram \ 
 --without-authuserdb \ 
 --without-authpam \ 
 --without-authshadow \ 
 --without-authpwd \ 
 --without-authldap \ 
 --with-authmysql \ 
 
configure goes fine, but when doing make I have following error 
 
error: 
 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql 
-I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -c modauthvchkpw.c 
gcc -I/usr/include/mysql -I/home/vpopmail/include -g -O2 -Wall -I.. 
-I./.. -o authvchkpw modauthvchkpw.o libauthmod.a libauth.a 
../md5/libmd5.a ../sha1/libsha1.a -L/home/vpopmail/lib -lvpopmail 
-L/usr/lib/mysql -lmysqlclient -lz -lm -lcrypt 
/usr/bin/ld: cannot find -lvpopmail 
collect2: ld returned 1 exit status 
make[1]: *** [authvchkpw] Error 1 
make[1]: Leaving directory `/usr/src/courier-imap-1.3.10/authlib' 
make: *** [all-recursive] Error 1 
 
 
I also had the same error when using vpopmail 4.9.10, when using just 
"./configure --with-authmysql" 
When adding --without-authvchkpw it compiles without any problems but 
then I ofcourse can't authenticate. 
 
Can someone give me help here? 
 
Thanks in advance! 
 
Cheers, 
lao 
 
lao nightwolf -ansi/ascii/vga drawer/demo coder/txt 
 
 
 
Get more from the Web. FREE MSN Explorer download : 
http://explorer.msn.com 
 
Get your FREE download of MSN Explorer at http://explorer.msn.com


Re: vipmap,courier-imap and default domain

2001-09-07 Thread Ken Jones


I think once 5.0 is released we should review the
courier-imap/sqwebmail vpopmail code.

Ken
On Fri, 2001-09-07 at 05:35, 李兆唐 wrote:
 Hello!
   i use vpopmail 5.0pre1 and courier-imap 1.3.10.
   and i found that i can not let vipmap work with courier-imap well.
   (i use courier-imap for both pop3 and imap).
   example: 
   vipmap 127.0.0.1 test.com
   telnet 127.0.0.1 110
 
 user [EMAIL PROTECTED]
 pass 
 +OK logged in.
 
   above works fine. but
 
   telnet 127.0.0.1 110
  user postmaster
  pass 
   Connection closed by foreign host.
 
  it quit silently.
  can we solve this?
  and can we use a file or environment variable  
  to setup default domain?
  now i can only setup it at compile time. means
  i need to recompile if i want to change default domain.
  i want to build a general rpm, and default domain
  can setup at run time if vipmap can not work for me.
  thanks for any help!!!
  
   configure as below:
   vpopmail:

 --enable-roaming-users=n \
 --enable-clear-passwd=y \
 --enable-logging=e \
 --enable-sqwebmail-pass=n \
 --enable-many-domains=n \
 --enable-qmail-ext=n \
 --enable-ip-alias-domains=y \
 --enable-passwd=n \
 --enable-hardquota=n
 
   courier-imap:
 --without-ipv6 \
 --without-authdaemon \
 --enable-workarounds-for-imap-client-bugs \
 --without-authcustom \
 --without-authcram \
 --without-authuserdb \
 --without-authpam \
 --without-authshadow \
 --without-authpwd \
 --without-authldap \
 --without-authmysql \
 --disable-root-check
 
 Best Regards,
 Tbsky
 
 





vpopmail core dump with NULL mysql fields

2001-09-07 Thread Ken Jones

I updated the vmysql.c module to support NULL fields.
Probably not a good idea for anything to core dump :)

It will be in tonights pre5 release.

Ken






Re[2]: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3

2001-09-07 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Tren,

Friday, September 07, 2001, 2:53:15 PM, you wrote:

 I've talked to Ken and this seems to be the best way at the
 moment...but that might change.


Well perhaps someone should speak to Sam instead and ask him to
either
integrate a call to su into courier-imap's make (and either build as
root or simply change the perms temporarily) or make it build as root
(can't see why this shouldn't be done).



Best regards,
 Gabriel
†

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO5jroMZa2WpymlDxAQHkhQgAnXTUpNgDtD+Y/Kw6GkXcyqCDxH61P3/A
ZklO7CScIH9mRHTXA3CvjEvUncXEKWOfas0rQa2fMIjplXDfvNfE8PGtaHWQeFpp
D5WGEycccSjZlaMc2cQFsUjSQe0ZI5jf/ZMm91PO3iOu94ruE85XiguE9DsqyoXh
7Qq05kFMBbyQ34NldNcLWFkQtMjb7jZR8JDmRs/kRaPoZy9pkJTUPi44oMXaOh0G
xJmZuyyfRpyh+afm+sDYkwyJ+NaRucwKn7PDZ4mMcC9Fl/msU0yx92AKW9TRV4TZ
n9RnP0SmR6sL9iHsYd3hX3hasB3FT5RHwhK0rJggr0hVztwE0Ks49w==
=Sp7y
-END PGP SIGNATURE-




Re[2]: problem compiling courier-imap 1.3.10 with vpopmail 5.0pre3

2001-09-07 Thread Tren Blackburn

Hi Gabriel;

I've written Sam and asked him about this.  I'll let you know as soon as I
hear anything.

Regards,

Tren.

On Fri, 7 Sep 2001, Gabriel Ambuehl wrote:

 -BEGIN PGP SIGNED MESSAGE-

 Hello Tren,

 Friday, September 07, 2001, 2:53:15 PM, you wrote:

  I've talked to Ken and this seems to be the best way at the
  moment...but that might change.


 Well perhaps someone should speak to Sam instead and ask him to
 either
 integrate a call to su into courier-imap's make (and either build as
 root or simply change the perms temporarily) or make it build as root
 (can't see why this shouldn't be done).



 Best regards,
  Gabriel
 †

 -BEGIN PGP SIGNATURE-
 Version: PGP 6.5i

 iQEVAwUBO5jroMZa2WpymlDxAQHkhQgAnXTUpNgDtD+Y/Kw6GkXcyqCDxH61P3/A
 ZklO7CScIH9mRHTXA3CvjEvUncXEKWOfas0rQa2fMIjplXDfvNfE8PGtaHWQeFpp
 D5WGEycccSjZlaMc2cQFsUjSQe0ZI5jf/ZMm91PO3iOu94ruE85XiguE9DsqyoXh
 7Qq05kFMBbyQ34NldNcLWFkQtMjb7jZR8JDmRs/kRaPoZy9pkJTUPi44oMXaOh0G
 xJmZuyyfRpyh+afm+sDYkwyJ+NaRucwKn7PDZ4mMcC9Fl/msU0yx92AKW9TRV4TZ
 n9RnP0SmR6sL9iHsYd3hX3hasB3FT5RHwhK0rJggr0hVztwE0Ks49w==
 =Sp7y
 -END PGP SIGNATURE-



-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
= End of Time Networks  http://www.eotnetworks.com   -
- (403) 269-2122 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




RE: vpopmail-5.0pre5

2001-09-07 Thread Brad Dameron

I just tried pre5. Still the same issue with aliased domains.

---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET

 

-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 1:13 PM
To: [EMAIL PROTECTED]
Subject: vpopmail-5.0pre5


pre5 is available for download.

One issue addressed and I think fixed is aliased domains.

You can now authenticate against an aliased domain with
the vchkpw pop auth program.

There is a vget_real_domain( char *domain, int buff_size)
function that looks up the domain in the assign cdb file.
Aliased domains have the same directory as the real domain

For example:

+test.com-:test.com:89:89:/home/vpopmail/domains/test.com:-::
+ken.com-:ken.com:89:89:/home/vpopmail/domains/test.com:-::

test.com is the real domain and ken.com is the aliased 
domain. Notice that both have the same directory
/home/vpopmail/domains.test.com

the vget_real_domain parses the domain name out of
the directory path, and sets the domain buffer
to be what is found in the path. 

Hence, pop authentication for [EMAIL PROTECTED] would have
the ken.com part changed to test.com. Then the
vchkpw program proceeds are normal, doing a 
vauth_getpw( user, test.com) 

Ken Jones
Only three more coding days to 5.0







RE: vpopmail-5.0pre5

2001-09-07 Thread Brad Dameron

Hmmm. Interesting. It looks to be working on one machine. But not the other.

The only difference's is in my virtualdomains file for qmail.

Here is the one that works.

tscnet.com:tscnet.com
sinclair.net:tscnet.com
sincom.com:tscnet.com
mail.sincom.com:tscnet.com
mail.sinclair.net:tscnet.com
mail.tscnet.com:tscnet.com
mail.tscnet.net:tscnet.com
tscnet.net:tscnet.com


I modified it by had so all domains point to the directory and not the
symbolic link you create. The one that still points to the symbolic links
doesn't seem to work.

Example:

tscnet.com:tscnet.com
sinclair.net:sinclair.net
sincom.com:sincom.com


These are all one domain. So sinclair.net has a symbolic link to tscnet.com
and so does sincom.com.

---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 1:13 PM
To: [EMAIL PROTECTED]
Subject: vpopmail-5.0pre5


pre5 is available for download.

One issue addressed and I think fixed is aliased domains.

You can now authenticate against an aliased domain with
the vchkpw pop auth program.

There is a vget_real_domain( char *domain, int buff_size)
function that looks up the domain in the assign cdb file.
Aliased domains have the same directory as the real domain

For example:

+test.com-:test.com:89:89:/home/vpopmail/domains/test.com:-::
+ken.com-:ken.com:89:89:/home/vpopmail/domains/test.com:-::

test.com is the real domain and ken.com is the aliased
domain. Notice that both have the same directory
/home/vpopmail/domains.test.com

the vget_real_domain parses the domain name out of
the directory path, and sets the domain buffer
to be what is found in the path.

Hence, pop authentication for [EMAIL PROTECTED] would have
the ken.com part changed to test.com. Then the
vchkpw program proceeds are normal, doing a
vauth_getpw( user, test.com)

Ken Jones
Only three more coding days to 5.0







RE: vpopmail-5.0pre5

2001-09-07 Thread Ken Jones

Here is what I have after running
vadddomain test.com
vaddaliasdomain ken.com test.com

virtualdomains:
test.com:test.com
ken.com:ken.com

users/assign:
+test.com-:test.com:89:89:/home/vpopmail/domains/test.com:-::
+ken.com-:ken.com:89:89:/home/vpopmail/domains/test.com:-::

ls -l /home/vpopmail/domains
ken.com - /home/vpopmail/domains/test.com
test.com

And it works for me. the key thing here is the right hand
side of the virtualdomains file and the corresponding
path to the domain. 

ken.com has /home/vpopmail/domains/test.com resulting
in the domain being set to test.com. 

I tested it with ./configure --enable-mysql=y 
make ; make install-strip

The path for the alias domain in the assign file must have 
the path to the real domain. Which 5.0pre4 will setup automatically.

Ken

On Fri, 2001-09-07 at 16:28, Brad Dameron wrote:
 Hmmm. Interesting. It looks to be working on one machine. But not the other.
 
 The only difference's is in my virtualdomains file for qmail.
 
 Here is the one that works.
 
 tscnet.com:tscnet.com
 sinclair.net:tscnet.com
 sincom.com:tscnet.com
 mail.sincom.com:tscnet.com
 mail.sinclair.net:tscnet.com
 mail.tscnet.com:tscnet.com
 mail.tscnet.net:tscnet.com
 tscnet.net:tscnet.com
 
 
 I modified it by had so all domains point to the directory and not the
 symbolic link you create. The one that still points to the symbolic links
 doesn't seem to work.
 
 Example:
 
 tscnet.com:tscnet.com
 sinclair.net:sinclair.net
 sincom.com:sincom.com
 
 
 These are all one domain. So sinclair.net has a symbolic link to tscnet.com
 and so does sincom.com.
 
 ---
 Brad Dameron  
Network Account Executive
 TSCNet Inc.  
 www.tscnet.com
 Silverdale, WA.  
 1-888-8TSCNET
 
 
 
 -Original Message-
 From: Ken Jones [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 07, 2001 1:13 PM
 To: [EMAIL PROTECTED]
 Subject: vpopmail-5.0pre5
 
 
 pre5 is available for download.
 
 One issue addressed and I think fixed is aliased domains.
 
 You can now authenticate against an aliased domain with
 the vchkpw pop auth program.
 
 There is a vget_real_domain( char *domain, int buff_size)
 function that looks up the domain in the assign cdb file.
 Aliased domains have the same directory as the real domain
 
 For example:
 
 +test.com-:test.com:89:89:/home/vpopmail/domains/test.com:-::
 +ken.com-:ken.com:89:89:/home/vpopmail/domains/test.com:-::
 
 test.com is the real domain and ken.com is the aliased
 domain. Notice that both have the same directory
 /home/vpopmail/domains.test.com
 
 the vget_real_domain parses the domain name out of
 the directory path, and sets the domain buffer
 to be what is found in the path.
 
 Hence, pop authentication for [EMAIL PROTECTED] would have
 the ken.com part changed to test.com. Then the
 vchkpw program proceeds are normal, doing a
 vauth_getpw( user, test.com)
 
 Ken Jones
 Only three more coding days to 5.0
 
 
 
 
 





Question about mail file format

2001-09-07 Thread Brendan McAlpine

I want to use the vpopbull command to put a message in all of my user's
mailboxes.  Is there a specific file format I have to follow or can I just
use the command to send a plain text file with my message in it?

TIA

Brendan




RE: vpopmail-5.0pre5

2001-09-07 Thread Brad Dameron


Also Ken,

Before the final release. Can you put the failed password in brackets or
quotes or something. It blends in to much with the other logging.

Thanks.




Re: Question about mail file format

2001-09-07 Thread Ben Beuchler

On Fri, Sep 07, 2001 at 06:15:37PM -0400, Brendan McAlpine wrote:

 I want to use the vpopbull command to put a message in all of my user's
 mailboxes.  Is there a specific file format I have to follow or can I just
 use the command to send a plain text file with my message in it?

Plain text file with headers.

-- 
Ben Beuchler   There is no spoon.
[EMAIL PROTECTED]-- The Matrix



RE: vpopmail-5.0pre5

2001-09-07 Thread Brad Dameron


The one that is failing is configured like that exactly. However it still
fails.

I will try to do some more testing with the latest version and see what I
can come up with.
If you release without this fix I do believe you are going to have a lot
more users encountering this problem. Again I am upgrading from 4.9.9 on the
machine with the problems.

---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 3:19 PM
To: [EMAIL PROTECTED]
Subject: RE: vpopmail-5.0pre5


Here is what I have after running
vadddomain test.com
vaddaliasdomain ken.com test.com

virtualdomains:
test.com:test.com
ken.com:ken.com

users/assign:
+test.com-:test.com:89:89:/home/vpopmail/domains/test.com:-::
+ken.com-:ken.com:89:89:/home/vpopmail/domains/test.com:-::

ls -l /home/vpopmail/domains
ken.com - /home/vpopmail/domains/test.com
test.com

And it works for me. the key thing here is the right hand
side of the virtualdomains file and the corresponding
path to the domain.

ken.com has /home/vpopmail/domains/test.com resulting
in the domain being set to test.com.

I tested it with ./configure --enable-mysql=y
make ; make install-strip

The path for the alias domain in the assign file must have
the path to the real domain. Which 5.0pre4 will setup automatically.

Ken

On Fri, 2001-09-07 at 16:28, Brad Dameron wrote:
 Hmmm. Interesting. It looks to be working on one machine. But not the
other.

 The only difference's is in my virtualdomains file for qmail.

 Here is the one that works.

 tscnet.com:tscnet.com
 sinclair.net:tscnet.com
 sincom.com:tscnet.com
 mail.sincom.com:tscnet.com
 mail.sinclair.net:tscnet.com
 mail.tscnet.com:tscnet.com
 mail.tscnet.net:tscnet.com
 tscnet.net:tscnet.com


 I modified it by had so all domains point to the directory and not the
 symbolic link you create. The one that still points to the symbolic links
 doesn't seem to work.

 Example:

 tscnet.com:tscnet.com
 sinclair.net:sinclair.net
 sincom.com:sincom.com


 These are all one domain. So sinclair.net has a symbolic link to
tscnet.com
 and so does sincom.com.

 ---
 Brad Dameron  
Network Account Executive
 TSCNet Inc.  
 www.tscnet.com
 Silverdale, WA.  
 1-888-8TSCNET



 -Original Message-
 From: Ken Jones [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 07, 2001 1:13 PM
 To: [EMAIL PROTECTED]
 Subject: vpopmail-5.0pre5


 pre5 is available for download.

 One issue addressed and I think fixed is aliased domains.

 You can now authenticate against an aliased domain with
 the vchkpw pop auth program.

 There is a vget_real_domain( char *domain, int buff_size)
 function that looks up the domain in the assign cdb file.
 Aliased domains have the same directory as the real domain

 For example:

 +test.com-:test.com:89:89:/home/vpopmail/domains/test.com:-::
 +ken.com-:ken.com:89:89:/home/vpopmail/domains/test.com:-::

 test.com is the real domain and ken.com is the aliased
 domain. Notice that both have the same directory
 /home/vpopmail/domains.test.com

 the vget_real_domain parses the domain name out of
 the directory path, and sets the domain buffer
 to be what is found in the path.

 Hence, pop authentication for [EMAIL PROTECTED] would have
 the ken.com part changed to test.com. Then the
 vchkpw program proceeds are normal, doing a
 vauth_getpw( user, test.com)

 Ken Jones
 Only three more coding days to 5.0











Re: Solaris 8

2001-09-07 Thread Apis Hytt



On Fri, 7 Sep 2001, Mike Jimenez wrote:

 When I try to compile with vpopmail-4.9.10 I get this error?
 How can I fix this?
-8 --- snip 
 checking for AIX... no
 ./configure: /usr/xpgr4/id: not found
 ./configure: test: argument expected
 bash-2.03#
Apis+
On Solaris 7, but I assume; also,  in Solaris 8...

Isn't it:   /usr/xpg4/bin/id
*not* /usr/xpgr4/id

If so, edit configure to correct typo of where Solaris 8 parks it.
Apis-
 
 
 Thanks
 Mike
 






RE: Solaris 8

2001-09-07 Thread Mike Jimenez

I did that and it still gave me the same error?
Mike

-Original Message-
From: Apis Hytt [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 5:03 PM
To: Mike Jimenez
Cc: vchkpw
Subject: Re: Solaris 8




On Fri, 7 Sep 2001, Mike Jimenez wrote:

 When I try to compile with vpopmail-4.9.10 I get this error?
 How can I fix this?
-8 --- snip 
 checking for AIX... no
 ./configure: /usr/xpgr4/id: not found
 ./configure: test: argument expected
 bash-2.03#
Apis+
On Solaris 7, but I assume; also,  in Solaris 8...

Isn't it:   /usr/xpg4/bin/id
*not* /usr/xpgr4/id

If so, edit configure to correct typo of where Solaris 8 parks it.
Apis-
 
 
 Thanks
 Mike
 







RE: Solaris 8

2001-09-07 Thread Apis Hytt



On Fri, 7 Sep 2001, Mike Jimenez wrote:

 I did that and it still gave me the same error?
Apis+
Did you delete config.cache or start with a fresh untar
of distribution?
Apis-
 Mike
8 - snip ---






stop then stop

2001-09-07 Thread webbuilder.jp

I am in trouble with vpopmail-4.9.10.
occasionally, the virtualdomains which i made under the vpopmail
stop.
it happens around after a couple of weeks.
The first time i add a domain and the users, it works well.
And then after weeks it stop.

Then i deleat the domains which stoped, using command  ./bin/vdeldomain
domain.com.
and i readd the domains which deleated, and add users under the domains,
Then it works well.

This thing just keeping to happen after a couple of weeks of the recovery.

My OS is redhat 7.0.
Would you please help me with this trouble?

Akihiro Yahata