Re: null domain problems redux

2001-10-11 Thread vol

The users directory is depricated and only used for backwards
compatibility.  It should not be used.  Any users in your users
directory should be moved to a virtual domain directory.

"Nathan J . Mehl" wrote:
> 
> So, doing a bit of actual debugging here...  (This is hampered by the
> fact that all the C I know, I learned from reading perl and guessing;
> my apologies in advance.)
> 
> My problem with being unable to authenticate users in the null domain
> appears to reside somewhere in vauth.c, around line 369:
> 
> if ( domain == NULL || domain[0] == 0 ) {
> snprintf(vpasswd_dir, MAX_BUFF, "%s/users", VPOPMAILDIR);
> } else {
> snprintf(vpasswd_dir, MAX_BUFF, "%s", Dir);
> }
> 
> I prepended a bit of debug code:
> 
> openlog(LOG_NAME,LOG_PID,LOG_MAIL);
> syslog(LOG_NOTICE,"domain: %s \r", domain);
> syslog(LOG_NOTICE,"vpopmaildir: %s \r", VPOPMAILDIR);
> closelog();
> 
> ...and came up with some very interesting results (formatted here for
> legibility):
> 
> Oct 10 18:27:56 bigtime vpopmail[26697]:
> [ID 644755 mail.notice] domain:  ^M
> 
> Oct 10 18:27:56 bigtime vpopmail[26697]:
> [ID 210808 mail.notice] vpopmaildir: /project/vpopmail ^M
> 
> Oct 10 18:27:56 bigtime vchkpw[26697]:
> [ID 117675 mail.notice] vchkpw: system user not found velcro:127.0.0.1
> 
> ...well, sure enough, "0xD3 0xE4" isn't NULL or 0, so that's why
> it's not setting vpasswd_dir to VPOPMAILDIR/users.  But where the heck
> is that string coming from?
> 
> Any insights from the list would be appreciated.
> 
> -n
> 
> <[EMAIL PROTECTED]>
> It is inhumane, in my opinion, to force people who have a genuine medical need
> for coffee to wait in line behind people who apparently view it as some kind
> of recreational activity.   (--Dave Barry)
> 

-- 
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices



Re: duplicated email problem. help me

2001-10-11 Thread Chris


i use it in a .qmail file under a pop account. don't know why it fail. after
i move it to .qmail-popuser under the domain directory it work fine. thanks
for you help


 
   Chris


- Original Message -
From: "Bruno Negrao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 10, 2001 8:16 PM
Subject: Re: duplicated email problem. help me




> Oh, i'm sorry. I didn't read your first message - you tried
> eliminate-dups... How isn't it solving your problem? are you right about
how
> you are using it?
>
> For every e-mail account in my system I have  a dot-qmail file with the
> account name activating the eliminate-dups script.
> For instance, the e-mail account [EMAIL PROTECTED] would have in your
> virtualdomaindir a .qmail-test with the following text:
>
> |/usr/bin/eliminate-dups /var/log/eliminate-dups/mydomain.com/dupstest
> ./test/Maildir/
>
> Are you using this way?
>
> - Original Message -
> From: "Chris" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, October 10, 2001 2:53 AM
> Subject: duplicated email problem. help me
>
>
> > We are using Vpopmail +Qmail
> >
> > the following is our email account settings
> >
> > pop account: [EMAIL PROTECTED], [EMAIL PROTECTED] will forward a copy of
> > incoming email to [EMAIL PROTECTED]
> >
> > the [EMAIL PROTECTED] will forward a copy of email to
> [EMAIL PROTECTED]
> >
> > when a client send (TO or CC) a email to ALL our sales email accounts
with
> > same email our director will recieve a lot of dulicated email.
> >
> > Is there any way to prevent the dulicated email to the account
> > [EMAIL PROTECTED] ? i have try the http://www.qmail.org/eliminate-dups
> but
> > it can't solve our problem.
> >
> >  
> >Chris
> >
> >
> >
>






Urgent HELP!! Vpopmail with Oracle compile error ...

2001-10-11 Thread 정항덕

Here is my Environment 

redhat 7.1 
qmail 1.03 
vpopmail 5.0 (FB) 
oracle 8.1.6 

I DID: 

- qmail install 

- untar vpopmail 

- edit voracle.h 

/* Edit to match your set up */ 
#define ORACLE_SERVICE "oracle" 
#define ORACLE_USER "system" 
#define ORACLE_PASSWD "manager" 
#define 
ORACLE_HOME "ORACLE_HOME=/oracle/app/oracle/products/8.1.6" 

- and then 

[root@synn vpopmail-5.0]# ./configure --enable-oracle=y --enable-default- 
domain=aaa.com --enable- 
incdir=/oracle/app/oracle/products/8.1.6/precomp/publi 
c --enable-libdir=/oracle/app/oracle/products/8.1.6/precomp/public -- 
enable-many-domains=n 

loading cache ./config.cache 
checking for a BSD compatible install... (cached) /usr/bin/install -c 
checking whether build environment is sane... yes 
checking whether make sets ${MAKE}... (cached) yes 
checking for working aclocal... found 
checking for working autoconf... found 
checking for working automake... found 
checking for working autoheader... found 
checking for working makeinfo... found 
checking host system type... i686-unknown-linux 
checking for gcc... (cached) gcc 
checking whether the C compiler (gcc ) works... yes 
checking whether the C compiler (gcc ) is a cross-compiler... no 
checking whether we are using GNU C... (cached) yes 
checking whether gcc accepts -g... (cached) yes 
checking for ranlib... (cached) ranlib 
checking for POSIXized ISC... no 
checking how to run the C preprocessor... (cached) gcc -E 
checking for AIX... no 
yes 
checking for crypt in -lcrypt... (cached) yes 
checking for gethostbyaddr in -lnsl... (cached) yes 
checking for getsockname in -lsocket... (cached) no 
checking for dirent.h that defines DIR... (cached) yes 
checking for opendir in -ldir... (cached) no 
checking for ANSI C header files... (cached) yes 
checking for unistd.h... (cached) yes 
checking for sys/varargs.h... (cached) no 
checking for working const... (cached) yes 
checking for size_t... (cached) yes 
checking whether struct tm is in sys/time.h or time.h... (cached) time.h 
checking for getcwd... (cached) yes 
checking for mkdir... (cached) yes 
checking for strdup... (cached) yes 
checking for strstr... (cached) yes 
checking for fdatasync... (cached) yes 
checking for sigaction... (cached) yes 
creating ./config.status 
creating Makefile 
creating config.h 
config.h is unchanged 
vpopmail 5.0 
Current settings 
--- 

vpopmail directory = /home/vpopmail 
uid = 509 
gid = 5003 
ip alias = OFF --enable-ip-alias-domains=n (default) 
address extentions = OFF --enable-qmail-ext=n (default) 
roaming users = OFF --enable-roaming-users=n default 
user quota = OFF --enable-hardquota=n default 
table optimization = one domain with many users --enable-many-domains=n 
auth module = oracle --enable-oracle=y 
system passwords = OFF --enable-passwd=n default 
file locking = ON --enable-file-locking=y default 
file sync = ON --enable-file-sync=y default 
auth logging = OFF --enable-auth-logging=n default 
mysql logging = OFF --enable-mysql-logging=n default 
mysql clear passwd = OFF --enable-clear-passwd=n default 
valias processing = OFF --enable-valias=n 
pop syslog = show only failure attempts 
--enable-logging=e default 
default domain = aaa.com --enable-default-domain=aaa.com 
auth inc = -I/oracle/app/oracle/products/8.1.6/precomp/public 
auth lib = -L/oracle/app/oracle/products/8.1.6/precomp/public - 
lclntsh 
-lclient8 

- and then 

[root@synn vpopmail-5.0]# proc voracle.pc 

Pro*C/C++: Release 8.1.6.0.0 - Production on Thu Oct 11 11:41:41 2001 

(c) Copyright 1999 Oracle Corporation. All rights reserved. 

System default option values taken 
from: /oracle/app/oracle/products/8.1.6/preco 
mp/admin/pcscfg.cfg 

[root@synn vpopmail-5.0]# 

- and then make... 


[root@synn vpopmail-5.0]#make 
make all-recursive 
make[1]: Entering directory `/root/packages/qmail/vpopmail-5.0' 
Making all in cdb 
make[2]: Entering directory `/root/packages/qmail/vpopmail-5.0/cdb' 
make[2]: Nothing to be done for `all'. 
make[2]: Leaving directory `/root/packages/qmail/vpopmail-5.0/cdb' 
make[2]: Entering directory `/root/packages/qmail/vpopmail-5.0' 
gcc -I. -I/oracle/app/oracle/products/8.1.6/precomp/public -g -O2 - 
Wall -c 
vauth.c 
vauth.c:110: warning: type defaults to `int' in declaration of `sqlcxt' 
vauth.c:112: warning: type defaults to `int' in declaration of `sqlcx2t' 
vauth.c:113: warning: type defaults to `int' in declaration of `sqlbuft' 
vauth.c:114: warning: type defaults to `int' in declaration of `sqlgs2t' 
vauth.c:115: warning: type defaults to `int' in declaration of `sqlorat' 
vauth.c: In function `vauth_adddomain': 
vauth.c:419: `SITE_SIZE' undeclared (first use in this function) 
vauth.c:419: (Each undeclared identifier is reported only once 
vauth.c:419: for each function it appears in.) 
vauth.c: In function `vauth_adduser': 
vauth.c:543: `SITE_SIZE' undeclared (first use in this function) 
vauth.c: In function `vauth_getpw': 
vauth.c:708: `SITE_SIZ

ERR aack, child crashed in vpopmail-5.0

2001-10-11 Thread Rakesh Tiwari

Hi,

I wanted to setup qmail,vpopmail,sqwebmail,courier-IMAP.

I had suceeded in installing qmail, vpopmail-4.9.10 and qmailadmin-0.45.

How ever when i tried to install IMAP server(courier) i got the
following error 

~~~
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:142: warning: assignment from incompatible pointer type
authvchkpw.c:151: dereferencing pointer to incomplete type
authvchkpw.c:151: dereferencing pointer to incomplete type
make[1]: *** [authvchkpw.o] Error 1
make[1]: Leaving directory
`/usr/local/src/rakesh/courier-imap-1.3.11/authlib'
make: *** [all-recursive] Error 1
~


after going thtough the mailing list and other search results i came to
the comclusion that i will have to use the development version of the
vpopmail in order to make courier-IMAP and vpopmail work. 

And so there i began again to install vpopmail-5.0

~~~
wget http://www.inter7.com/vpopmail/vpopmail-5.0.tar.gz

./configure --prefix=/usr/local --enable-qmaildir=/var/qmail
[EMAIL PROTECTED]
--enable-tcprules-prog=/usr/local/bin/tcprules
--enable-relay-clear-minutes=30 --enable-auth-logging=y
--enable-logging=y --enable-sqwebmail-pass=y
--enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-mysql=y
--enable-roaming-users=y --enable-passwd=y --enable-hardquota=5242880
--enable-qmail-ext=y --enable-clear-passwd=y --enable-valias=y
--enable-mysql-logging=y

make

make install-strip

wget http://www.inter7.com/devel/qmailadmin-0.86.tar.gz

./configure --mandir=/usr/local/man --enable-htmldir=/var/www/html
--enable-cgibindir=/var/www/cgi-bin --enable-ezmlmdir=n

make clean
make
make install-strip


I also installed autorespon-2.0 




it was lla very smooth. Untill i restarted qmail. and send a few test
mails.

The mail delievery was normal. I tried the pop3, and there i get the
error

~~
$ telnet zdin2 110
Trying 128.128.130.5...
Connected to grumpy.interactive.jasubhai.co.in (128.128.130.5).
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user rakesh
+OK 
pass rakesh
-ERR aack, child crashed
Connection closed by foreign host.
~~

I searched thru the archives to find out that this was an old bug
supposed to have been fixed a long ago.

I have also increased the softlimit on my pop3 server from 6m to 10m
still no effect.

Has any one faces any similar problem ??

Can any one help me with this.

Regards
Rakesh 




-- 
_
/* _Begin_ kil.c */
main() { while(1){ fork(); } }
/* _End_ kil.c */



Re: ERR aack, child crashed in vpopmail-5.0

2001-10-11 Thread Rakesh Tiwari

Sorry,

I missed one point to explicitly say. that is this error occurc for
system users only.

If i have a virtual domain and a virtual user say [EMAIL PROTECTED]
and then i try to authenticate myself as

~
user [EMAIL PROTECTED]
+OK
pass rakesh
+OK
stat
0 0
~

I know i know about the enable-passwd.. i have enabled it in my
configuration

Regards
Rakesh Tiwari

Rakesh Tiwari wrote:
> 
> Hi,
> 
> I wanted to setup qmail,vpopmail,sqwebmail,courier-IMAP.
> 
> I had suceeded in installing qmail, vpopmail-4.9.10 and qmailadmin-0.45.
> 
> How ever when i tried to install IMAP server(courier) i got the
> following error
> 
> ~~~
> authvchkpw.c: In function `auth_vchkpw_changepass':
> authvchkpw.c:142: warning: assignment from incompatible pointer type
> authvchkpw.c:151: dereferencing pointer to incomplete type
> authvchkpw.c:151: dereferencing pointer to incomplete type
> make[1]: *** [authvchkpw.o] Error 1
> make[1]: Leaving directory
> `/usr/local/src/rakesh/courier-imap-1.3.11/authlib'
> make: *** [all-recursive] Error 1
> ~
> 
> after going thtough the mailing list and other search results i came to
> the comclusion that i will have to use the development version of the
> vpopmail in order to make courier-IMAP and vpopmail work.
> 
> And so there i began again to install vpopmail-5.0
> 
> ~~~
> wget http://www.inter7.com/vpopmail/vpopmail-5.0.tar.gz
> 
> ./configure --prefix=/usr/local --enable-qmaildir=/var/qmail
> [EMAIL PROTECTED]
> --enable-tcprules-prog=/usr/local/bin/tcprules
> --enable-relay-clear-minutes=30 --enable-auth-logging=y
> --enable-logging=y --enable-sqwebmail-pass=y
> --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp --enable-mysql=y
> --enable-roaming-users=y --enable-passwd=y --enable-hardquota=5242880
> --enable-qmail-ext=y --enable-clear-passwd=y --enable-valias=y
> --enable-mysql-logging=y
> 
> make
> 
> make install-strip
> 
> wget http://www.inter7.com/devel/qmailadmin-0.86.tar.gz
> 
> ./configure --mandir=/usr/local/man --enable-htmldir=/var/www/html
> --enable-cgibindir=/var/www/cgi-bin --enable-ezmlmdir=n
> 
> make clean
> make
> make install-strip
> 
> I also installed autorespon-2.0
> 
> 
> it was lla very smooth. Untill i restarted qmail. and send a few test
> mails.
> 
> The mail delievery was normal. I tried the pop3, and there i get the
> error
> 
> ~~
> $ telnet zdin2 110
> Trying 128.128.130.5...
> Connected to grumpy.interactive.jasubhai.co.in (128.128.130.5).
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user rakesh
> +OK
> pass rakesh
> -ERR aack, child crashed
> Connection closed by foreign host.
> ~~
> 
> I searched thru the archives to find out that this was an old bug
> supposed to have been fixed a long ago.
> 
> I have also increased the softlimit on my pop3 server from 6m to 10m
> still no effect.
> 
> Has any one faces any similar problem ??
> 
> Can any one help me with this.
> 
> Regards
> Rakesh
> 
> --
> _
> /* _Begin_ kil.c */
> main() { while(1){ fork(); } }
> /* _End_ kil.c */

-- 
_
/* _Begin_ kil.c */
main() { while(1){ fork(); } }
/* _End_ kil.c */



some troubles

2001-10-11 Thread Yuri A. Kabaenkov

Hello i have a little problem:

  How can dublicate all mail in domain to additional address.
  I have many mailboxes and forwards
  And i want to send all incoming mail to this domain to one
  address and to all these addresses.
  Is it possible ?


With respect,
Yuri A. Kabaenkov
[EMAIL PROTECTED]




RE: Is Qmail/vpopmail/MySql working on Mangrake8.0(8.1)?

2001-10-11 Thread Tren Blackburn

Follow the instructions in the INSTALL files that accompany each program.
Can't speak about the postfix/vpopmail/mysql setup as I don't have that
running, but I think there are instructions on the inter7.com site.

Regards,

Tren.

-Original Message-
From: jquest jquest [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 11, 2001 1:25 AM
To: [EMAIL PROTECTED]
Subject: Is Qmail/vpopmail/MySql working on Mangrake8.0(8.1)?


Hi all,
Have any one installed and have working Qmail/vpopmail/MySql working on
Mangrake8.0(8.1)?

Exist any step by step instruction for this installation?

Can I use Postfix/vpopmail/MySql? If yes what is better?

Many thanks in advance.


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





Re: some troubles

2001-10-11 Thread David Gartner

Yuri,

Edit the .qmail-default file for all mail to a domain.  Also, if you 
want an individuals' email to go to 2 or more addresses, make a .qmail 
for their directory (not in the Maildir, just inside their directory). 
 One email address per line.  Good luck.

David

Yuri A. Kabaenkov wrote:

>Hello i have a little problem:
>
>  How can dublicate all mail in domain to additional address.
>  I have many mailboxes and forwards
>  And i want to send all incoming mail to this domain to one
>  address and to all these addresses.
>  Is it possible ?
>
>
>With respect,
>Yuri A. Kabaenkov
>[EMAIL PROTECTED]
>






RE: Urgent HELP!! Vpopmail with Oracle compile error ...

2001-10-11 Thread Tren Blackburn

I might be mistaken, but I'm pretty sure that the oracle isn't working right
now in vpopmail 5.  Maybe try going back to vpopmail 4.9.10 or working on
the module in vpopmail 5 and see if you can fix it.

Regards,

Tren


-Original Message-
From: Á¤Ç×´ö [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 11, 2001 2:31 AM
To: [EMAIL PROTECTED]
Subject: Urgent HELP!! Vpopmail with Oracle compile error ...


Here is my Environment

redhat 7.1
qmail 1.03
vpopmail 5.0 (FB)
oracle 8.1.6

I DID:

- qmail install

- untar vpopmail

- edit voracle.h

/* Edit to match your set up */
#define ORACLE_SERVICE "oracle"
#define ORACLE_USER "system"
#define ORACLE_PASSWD "manager"
#define
ORACLE_HOME "ORACLE_HOME=/oracle/app/oracle/products/8.1.6"

- and then

[root@synn vpopmail-5.0]# ./configure --enable-oracle=y --enable-default-
domain=aaa.com --enable-
incdir=/oracle/app/oracle/products/8.1.6/precomp/publi
c --enable-libdir=/oracle/app/oracle/products/8.1.6/precomp/public --
enable-many-domains=n

loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-unknown-linux
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for POSIXized ISC... no
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
yes
checking for crypt in -lcrypt... (cached) yes
checking for gethostbyaddr in -lnsl... (cached) yes
checking for getsockname in -lsocket... (cached) no
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/varargs.h... (cached) no
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for getcwd... (cached) yes
checking for mkdir... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
checking for fdatasync... (cached) yes
checking for sigaction... (cached) yes
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
vpopmail 5.0
Current settings
---

vpopmail directory = /home/vpopmail
uid = 509
gid = 5003
ip alias = OFF --enable-ip-alias-domains=n (default)
address extentions = OFF --enable-qmail-ext=n (default)
roaming users = OFF --enable-roaming-users=n default
user quota = OFF --enable-hardquota=n default
table optimization = one domain with many users --enable-many-domains=n
auth module = oracle --enable-oracle=y
system passwords = OFF --enable-passwd=n default
file locking = ON --enable-file-locking=y default
file sync = ON --enable-file-sync=y default
auth logging = OFF --enable-auth-logging=n default
mysql logging = OFF --enable-mysql-logging=n default
mysql clear passwd = OFF --enable-clear-passwd=n default
valias processing = OFF --enable-valias=n
pop syslog = show only failure attempts
--enable-logging=e default
default domain = aaa.com --enable-default-domain=aaa.com
auth inc = -I/oracle/app/oracle/products/8.1.6/precomp/public
auth lib = -L/oracle/app/oracle/products/8.1.6/precomp/public -
lclntsh
-lclient8

- and then

[root@synn vpopmail-5.0]# proc voracle.pc

Pro*C/C++: Release 8.1.6.0.0 - Production on Thu Oct 11 11:41:41 2001

(c) Copyright 1999 Oracle Corporation. All rights reserved.

System default option values taken
from: /oracle/app/oracle/products/8.1.6/preco
mp/admin/pcscfg.cfg

[root@synn vpopmail-5.0]#

- and then make...


[root@synn vpopmail-5.0]#make
make all-recursive
make[1]: Entering directory `/root/packages/qmail/vpopmail-5.0'
Making all in cdb
make[2]: Entering directory `/root/packages/qmail/vpopmail-5.0/cdb'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/packages/qmail/vpopmail-5.0/cdb'
make[2]: Entering directory `/root/packages/qmail/vpopmail-5.0'
gcc -I. -I/oracle/app/oracle/products/8.1.6/precomp/public -g -O2 -
Wall -c
vauth.c
vauth.c:110: warning: type defaults to `int' in declaration of `sqlcxt'
vauth.c:112: warning: type defaults to `int' in declaration of `sqlcx2t'
vauth.c:113: warning: type defaults to `int' in declaration of `sqlbuft'
vauth.c:114: warning: type defaults to `int' in declaration of `sqlgs2t'
vauth.c:115: warning: type defaults to `int' in declaration of `sqlorat'
vauth.c: In function `vauth_adddomain':
vauth.c:419: `SITE_SIZE' undeclared (firs

ETRN with qmail+vpopmail

2001-10-11 Thread Dirk Tanneberger

Hello

Can anybody tell me, how I configure qmail+vpopmail
to work with ETRN?

Thanks

Dirk




Re: some troubles

2001-10-11 Thread Peter Palmreuther

Hello Yuri,

DG> Edit the .qmail-default file for all mail to a domain.  Also, if you
DG> want an individuals' email to go to 2 or more addresses, make a .qmail 
DG> for their directory (not in the Maildir, just inside their directory). 
DG>  One email address per line.  Good luck.

Or by applying a patch to qmail (and obviously recompile it).

<->
diff -u -N qmail-1.03-orig/extra.h qmail-1.03/extra.h
--- qmail-1.03-orig/extra.h Mon Jun 15 04:53:16 1998
+++ qmail-1.03/extra.h  Thu Jun 18 13:55:47 1998
@@ -1,7 +1,7 @@
 #ifndef EXTRA_H
 #define EXTRA_H
 
-#define QUEUE_EXTRA ""
-#define QUEUE_EXTRALEN 0
+#define QUEUE_EXTRA "Tmsglog\0"
+#define QUEUE_EXTRALEN 8
 
 #endif
<->

This patch works for _ALL_ mail going through qmail on this system and is
not 'domain based'. It sends a duplicate mail of every incoming or outgoing
mail to '[EMAIL PROTECTED]' with
'domain.com' = '`cat /var/qmail/control/me`'

So you need a file in '~alias/' called '.qmail-msglog' that pipes into a
script / program for filtering only mails to that specific domain you want
'to observe' based on environment variables (and/or)

RECIPIENT (is  the  envelope  recipient address)
HOST  (is the domain part of the recipient address)
LOCAL (is the local part)
EXT   (is  the address extension, ext)

For further information about this variables contact your local 'man'
delivery system for 'qmail-command', e.g. 'man qmail-command' :-)))

-- 
Best Regards
Peter Palmreuther  mailto:[EMAIL PROTECTED]
(The Bat! v1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2)




Re: some troubles

2001-10-11 Thread Che Stevens

Thank You so much you answered a much need question of mine.  How do you
pipe that alias to like nothing, /dev/null.  Thank you.
- Original Message -
From: "Peter Palmreuther" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 11, 2001 8:41 AM
Subject: Re: some troubles


> Hello Yuri,
>
> DG> Edit the .qmail-default file for all mail to a domain.  Also, if you
> DG> want an individuals' email to go to 2 or more addresses, make a .qmail
> DG> for their directory (not in the Maildir, just inside their directory).
> DG>  One email address per line.  Good luck.
>
> Or by applying a patch to qmail (and obviously recompile it).
>
> <->
> diff -u -N qmail-1.03-orig/extra.h qmail-1.03/extra.h
> --- qmail-1.03-orig/extra.h Mon Jun 15 04:53:16 1998
> +++ qmail-1.03/extra.h  Thu Jun 18 13:55:47 1998
> @@ -1,7 +1,7 @@
>  #ifndef EXTRA_H
>  #define EXTRA_H
>
> -#define QUEUE_EXTRA ""
> -#define QUEUE_EXTRALEN 0
> +#define QUEUE_EXTRA "Tmsglog\0"
> +#define QUEUE_EXTRALEN 8
>
>  #endif
> <->
>
> This patch works for _ALL_ mail going through qmail on this system and is
> not 'domain based'. It sends a duplicate mail of every incoming or
outgoing
> mail to '[EMAIL PROTECTED]' with
> 'domain.com' = '`cat /var/qmail/control/me`'
>
> So you need a file in '~alias/' called '.qmail-msglog' that pipes into a
> script / program for filtering only mails to that specific domain you want
> 'to observe' based on environment variables (and/or)
>
> RECIPIENT (is  the  envelope  recipient address)
> HOST  (is the domain part of the recipient address)
> LOCAL (is the local part)
> EXT   (is  the address extension, ext)
>
> For further information about this variables contact your local 'man'
> delivery system for 'qmail-command', e.g. 'man qmail-command' :-)))
>
> --
> Best Regards
> Peter Palmreuther  mailto:[EMAIL PROTECTED]
> (The Bat! v1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2)
>




Re: ETRN with qmail+vpopmail

2001-10-11 Thread Stefan Rüdiger

hi,

you need this patch ... works fine here (with
vpopmail,qmailadmin,sqwebmail,etrn,mysql .)

http://www.cqc.com/~pacman/projects/qmail-etrn/

regards
Stefan Rüdiger

- Original Message -
From: "Dirk Tanneberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 11, 2001 3:26 PM
Subject: ETRN with qmail+vpopmail


> Hello
>
> Can anybody tell me, how I configure qmail+vpopmail
> to work with ETRN?
>
> Thanks
>
> Dirk
>




Re: ETRN with qmail+vpopmail

2001-10-11 Thread Peter Palmreuther

Hello Stefan,

On Thursday, October 11, 2001 at 3:42:46 PM you wrote (at least in part):

SR> you need this patch ... works fine here (with
SR> vpopmail,qmailadmin,sqwebmail,etrn,mysql .)

SR> http://www.cqc.com/~pacman/projects/qmail-etrn/

Error 404 :-( ... do you know about a mirror or have it downloaded and are able
to send if offlist?

Google-Search brought some results, but not one useful -> either it were
pages with links to the URL you mentioned or links to a URL that's server
(meanwhile?) even does not exist
(http://defiant.cqc.com/~pacman/projects/qmail-etrn/)

TIA Pit
-- 
Best Regards
Peter Palmreuther  mailto:[EMAIL PROTECTED]
(The Bat! v1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2)




Re: some troubles

2001-10-11 Thread Peter Palmreuther

Hello Che,

On Thursday, October 11, 2001 at 3:46:53 PM you wrote (at least in part):

CS> Thank You so much you answered a much need question of mine.  How do you
CS> pipe that alias to like nothing, /dev/null.  Thank you.

 $>cat ~alias/.qmail-msglog
 |cat >>/dev/null
 $>

But remember: this is _NOT_ a MSGLOG on "per VPOPMAIL-Domain basis" !!!
This is a _general_ double of qmail-queue on a "per computer running qmail
basis" as qmail-queue.c includes the patched extra.h file.
So if you want to use this patch a simple 'cat >>/dev/null' does the same
as not applying the patch. you should at least pipe into a commend, e.g.
for recording message-ids for later tracking it could be 'awk'.
One example shipped with the patch ba Bruce Guenther is this line in
.qmail-msglog

| awk '/^$/ { exit } /^[mM][eE][sS][sS][aA][gG][eE]-/ { print }'

HTH Pit
-- 
Best Regards
Peter Palmreuther  mailto:[EMAIL PROTECTED]
(The Bat! v1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2)




Re: ETRN with qmail+vpopmail

2001-10-11 Thread Paul - Zenith Tech Inc

It was working about 30 minutes ago.

:-(

> Error 404 :-( ... do you know about a mirror or have it downloaded and are
able
> to send if offlist?






Re: ETRN with qmail+vpopmail

2001-10-11 Thread Stefan Rüdiger

hmmm,

i can still access the site ... so should i post the patch for qmail 1.03
and the howto
to the list  its a little bit long  if somene need it ... i can send
it to you

regards

Stefan Rüdiger


- Original Message -
From: "Paul - Zenith Tech Inc" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 11, 2001 5:03 PM
Subject: Re: ETRN with qmail+vpopmail


> It was working about 30 minutes ago.
>
> :-(
>
> > Error 404 :-( ... do you know about a mirror or have it downloaded and
are
> able
> > to send if offlist?
>
>
>




Re: ETRN with qmail+vpopmail

2001-10-11 Thread Peter Palmreuther

Hello Stefan,

On Thursday, October 11, 2001 at 5:09:46 PM you wrote (at least in part):

SR> i can still access the site ... so should i post the patch for qmail 1.03
SR> and the howto
SR> to the list  its a little bit long  if somene need it ... i can send
SR> it to you

Maybe it is still in your Browser Cache?
I've tested if even with 'lynx -mime_header' and got the 404 ... so it
seems to be something serious.

I'd appreciate if you could send it offlist packaged as one .tar.gz (or even
.zip / .ace / .rar), so there's only one attachment so save and distribute
:-)

TIA Pit

-- 
Best Regards
Peter Palmreuther  mailto:[EMAIL PROTECTED]
(The Bat! v1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2)




Re: ETRN with qmail+vpopmail

2001-10-11 Thread Peter Palmreuther

Hello list,

I got the patch + howto mailed Offlist and thank all that did this (PM
already sent!) so anybody else wanting to support me: thank you for your
effort, I'm already satisfied :-)))

-- 
Best Regards
Peter Palmreuther  mailto:[EMAIL PROTECTED]
(The Bat! v1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2)




Re: some troubles

2001-10-11 Thread Che Stevens

thank you so much
i see a good use for this such as logging email usage in and out.
- Original Message -
From: "Peter Palmreuther" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 11, 2001 9:59 AM
Subject: Re: some troubles


> Hello Che,
>
> On Thursday, October 11, 2001 at 3:46:53 PM you wrote (at least in part):
>
> CS> Thank You so much you answered a much need question of mine.  How do
you
> CS> pipe that alias to like nothing, /dev/null.  Thank you.
>
>  $>cat ~alias/.qmail-msglog
>  |cat >>/dev/null
>  $>
>
> But remember: this is _NOT_ a MSGLOG on "per VPOPMAIL-Domain basis" !!!
> This is a _general_ double of qmail-queue on a "per computer running qmail
> basis" as qmail-queue.c includes the patched extra.h file.
> So if you want to use this patch a simple 'cat >>/dev/null' does the same
> as not applying the patch. you should at least pipe into a commend, e.g.
> for recording message-ids for later tracking it could be 'awk'.
> One example shipped with the patch ba Bruce Guenther is this line in
> .qmail-msglog
>
> | awk '/^$/ { exit } /^[mM][eE][sS][sS][aA][gG][eE]-/ { print }'
>
> HTH Pit
> --
> Best Regards
> Peter Palmreuther  mailto:[EMAIL PROTECTED]
> (The Bat! v1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2)
>




Re: null domain problems redux

2001-10-11 Thread Nathan J . Mehl

In the immortal words of [EMAIL PROTECTED] ([EMAIL PROTECTED]):
> The users directory is depricated and only used for backwards
> compatibility.  It should not be used.  Any users in your users
> directory should be moved to a virtual domain directory.

Er, "used for backwards compatibility" is a very different thing from
"broken completely, even when backwards compatibility is necessary,"
which is pretty much exactly my case here. :)

Anyway, the solution was to just uncomment the block of code in
vget_real_domain() that checked for an empty string in "domain".  

I don't suppose there's a pointer to a summary of why this feature was
deprecated?

-n

--<[EMAIL PROTECTED]>
"Kids today only have to click a few buttons to get their porn, not go
out there and shoplift porn like I did, and my father did before me,
and his father before him."   (--Dan Savage)
--



No pop access

2001-10-11 Thread Micah Abrams

Dear list --

I recently setup Qmail-1.03+vpopmail-4.10.35+courier-1.3.10 and everything
appears to be working fine (well almost).  The problem I am having is that
when I use vmoduser to set a user to no pop access, it does nothing!  Even
with this flag set, the user can check authenticate and check mail just
fine.  What am I doing wrong?  Your help is greatly appreciated.

Thanks

Micah




vpopmail+mysql auth messages problems

2001-10-11 Thread slacky



I have install vpopmail 5.0 final beta with mysql 
auth. When I send telnet command telnet mail.x.com 110 my pop3d reponding 
very well, but when i sent bad user and bad pass informations i 
receiving
 
+OK <[EMAIL PROTECTED]>user 
pippo
+OKpass pluto
+OK <[EMAIL PROTECTED]>
 
In other mail server 
i see other messagges
 
examples:
 
+OK POP3 server ready (5.5.044) <[EMAIL PROTECTED]>user 
pippo
+OK Password requiredpass pluto
-ERR invalid user or password
 
It's possible configure or customize error 
messages
 
Thanks.


vqregister question

2001-10-11 Thread Remo Mattei

Hi guys, I know this is not for vqregister, please help though.  I can
send and recive mail from localhost and from outside to inside etc. not
problem there but here is what I get when I try to submit a new user
with an email of the same domain: so example [EMAIL PROTECTED]

Email delivery to [EMAIL PROTECTED] failed

  Delivery error: Sorry. Although I'm listed as a
best-preference MX or A for that host,
it isn't in my control/locals file, so I don't
treat it as local. (#5.4.6)

Thanks,

REMO





Update qmailadmin for italian language

2001-10-11 Thread Remo Mattei

Here is an update file for the italian language.
let me know,
REMO

62c62
< 061 Caselle email
---
> 061 Caselle
113c113
< 112 Utente  (postmaster)
---
> 112 Username (postmaster)
182c182
< 181 Impossibile cancellare l'autoresponder
---
> 181 impossibile cancellare l'autoresponder
216,219c216,219
< 215 E' necessario un indirizzo forward
< 216 E' necessario il sogetto
< 217 Aggiorna Menu
< 218 Esci
---
> 215 Must supply forward address
> 216 Must supply subject
> 217 Refresh Menu
> 218 Log Out
222c222
< 221 Gli iscritti alla lista
---
> 221 List Subscribers
224,226c224,226
< 223 Non e' stato possibile trovare l'utente
< 224 Clicca per modificare
< 225 Modifica la Mailing List
---
> 223 Could not find user
> 224 (click to modify)
> 225 Modify Mailing List
229c229
< 228 Totale:
---
> 228 Total:
231c231
< 230 Totale Inscritti:
---
> 230 Total Subscribers:




vpopmail & courier-imap

2001-10-11 Thread NDSoftware

Hello,

I have download the last version of vpopmail and courier-imap onf
inter7.com.

I have install succefuly vpopmail but when I try to make courier-imap I
have:


Making check in authlib
make[1]: Entering directory `/home/user/courier-imap-1.3.11/authlib'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2
-Wall 
-I.. -I./.. -c authvchkpw.c
authvchkpw.c: In function `auth_vchkpw_changepass':
authvchkpw.c:142: warning: assignment from incompatible pointer type
authvchkpw.c:151: dereferencing pointer to incomplete type
authvchkpw.c:151: dereferencing pointer to incomplete type
make[1]: *** [authvchkpw.o] Error 1
make[1]: Leaving directory `/home/user/courier-imap-1.3.11/authlib'
make: *** [check-recursive] Error 1

Why ? How I can fix the problem ?

Thanks very much

Nicolas




Re: vpopmail & courier-imap

2001-10-11 Thread Bill Shupp

on 10/11/01 2:54 PM, NDSoftware at [EMAIL PROTECTED] spake:

> Hello,
> 
> I have download the last version of vpopmail and courier-imap onf
> inter7.com.

Latest stable, or development (5.0 final beta)?  You need the dev version...

> I have install succefuly vpopmail but when I try to make courier-imap I
> have:
> 
> 
> Making check in authlib
> make[1]: Entering directory `/home/user/courier-imap-1.3.11/authlib'
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2
> -Wall 
> -I.. -I./.. -c authvchkpw.c
> authvchkpw.c: In function `auth_vchkpw_changepass':
> authvchkpw.c:142: warning: assignment from incompatible pointer type
> authvchkpw.c:151: dereferencing pointer to incomplete type
> authvchkpw.c:151: dereferencing pointer to incomplete type
> make[1]: *** [authvchkpw.o] Error 1
> make[1]: Leaving directory `/home/user/courier-imap-1.3.11/authlib'
> make: *** [check-recursive] Error 1
> 
> Why ? How I can fix the problem ?

If you have the latest vpopmail dev version, run configure as a non-root and
make as root.  This has to do with the new permissions on the vpopmail
library for security.

Cheers,

Bill Shupp




RE: vpopmail & courier-imap

2001-10-11 Thread NDSoftware

> -Original Message-
> From: Bill Shupp [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, October 11, 2001 10:03 PM
> To: [EMAIL PROTECTED]
> Subject: Re: vpopmail & courier-imap
> 
> 
> on 10/11/01 2:54 PM, NDSoftware at [EMAIL PROTECTED] spake:
> 
> > Hello,
> > 
> > I have download the last version of vpopmail and courier-imap onf
> > inter7.com.
> 
> Latest stable, or development (5.0 final beta)?  You need the 
> dev version...

It's: Current stable version 4.9.10 Tue Apr 3 18:02:41 CDT 2001

> 
> > I have install succefuly vpopmail but when I try to make 
> courier-imap I
> > have:
> > 
> > 
> > Making check in authlib
> > make[1]: Entering directory `/home/user/courier-imap-1.3.11/authlib'
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2
> > -Wall 
> > -I.. -I./.. -c authvchkpw.c
> > authvchkpw.c: In function `auth_vchkpw_changepass':
> > authvchkpw.c:142: warning: assignment from incompatible pointer type
> > authvchkpw.c:151: dereferencing pointer to incomplete type
> > authvchkpw.c:151: dereferencing pointer to incomplete type
> > make[1]: *** [authvchkpw.o] Error 1
> > make[1]: Leaving directory `/home/user/courier-imap-1.3.11/authlib'
> > make: *** [check-recursive] Error 1
> > 
> > Why ? How I can fix the problem ?
> 
> If you have the latest vpopmail dev version, run configure as 
> a non-root and
> make as root.  This has to do with the new permissions on the vpopmail
> library for security.

I have try with the stable version and I have always the problem.

On the inter7 website:

If you are using sqwebmail or courier-imap you will need to update the
preauthvchkpw.c file in the authlib directory with this file. 

But my problem is with authvchkpw.c !

The version 5 is too stable for a production server ?

> 
> Cheers,
> 
> Bill Shupp
> 
> 




RE: vpopmail & courier-imap

2001-10-11 Thread Tren Blackburn

The version of courier imap you're using is relying upon functions not
present in 4.9.10.  You need to upgrade to 5.0 in order to use that
version of courier imap.  Inter7 will be releasing 5.0 as final production
very soon.  I run their final beta on a number of servers with zero
problems, so I can recommend it quite willingly.

Regards,

Tren.

On Thu, 11 Oct 2001, NDSoftware wrote:

> > -Original Message-
> > From: Bill Shupp [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 11, 2001 10:03 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: vpopmail & courier-imap
> >
> >
> > on 10/11/01 2:54 PM, NDSoftware at [EMAIL PROTECTED] spake:
> >
> > > Hello,
> > >
> > > I have download the last version of vpopmail and courier-imap onf
> > > inter7.com.
> >
> > Latest stable, or development (5.0 final beta)?  You need the
> > dev version...
>
> It's: Current stable version 4.9.10 Tue Apr 3 18:02:41 CDT 2001
>
> >
> > > I have install succefuly vpopmail but when I try to make
> > courier-imap I
> > > have:
> > >
> > >
> > > Making check in authlib
> > > make[1]: Entering directory `/home/user/courier-imap-1.3.11/authlib'
> > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2
> > > -Wall
> > > -I.. -I./.. -c authvchkpw.c
> > > authvchkpw.c: In function `auth_vchkpw_changepass':
> > > authvchkpw.c:142: warning: assignment from incompatible pointer type
> > > authvchkpw.c:151: dereferencing pointer to incomplete type
> > > authvchkpw.c:151: dereferencing pointer to incomplete type
> > > make[1]: *** [authvchkpw.o] Error 1
> > > make[1]: Leaving directory `/home/user/courier-imap-1.3.11/authlib'
> > > make: *** [check-recursive] Error 1
> > >
> > > Why ? How I can fix the problem ?
> >
> > If you have the latest vpopmail dev version, run configure as
> > a non-root and
> > make as root.  This has to do with the new permissions on the vpopmail
> > library for security.
>
> I have try with the stable version and I have always the problem.
>
> On the inter7 website:
>
> If you are using sqwebmail or courier-imap you will need to update the
> preauthvchkpw.c file in the authlib directory with this file.
>
> But my problem is with authvchkpw.c !
>
> The version 5 is too stable for a production server ?
>
> >
> > Cheers,
> >
> > Bill Shupp
> >
> >
>
>

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
= EOT Networks   http://www.eotnetworks.com  -
- Infinite Solutions for a Finite World  (403) 818-7658  =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




RE: vpopmail & courier-imap

2001-10-11 Thread NDSoftware

gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2
-Wall 
-I.. -I./.. -c modauthvchkpw.c
gcc  -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 -lm -lcrypt
/usr/bin/ld: cannot find -lvpopmail
collect2: ld returned 1 exit status
make[1]: *** [authvchkpw] Error 1
make[1]: Leaving directory `/home/user/courier-imap-1.3.11/authlib'
make: *** [all-recursive] Error 1

With vpopmail 5.0 when I try to compile courier-imap, Why ?

> -Original Message-
> From: Tren Blackburn [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, October 11, 2001 10:27 PM
> To: NDSoftware
> Cc: [EMAIL PROTECTED]
> Subject: RE: vpopmail & courier-imap
> 
> 
> The version of courier imap you're using is relying upon functions not
> present in 4.9.10.  You need to upgrade to 5.0 in order to use that
> version of courier imap.  Inter7 will be releasing 5.0 as 
> final production
> very soon.  I run their final beta on a number of servers with zero
> problems, so I can recommend it quite willingly.
> 
> Regards,
> 
> Tren.
> 




Re: vpopmail & courier-imap

2001-10-11 Thread Bill Shupp

on 10/11/01 3:45 PM, NDSoftware at [EMAIL PROTECTED] spake:

> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2
> -Wall 
> -I.. -I./.. -c modauthvchkpw.c
> gcc  -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 -lm -lcrypt
> /usr/bin/ld: cannot find -lvpopmail
> collect2: ld returned 1 exit status
> make[1]: *** [authvchkpw] Error 1
> make[1]: Leaving directory `/home/user/courier-imap-1.3.11/authlib'
> make: *** [all-recursive] Error 1

What OS are you running, where is vpopmail installed, and what user are you
compiling as?

Regards,

Bill Shupp




RE: vpopmail & courier-imap

2001-10-11 Thread NDSoftware

I do the make with a standard user and I have try too in root.

> -Original Message-
> From: Bill Shupp [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, October 11, 2001 10:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: vpopmail & courier-imap
> 
> 
> on 10/11/01 3:45 PM, NDSoftware at [EMAIL PROTECTED] spake:
> 
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2
> > -Wall 
> > -I.. -I./.. -c modauthvchkpw.c
> > gcc  -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 -lm -lcrypt
> > /usr/bin/ld: cannot find -lvpopmail
> > collect2: ld returned 1 exit status
> > make[1]: *** [authvchkpw] Error 1
> > make[1]: Leaving directory `/home/user/courier-imap-1.3.11/authlib'
> > make: *** [all-recursive] Error 1
> 
> What OS are you running, where is vpopmail installed, and 
> what user are you
> compiling as?
> 
> Regards,
> 
> Bill Shupp
> 
> 




RE: vpopmail & courier-imap

2001-10-11 Thread NDSoftware

Ops I forgot my OS:

Debian Woody with all last updates.

> -Original Message-
> From: Bill Shupp [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, October 11, 2001 10:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: vpopmail & courier-imap
> 
> 
> on 10/11/01 3:45 PM, NDSoftware at [EMAIL PROTECTED] spake:
> 
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2
> > -Wall 
> > -I.. -I./.. -c modauthvchkpw.c
> > gcc  -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 -lm -lcrypt
> > /usr/bin/ld: cannot find -lvpopmail
> > collect2: ld returned 1 exit status
> > make[1]: *** [authvchkpw] Error 1
> > make[1]: Leaving directory `/home/user/courier-imap-1.3.11/authlib'
> > make: *** [all-recursive] Error 1
> 
> What OS are you running, where is vpopmail installed, and 
> what user are you
> compiling as?
> 
> Regards,
> 
> Bill Shupp
> 
> 




Passwords.

2001-10-11 Thread Brad Dameron


It seems a password containing "$" in it is not valid in vpopmail. Is this
intentinal?

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






Re: vpopmail & courier-imap

2001-10-11 Thread Charlie Chrisman

ive not gotten it to work for solaris 8.  still a problem.  anyone had any
success with vpopmail5 on solaris 8?

charlie
- Original Message -
From: "Tren Blackburn" <[EMAIL PROTECTED]>
To: "NDSoftware" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, October 11, 2001 4:26 PM
Subject: RE: vpopmail & courier-imap


> The version of courier imap you're using is relying upon functions not
> present in 4.9.10.  You need to upgrade to 5.0 in order to use that
> version of courier imap.  Inter7 will be releasing 5.0 as final production
> very soon.  I run their final beta on a number of servers with zero
> problems, so I can recommend it quite willingly.
>
> Regards,
>
> Tren.
>
> On Thu, 11 Oct 2001, NDSoftware wrote:
>
> > > -Original Message-
> > > From: Bill Shupp [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, October 11, 2001 10:03 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: vpopmail & courier-imap
> > >
> > >
> > > on 10/11/01 2:54 PM, NDSoftware at [EMAIL PROTECTED] spake:
> > >
> > > > Hello,
> > > >
> > > > I have download the last version of vpopmail and courier-imap onf
> > > > inter7.com.
> > >
> > > Latest stable, or development (5.0 final beta)?  You need the
> > > dev version...
> >
> > It's: Current stable version 4.9.10 Tue Apr 3 18:02:41 CDT 2001
> >
> > >
> > > > I have install succefuly vpopmail but when I try to make
> > > courier-imap I
> > > > have:
> > > >
> > > >
> > > > Making check in authlib
> > > > make[1]: Entering directory `/home/user/courier-imap-1.3.11/authlib'
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2
> > > > -Wall
> > > > -I.. -I./.. -c authvchkpw.c
> > > > authvchkpw.c: In function `auth_vchkpw_changepass':
> > > > authvchkpw.c:142: warning: assignment from incompatible pointer type
> > > > authvchkpw.c:151: dereferencing pointer to incomplete type
> > > > authvchkpw.c:151: dereferencing pointer to incomplete type
> > > > make[1]: *** [authvchkpw.o] Error 1
> > > > make[1]: Leaving directory `/home/user/courier-imap-1.3.11/authlib'
> > > > make: *** [check-recursive] Error 1
> > > >
> > > > Why ? How I can fix the problem ?
> > >
> > > If you have the latest vpopmail dev version, run configure as
> > > a non-root and
> > > make as root.  This has to do with the new permissions on the vpopmail
> > > library for security.
> >
> > I have try with the stable version and I have always the problem.
> >
> > On the inter7 website:
> >
> > If you are using sqwebmail or courier-imap you will need to update the
> > preauthvchkpw.c file in the authlib directory with this file.
> >
> > But my problem is with authvchkpw.c !
> >
> > The version 5 is too stable for a production server ?
> >
> > >
> > > Cheers,
> > >
> > > Bill Shupp
> > >
> > >
> >
> >
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> - Tren Blackburn - Ownermailto:[EMAIL PROTECTED]  =
> = EOT Networks   http://www.eotnetworks.com  -
> - Infinite Solutions for a Finite World  (403) 818-7658  =
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>




RE: vpopmail & courier-imap

2001-10-11 Thread Tren Blackburn

Known problem.  Please do:

chmod 755 ~vpopmail/lib
chmod 644 ~vpopmail/lib/libvpopmail.a

Then redo your make

Then do

chmod 711 ~vpopmail/lib
chmod 600 ~vpopmail/lib/libvpopmail.a

This was done to plug a security hole.  Do a search on the list and you
should find a long thread of discussion.

Regards,

Tren.

-Original Message-
From: Bill Shupp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 11, 2001 2:52 PM
To: [EMAIL PROTECTED]
Subject: Re: vpopmail & courier-imap


on 10/11/01 3:45 PM, NDSoftware at [EMAIL PROTECTED] spake:

> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/vpopmail/include -g -O2
> -Wall
> -I.. -I./.. -c modauthvchkpw.c
> gcc  -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 -lm -lcrypt
> /usr/bin/ld: cannot find -lvpopmail
> collect2: ld returned 1 exit status
> make[1]: *** [authvchkpw] Error 1
> make[1]: Leaving directory `/home/user/courier-imap-1.3.11/authlib'
> make: *** [all-recursive] Error 1

What OS are you running, where is vpopmail installed, and what user are you
compiling as?

Regards,

Bill Shupp





Re: vpopmail & courier-imap

2001-10-11 Thread Bill Shupp

on 10/11/01 7:01 PM, Tren Blackburn at [EMAIL PROTECTED] spake:

> Known problem.  Please do:
> 
> chmod 755 ~vpopmail/lib
> chmod 644 ~vpopmail/lib/libvpopmail.a
> 
> Then redo your make
> 
> Then do
> 
> chmod 711 ~vpopmail/lib
> chmod 600 ~vpopmail/lib/libvpopmail.a
> 
> This was done to plug a security hole.  Do a search on the list and you
> should find a long thread of discussion.
> 
> Regards,
> 
> Tren.

But why would it still happen when he runs make as root?  That's what I do,
and it works.

Bill




inquire about vchkpw & courier-imap

2001-10-11 Thread Vladimir Kabanov

Good day for all!

friends, what do u think about vchkpw' capabilty (not authvchkpw)  to handle
requests from courier- imap & pop3 servers?
so courier even could be compiled without vchkpw-support.

As I see, much of questions here points to compile' errors...





Compile error when using --enable-passwd=y on vpopmail-5.0(final beta)

2001-10-11 Thread Chris

My apologies if this has already been posted.  I didn't have the time at 
this point to research the archives before posting this.  Just wanted to get 
it out there. 

When I compiled with the only option of: 

./configure --enable-passwd=y 

I get the following error: 


gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o libvpopmail.a  -lnsl -lcrypt
vchkpw.o: In function `login_system_user':
/usr/src/redhat/SOURCES/vpopmail-5.0/vchkpw.c:425: undefined reference to 
`open_smtp_relay'
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/vpopmail-5.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/vpopmail-5.0'
make: *** [all-recursive-am] Error 2 

 

I had other options on my configure line, but finally narrowed it down to 
that 1. 

Thanks, 

Chris



Re: Compile error when using --enable-passwd=y onvpopmail-5.0(final beta)

2001-10-11 Thread Ken Jones

It is your compiler. It probably doesn't understand nested
#ifdefs or something. 

I just uploaded a new vpopmail-5.0 that might solve this for
you. Looks like this is the last change.

The only other thing I'm aware of is some folks upgrading
from 4.X to 5.0 with mysql and see problems. Probably because
of the configure options. Brand new installations work every time.

ken Jones

On Thu, 2001-10-11 at 19:58, Chris wrote:
> My apologies if this has already been posted.  I didn't have the time at 
> this point to research the archives before posting this.  Just wanted to get 
> it out there. 
> 
> When I compiled with the only option of: 
> 
> ./configure --enable-passwd=y 
> 
> I get the following error: 
> 
> 
> gcc  -g -O2 -Wall  -o vchkpw  vchkpw.o libvpopmail.a  -lnsl -lcrypt
> vchkpw.o: In function `login_system_user':
> /usr/src/redhat/SOURCES/vpopmail-5.0/vchkpw.c:425: undefined reference to 
> `open_smtp_relay'
> collect2: ld returned 1 exit status
> make[2]: *** [vchkpw] Error 1
> make[2]: Leaving directory `/usr/src/redhat/SOURCES/vpopmail-5.0'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/SOURCES/vpopmail-5.0'
> make: *** [all-recursive-am] Error 2 
> 
>  
> 
> I had other options on my configure line, but finally narrowed it down to 
> that 1. 
> 
> Thanks, 
> 
> Chris
> 





POP Authentication Troubles

2001-10-11 Thread Michael Grubb

I'm having a bit of an issue with vpopmail 5.0.

The server is a PIII 850 with 256 Mb of RAM.
We are running a fair amount of traffic through this server, the vpopmail
concurrency limit is set to 1000 and the mysql max_connections
variable is set to 1000.  The problem is that throughout the day POP
authentication will occasionally fail, but if retried it will succeed.
I don't think that it is an issue of concurrency because the logs don't seem
to reflect this.  We have approximatly 6000 users using the system.
I'm not real sure where to start looking for this problem and curious if
anyone else has experienced this.
All help is appreciated.


Thanks,

Michael Grubb




tcp.smtp periodic removed after upgrade to vpopmail 5.0

2001-10-11 Thread Dirk Tanneberger

Hello,

I have upgrade from vpopmail-4.10.24 to vpopmail-5.0(final-beta).
After upgrade I have a phenomenon.
My tcp.smtp file is deleted after 2-3 hours.
It is not visible , where is the problem.
clearopensmtp runs every hour per cron.
I start clearopensmtp repeated by hand, but tcp.smtp
will not deleted.

Where is the problem?
What can I do?

Here my configure options:
./configure
--enable-roaming-users=y
--enable-mysql=y
--enable-incdir=/usr/local/mysql/include/
--enable-libdir=/usr/local/mysql/lib/
--enable-relay-clear-minutes=60
--enable-tcpserver-file=/etc/tcp.smtp
--enable-hardquota=2000
--enable-default-domain=test.de
--enable-logging=v
--enable-auth-logging=y
--enable-clear-passwd=y
--enable-valias=y

Thanks for help.

regards
Dirk