maybe vpopmail has a bug ?

2001-09-05 Thread lawy

the environments: redhat7.0 + qmail-1.0.3 + vpopmail-4.9.10 + ucspi-tcp-0.88 + 
daemontools-0.70.

after I intalled qmail1.0.3, there was no problem for sending and receiving email.
then continue installing vpopmail,the whole steps in detail look like below:
1,./configure --enable-romaming-user=y --enable-default-domain=mydomain.com 
--enable-ucspi-dir=../ucspi-tcp-0.88;
2, make; make install-strip;
3, ./vadddomain mydomain;
4, ./vadduser myuser;
5, replace the entry checkpassword in the file /service/qmail-pop3d/run with vchkpw;

the files concerned will look like below:
the file /var/qmail/control/me:
mail.mydomain.net
the file /var/qmail/control/locals:
localhost
mail.mydomain.net
the file /var/qmail/control/rcpthosts:
localhost
mail.mydomain.net
mydomain.net
the file /var/qmail/control/virtualdomains:
mydomain.net
the file /var/qmail/control/defaultdomain:
mydomain.net
the file /var/qmail/user/assign:

+testdomain.net-:testdomain.net:501:508:/home/vpopmail/domains/testdomain.net:-::
.
the file /etc/tcp.smtp:
127.0.0.:allow,RELAYCLIENT=''
129.0.0.:allow,RELAYCLIENT=''
63.108.64.5:allow,RELAYCLIENT=''
:allow
nothing for /var/qmail/control/plusdomain;
(the user vpopmail and group vchkpw have been created before installing vpopmail)

then test the pop3d service with vchkpw from the address 129.0.10.15:
telnet mail.mydomain.net 110
trying 129.0.10.18...
connected to 129.0.10.18.
Escape character is '^]'.
+ok<[EMAIL PROTECTED]>
user testuser
+ok
pass 123
-ERR authorization failed
Connection closed by foreign host.
(the result was same as test launched at mail server itself)
if I test the pop3d service with checkpassword from the address 129.0.10.15:
telnet mail.mydomain.net 110
trying 129.0.10.18...
connected to 129.0.10.18.
Escape character is '^]'.
+ok<[EMAIL PROTECTED]>
user testuser
+ok
pass 123
+ok
if I send email from somewhere to [EMAIL PROTECTED], the email can be delived to 
the directory correctly: /home/vpopmail/domains/mydomain.net/testuser/Maildir/new;

now, my big problem is pop3d with the vchkpw. I don't know where I made a mistake with 
the vpopmail, sometimes I even thought maybe vpopmail has a bug ?
I'm eager for some expert's answer, thanks a lot.

hopefully

lawy




Autocreation

2001-09-05 Thread Einar Bordewich

The autocreation of maildirs based on SQL data seems to be broken again?
I've tried both with a NULL and empty value in the pw_dir field.

--- ChangeLog ---
   - vchkpw will autocreate a user directory if thier path value
 in the authentication structure is empty.
 
Sep 21 - autocreation of directories would cause vdelivermail to core 
 dump if pop account does not exist
 
Sep 20 - updates to FAQ file
 
4.9.3
 
Sep 18 - fix up vclose is_open login in vmysql.c vsybase.c voracle.c
 
   - vdelivermail will auto create a users directory if thier
 directory value in thier authentication structure is blank.
 This can be used by sql based systems, or ldap systems.
 Users can be created and inserted into the database, and
 if their path value is left blank, vpopmail will use the
 bigdir directory layout algorythm to create a directory
 and update the authentication database. So, users can be
 created by just adding them to the database and leaving
 thier directory path blank.
-

-- 

IDG New MediaEinar Bordewich
Development Manager  Phone: +47 2336 1420
E-Mail:  eibo(at)newmedia.no
Lat: 59.91144 N  Lon: 10.76097 E






Using qmail for archiving mail

2001-09-05 Thread Alexander Afonyashin

Is it possible to implement archiving of all or selected (based on To: or
other fields) mail passing through qmail box? Most of the mail isn't
delivered locally (qmail acts as relay for internal network). I can catch
mail for particular address by adding its domain to rcpthosts, defining user
in virtualdomains for this e-mail address and creating .qmail- file in
/var/qmail/alias. But using this way I'm only able to forward all mail for
this e-mail to different account, not to have a copy of all email for this
external address (and still have this mail delivering).

Any suggestions?




Re: Autocreation

2001-09-05 Thread Einar Bordewich

Ignore.

I had a NULL value in the pw_gecos field which vpopmail obvius did'nt like,
ending session with a "-ERR aack, child crashed". Seems to work as expected.

--

IDG New MediaEinar Bordewich
Development Manager  Phone: +47 2336 1420
E-Mail:  eibo(at)newmedia.no
Lat: 59.91144 N  Lon: 10.76097 E


- Original Message -
From: "Einar Bordewich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 05, 2001 12:52 PM
Subject: Autocreation


> The autocreation of maildirs based on SQL data seems to be broken again?
> I've tried both with a NULL and empty value in the pw_dir field.
>
> --- ChangeLog ---
>- vchkpw will autocreate a user directory if thier path value
>  in the authentication structure is empty.
>
> Sep 21 - autocreation of directories would cause vdelivermail to core
>  dump if pop account does not exist
>
> Sep 20 - updates to FAQ file
>
> 4.9.3
>
> Sep 18 - fix up vclose is_open login in vmysql.c vsybase.c voracle.c
>
>- vdelivermail will auto create a users directory if thier
>  directory value in thier authentication structure is blank.
>  This can be used by sql based systems, or ldap systems.
>  Users can be created and inserted into the database, and
>  if their path value is left blank, vpopmail will use the
>  bigdir directory layout algorythm to create a directory
>  and update the authentication database. So, users can be
>  created by just adding them to the database and leaving
>  thier directory path blank.
> -
>
> --
> 
> IDG New MediaEinar Bordewich
> Development Manager  Phone: +47 2336 1420
> E-Mail:  eibo(at)newmedia.no
> Lat: 59.91144 N  Lon: 10.76097 E
> 
>
>
>




Filed To: not set when aliasing

2001-09-05 Thread Alexander Afonyashin

I have .qmail-postmaster in /var/qmail/alias set to forward all mail to
[EMAIL PROTECTED] Works well, but incoming mail has no field To: set. How
to fix that?

Microsoft Mail Internet Headers Version 2.0
Received: from test.rapida.ru ([192.168.6.5]) by mail.int.rapida.ru with
Microsoft SMTPSVC(5.0.2195.2966);
  Wed, 5 Sep 2001 18:19:38 +0400
Received: (qmail 16321 invoked by alias); 5 Sep 2001 14:22:20 -
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 16318 invoked by uid 0); 5 Sep 2001 14:22:20 -
Date: 5 Sep 2001 14:22:20 -
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
Cc: recipient list not shown: ;
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 05 Sep 2001 14:19:38.0695 (UTC)
FILETIME=[CBF24570:01C13615]





Oracle compile error

2001-09-05 Thread Jose Rodriguez

Hi.

I've just downloaded the latest devel version pre5 and when i tryied to 
compile, i got the following error, any advise will be greatly apreciated.

After reading RAEDME.oracle i edited voracle.h to match my oracle setup, and 
precompiled it using:   proc voracle.pc

# make
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/sh 
./config.status
creating config.h
config.h is unchanged
make  all-recursive
Making all in cdb
( cat warn-auto.sh;  echo CC=\'`head -1 conf-cc`\';  echo 
LD=\'`head -1
conf-ld`\';  cat find-systype.sh;  ) | sh > systype
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo 'rm -f 
"$main"';  echo 'ar cr "$main" ${1+"$@"}';  case "`cat systype`" in  
sunos-5.*) ;;  unix_sv*) ;;  irix64-*) ;;  irix-*) ;;  dgux-*) ;;  
hp-ux-*) ;;  sco*) ;;  *) echo 'ranlib "$main"' ;;  esac  ) > makelib
chmod 755 makelib
( ( ./compile tryulong32.c && ./load tryulong32 &&  ./tryulong32 ) 
>/dev/null 2>&1  && cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile cdb_hash.c
./compile cdb_unpack.c
./compile cdb_seek.c
./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
./compile cdbmake_pack.c
./compile cdbmake_hash.c
./compile cdbmake_add.c
./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o  cdbmake_add.o
Target "all" is up to date.
cc -I. -I/home/oracle/precomp/public  -g -c vpopmail.c
cc -I. -I/home/oracle/precomp/public  -g -c md5.c
cc -I. -I/home/oracle/precomp/public  -g -c bigdir.c
cc -I. -I/home/oracle/precomp/public  -g -c vauth.c
"vauth.c", line 428.46: 1506-045 (S) Undeclared identifier SITE_SIZE.
"vauth.c", line 539.73: 1506-045 (S) Undeclared identifier SITE_SIZE.
"vauth.c", line 694.48: 1506-045 (S) Undeclared identifier SITE_SIZE.
"vauth.c", line 734.16: 1506-280 (S) Function argument assignment between
types
"void*" and "struct vqpasswd" is not allowed.
"vauth.c", line 948.46: 1506-045 (S) Undeclared identifier SITE_SIZE.
"vauth.c", line 1059.50: 1506-045 (S) Undeclared identifier SITE_SIZE.
"vauth.c", line 1173.58: 1506-045 (S) Undeclared identifier SITE_SIZE.
"vauth.c", line 1279.57: 1506-045 (S) Undeclared identifier SITE_SIZE.
"vauth.c", line 1536.48: 1506-045 (S) Undeclared identifier SITE_SIZE.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.

Thanks in advance.

Jose Rodriguez Alarcon



open-smtp and tcp.smtp

2001-09-05 Thread remo

Hi guys, I have configured vpopmail to allow roaming. I get the entries
in the /home/vpopmail/etc/open-smtp and I have configured to use
tcp.smtp (default to /etc) but that file never get updated.

Here is the script I use for my qmail-smtp:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp rblsmtpd rblsmtpd
-rrelays.mail-abuse.org  /var/qmail/bin/qmail-smtpd 2>&1


Thanks for your help.

Remo




Warning Quota Overflow

2001-09-05 Thread juan enciso

Hi Managers

I need send a e-mail to my users when their quota is
overflow

How can do this??
Very thanks for your advice..





__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com



Re: Warning Quota Overflow

2001-09-05 Thread vol

Anything under 1.5k should get through.

juan enciso wrote:
> 
> Hi Managers
> 
> I need send a e-mail to my users when their quota is
> overflow
> 
> How can do this??
> Very thanks for your advice..
> 
> __
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com

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



where does the "netscape bug" problem actually fall

2001-09-05 Thread Dave

just curios..  my understanding is that the whole qmail, vpopmail, mysql
conglomerate creates a "pop before smtp" authentication protocol, and netscape
ignores this and tries to authenticate using smtp anyway, thus hitting an error
since smtp isn't tied into the vchkpw in the mysql...  is this generally the
problem?

latest versions >.30 seem to solve this by their description, is this the case
or are we still without the ability to service netscape users?

any hacks to remedy this?

Dave




Re: where does the "netscape bug" problem actually fall

2001-09-05 Thread Ken Jones

On Wed, 2001-09-05 at 22:01, Dave wrote:
> just curios..  my understanding is that the whole qmail, vpopmail, mysql
> conglomerate creates a "pop before smtp" authentication protocol, and netscape
> ignores this and tries to authenticate using smtp anyway, thus hitting an error
> since smtp isn't tied into the vchkpw in the mysql...  is this generally the
> problem?

No, this is not the problem. You are mixing apples and oranges,
specifically: 
1) smtp authentication before relay
2) pop authentication before relay

The pop method is invisible to the Mail User Agent so
Netscape has no problem with it.

When you setup Netscape there is a way to type in your
user name to send to the smtp server. If you do that,
netscape assumes there is smtp authentication. If you
do not type anything in for user/smtp server, then it
does not try.

If you want to use the pop method don't tell netscape
to try the smtp authentication method.

If you want to use smtp authentication then give netscape
the smtp user name values.

So it sounds like your problem is Netscape is not configured
for what ever method you are trying to use.

> 
> latest versions >.30 seem to solve this by their description, is this the case
> or are we still without the ability to service netscape users?

All the releases back to the first ones that supported roaming
users has worked with netscape. I know because I used netscape
as my MUA. All current releases also work.

the current 5.0 pre release definitly works with smtp authentication.
I know because I set one up last week and it worked fine.


> 
> any hacks to remedy this?
No hacks needed, you probably have something misconfigured,
or it is some other, unrelated issue.

ken





vpopmail 5.0pre1

2001-09-05 Thread lao nightwolf

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?

Normally, it should ask for a password when first authenticating via pop3 
right?

cheers,
lao


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