Re: asking about sqwebmail 3.0

2001-08-28 Thread Ken Jones

sqwebmail 3.0 requires vpopmail 4.10.35 or vpopmail 5.0

Ken Jones
http://www.inter7.com/devel/

On Mon, 2001-08-27 at 22:36, Michael Andreas wrote:
 
 Dear Sir,
 
 I have some problems to configure sqwebmail 3.0.
 I already use vpopmail 4.9.10,qmail 1.03 and mysql.
 but i can't make them to synchronize with sqwebmail.
 Could you send me about the instruction, stpe by step.
 because i read INSTALL file, but i doesn't work.
 
 thank you for your attention.
 
 Regards,
 
 Michael Andreas
  
 
 
 
 
 
 Sent via the BizNet WebMail system at jktmail1.biz.net.id
 Get SUPRA Unlimited Dialup at only Rp.395.000/month.
 Biznet provides Internet Access, Data Center and Web Hosting.
 Please visit www.biz.net.id for detailed information.
 
 
  

 





Re[2]: vpopmail API: how to use vadddomain, anyway?

2001-08-28 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Sean,

Monday, August 27, 2001, 11:09:17 PM, you wrote:


 vadddomain(domain, pwdata-pw_dir, pwdata-pw_uid, pwdata-pw_gid);
  

 you could avoid the call to getpwnam by using the constants defined
 in vpopmail_config.h:  

 vadddomain(domain, VPOPMAILDIR, VPOPMAILUID, VPOPMAILGID);


Thanks, SWIG now generates proper wrapper files and I can compile and
link them but when I try to import them into Python, I end up with
the vpopmail API calls being undefined symbols which isn't really
suprising with a module that is only 14kb as opposed to about 50kb in
the case of libvpopmail.a.

I did
gcc -c -I/home/vpopmail/include -I/usr/local/include/python2.1 \
- -I/usr/local/include/python2.1 vpopmailpython.c vpopmailpython_wrap.c

ld -shared -L/home/vpopmail/include -lvpopmail -lcrypt \
vpopmailpython.o vpopmailpython_wrap.o -o vpopmail.so


How can I get ld to build something as shared library but still
link libvpopmail.a statically into it? I think ld thinks it can
ignore
all undefined symbols when using -shared cause those will be fixed at
runtime which  isn't true in the case of libvpopmail as it is only an
archive, not a shared object...





Best regards,
 Gabriel
«¨v¤$@ 

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO4te1cZa2WpymlDxAQFzagf/dhN264dTwFnNExrTWaW/02t1WWD4Dt7f
gE3YZOM4qT8xtBLsJG/wl0W1LUSzcqIwI0JSPNTJ9q0ddrqUmMcuOgwwPahf2uQ8
MB/fVWHjHVi3c1SOIEaQJXYptc8tlutSx5yGaUgQDPHyuYOXRvZyjveCyG0L5f0+
o4Cf16NyWkmFuPyqfySGBSM+VTOm36dyzLi0VuHHAQ5TkfiYNXoHHn6CBF/UueS/
owoCcJeFW/uKR/YtTlo7mOLvLXfNmjemVkecBe+pTHFVlWWrneQtSf9ONk4Q6CoI
dV3j+ykZ/t2Ml7gwAXzu9FLug29Se28r3PN8Q040FXyVQY1FLNAImg==
=KwQV
-END PGP SIGNATURE-




[RESOLVED] Re[3]: vpopmail API: how to use vadddomain, anyway?

2001-08-28 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-


 ld -shared -L/home/vpopmail/include -lvpopmail -lcrypt \
 vpopmailpython.o vpopmailpython_wrap.o -o vpopmail.so


 How can I get ld to build something as shared library but still
 link libvpopmail.a statically into it? I think ld thinks it can
 ignore
 all undefined symbols when using -shared cause those will be fixed
 at runtime which  isn't true in the case of libvpopmail as it is
 only an archive, not a shared object...

I just figured I need to add --undefined=vadddomain to get
libvpopmail
into it and it's working.

I'll test this a bit and if it works like it should, I'll contribute
it to vpopmail (or make it available else where).
æ

-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO4tf58Za2WpymlDxAQEKIQf+LxWsr9NeFhQEl0xvTwmKAcmvi5dO+7Xo
DQpppHha09kpxf9XJSfZzuHruzyWtzuVOXpFWdWj4LKI4xiC3+ryph0tzoLz64Y4
yOi2xNOPeAM8X1hk6SYygSb8lKBHjjxQoO25cpgsdQ7HwRARJ9EaREbejvqo1QAI
x/Y3HYYMizrBVOgIoilzNqzcAGYjY9Zg0PolPRbvrJH7T5fZ0IBF1WQiWsh7r+OK
HNr3+Eeq+3RdU3XpDec0leG9g9Gw7Q00EvTvnA2g9+BmnSsBKNhEM/VPbX+bZ57G
aR5NrxKGFuKTgVdOkualvboGsoN8iuoKccmIj9XGI5GiAgCcL/LFwg==
=oP7r
-END PGP SIGNATURE-




Re: Upgrade from 4.9.10 to 4.10.35

2001-08-28 Thread Ken Jones

On Mon, 2001-08-27 at 14:44, Brad Dameron wrote:
 First off:
 
 Using mysql for authentication.
 
 Well I tried to upgrade vpopmail so I could upgrade my qmailadmin for
 testing. But after I upgraded my users could no longer authenticate.
 
 vchkpw: vpopmail user not found
 
 I used the exact same configuration was I did with 4.9.10. It is listed
 here:
 
 ./configure --enable-mysql=y \
 [EMAIL PROTECTED] \
 --enable-default-domain=tscnet.com \
 --enable-large-site=y \
  ^
enable large site has been removed from 4.10 and replaced with
  --enable-many-domains=n|y   
Default is yes, no optimizes for sites with one domain and many users

You want --enable-many-domains=n

Which means it is looking for only one table vpopmail
that holds all the users. You have one table per domain.
Hence it can't find the user in the vpopmail table.

Ken Jones

 --enable-sqlincdir=/usr/local/include/mysql \
 --enable-sqllibdir=/usr/local/lib/mysql \
 --enable-logging=v \
 --enable-log-name=pop3 \
 --enable-passwd=n
 
 I added in the following to my configure script:
 
 --enable-auth-logging=y
 
 which should not of made my users not be able to authenticate. Yes I did
 modify the vmysql.h file and put my passwords in.
 
 I have tried several things. But no go. I looked over the vmysql.h file for
 table changes or something but didn't anything that would cause the problem.
 It is like it no longer recognizes my default-domain. I am not a noob here.
 So please give me some advanced advice.
 
 ---
 Brad Dameron  
Network Account Executive
 TSCNet Inc.  
 www.tscnet.com
 Silverdale, WA.  
 1-888-8TSCNET
 
 
 
 





Re: .qmail

2001-08-28 Thread Ken Jones

On Mon, 2001-08-27 at 05:01, Bozhan Boiadzhiev wrote:
 Hi
 can ia use .qmail files in user dirs.
 if i have /var/lib/vpopmail/domain/domain/com/user/
 can i have .qmail file in this directory.?
 
 

Yes.

It supports 
1) /full/path/to/Maildir/
2) mail address to foward to.
3) | /some/program with options 
   piping the email through a program.

Ken Jones




Re: Problems with open-smtp (Roaming)

2001-08-28 Thread Ken Jones


This is a known problem in 4.9.10 and seems to be fixed
in 4.10.35 and 5.0.

If you have heavy traffic for roaming users I recommend
using mysql. It has much better file locking for updating
the list of temporary IP's (open-smtp is in a table)

Ken Jones

On Mon, 2001-08-27 at 03:58, Gabriele Giambonini wrote:
 
 I'm trying to allow the users of my virtual domains to use my smtp-server 
 (qmail)
 to post, so I compiled vpopmail 4.9.10 with the option 
 --enable-roaming-users=y.
 
 The problem is that the directory /usr/vpopmail/etc/ is full of files named
 open-smtp.tmp.XXX of length 0 Bytes, the file /usr/vpopmail/etc/tcp.smtp is
 unmodified and the file /usr/vpopmail/etc/tcp.smtp.cdb doesn't contains the 
 IP of
 the users allowed to relay (I inspected the file with hex).
 
 Well, the conclusion is: Relay doesn't work. Why ? :-)
 
 This is my /var/qmail/supervise/qmail-smtpd/run
 
 #!/bin/sh
 QMAILDUID=`id -u qmaild`
 NOFILESGID=`id -g qmaild`
 exec /usr/local/bin/softlimit -m 200 \
  /usr/local/bin/tcpserver -H -R -x /home/vpopmail/etc/tcp.smtp.cdb \
  -u $QMAILDUID -g $NOFILESGID 0 smtp \
  /usr/local/bin/rblsmtpd -r relays.orbs.org -r rbl.maps.vix.com \
  /var/qmail/bin/qmail-smtpd
 
 





Re: Do we have to use vchkpw ?

2001-08-28 Thread Ken Jones

I received an email from Vladimir Kabanov:
He has changes to vchkpw to support plain, apop
and cram-md5 and works with pop3, courier-pop3,
courier-imap, qmail-smtp auth. 

Once he sends in the changes and it tests out okay
I'll post it you can test.

Ken Jones

Sounds
On Mon, 2001-08-27 at 02:45, Ryan Duda wrote:
 It would be nice if APOP support was added back into the vpopmail package. 
 I've seen a lot of requests for it lately and I'm sure it is probably not 
 too difficult to do, then again not much of a C programmer.
 
 -Ryan
 
 At 04:09 PM 8/25/2001 -0400, martin wrote:
 Hi.
 
 I normally use APOP 
 http://www.geocities.co.jp/SiliconValley/4777/qmail/checkpw/
 
 There is also a virtual password checker.
 
 Can these be used with vpopmail ?
 
 Regards...Martin
 
 
 
 





Tutorial

2001-08-28 Thread Kelly O'Hoy

are there any good tutorial about setting up virtual pop service using
qmail, vpopmail and courier-IMAP?

I am new to qmail... I need more step by step instruction.

Thx
Kelly




All virtual domains

2001-08-28 Thread martin

Hello.

Let me first state that I am new to using virtual domains in case you are 
wondering.

I still have lots of questions about what I need to remove from a standard 
qmail installation when transitioning to an ALL virtual domains system as 
per vpopmail.html .

Further, when I send a bogus mail to a virtual domain, the bounce comes 
from the original domain (which is what I would expect as I still have 
.qmail-root, .qmail-postmaster, .qmail-mailer-daemon).

Opinions.

Regards...Martin




vaddaliasdomain() (to add aliasdomains without symlinks!)

2001-08-28 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Ken,
During my work with the Python vpopmail module, I figured there ain't
any real vaddaliasdomain() call in the API so I decided to my own and
get rid of the annoying symlinking that vaddaliasdomain does.

Basically, I just use add_alias_domain() to create a new domain that
has the same directory as the old one listed in the assign file (this
is against 4.10.35 and I noticed that 4.9.10 appears to have another
add_domain_assign that appends domains/$domain to the dir string
passed to it).
- ---
int vaddaliasdomain( char *new_domain, char *old_domain)
{
 FILE *fs;
 int i;
 char *domain_sub_dir;
 char tmpbuf[156];
 char * tmpstr;
 char old_working_dir[156];
 uid_t uid;
 gid_t gid;
 char dir[156];

/* we only do lower case */
lowerit(new_domain);
lowerit(old_domain);

/* check invalid email domain characters */
for(i=0; new_domain[i]!=0;++i) {
if (i == 0  new_domain[i] == '-' )
return(VA_INVALID_DOMAIN_NAME);
if (isalnum((int) new_domain[i])==0  new_domain[i]!='-' 
new_domain[i]!='.')
return(VA_INVALID_DOMAIN_NAME);
}
if ( new_domain[i-1] == '-' ) return(VA_INVALID_DOMAIN_NAME);

/* after the name is okay, check if it already exists */
if ( vget_assign(new_domain, NULL, 156, NULL, NULL ) != NULL ) {
return(VA_DOMAIN_ALREADY_EXISTS);
}
tmpstr = vget_assign(old_domain, dir , 156, uid, gid);
if ( tmpstr == NULL ) {
return(VA_OLD_DOMAIN_DOES_NOT_EXIST);
}

add_domain_assign(new_domain, dir, uid, gid);
signal_process(qmail-send, SIGHUP);
return NULL;
}
- ---

Please note that it introduces a new error code named
VA_OLD_DOMAIN_DOES_NOT_EXIST.


Accordingly, vaddaliasdomain.c needs to be changed to:
- 
/*
 * vaddomain
 * part of the vpopmail package
 *
 * Copyright (C) 1999,2001 Inter7 Internet Technologies, Inc.
 *
 * This program is free software; you can redistribute it and/or
modify
 * it under the terms of the GNU General Public License as published
by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA
 */

#include stdio.h
#include stdlib.h
#include unistd.h
#include string.h
#include pwd.h
#include sys/types.h
#include sys/stat.h
#include fcntl.h
#include signal.h
#include config.h
#include vpopmail.h


#define MAX_BUFF 500

char Domain_old[MAX_BUFF];
char Domain_new[MAX_BUFF];
char TmpBuf1[MAX_BUFF];
char TmpBuf2[MAX_BUFF];
char TmpBuf3[MAX_BUFF];

void usage();
void get_options(int argc,char **argv);

int main(argc,argv)
 int argc;
 char *argv[];
{
 char Dir[156];
 char *tmpstr;
 int result;

get_options(argc,argv);

lowerit(Domain_old);
lowerit(Domain_new);

  result=vaddaliasdomain(Domain_new,Domain_old);

  if(result==VA_INVALID_DOMAIN_NAME)
  {
printf(Error: The aliasdomain %s is invalid.\n, Domain_new);
usage();
return(1);
  }

  else if(result==VA_DOMAIN_ALREADY_EXISTS)
  {
printf(Error: The domain %s already exists.\n, Domain_new);
usage();
return(1);
  }

  else if(result==VA_OLD_DOMAIN_DOES_NOT_EXIST)
  {
printf(Error: The domain %s doesn't exist.\n, Domain_old);
usage();
return(1);
  }

  if(result==0)
  {
printf(Successfully added domain %s as an alias to %s\n,
Domain_new, Domain_old);
return(0);
  }


}

void usage()
{
printf(vaddaliasdomain: usage: [options] new_domain
old_domain\n);
printf(options: -v (print version number)\n);
}

void get_options(int argc,char **argv)
{
 int c;
 int errflag;

memset(Domain_old, 0, MAX_BUFF);
memset(Domain_new, 0, MAX_BUFF);
memset(TmpBuf1, 0, MAX_BUFF);
memset(TmpBuf2, 0, MAX_BUFF);

errflag = 0;
while( !errflag  (c=getopt(argc,argv,v)) != -1 ) {
switch(c) {
case 'v':
printf(version: %s\n, VERSION);
break;
default:
errflag = 1;
break;
}
}

if ( optind  argc ) {
strncpy(Domain_new, argv[optind], MAX_BUFF);
++optind;
}

if ( optind  argc ) {
strncpy(Domain_old, argv[optind], MAX_BUFF);
++optind;
}

if ( Domain_new[0] == 0 || Domain_old[0] == 0 ) {
usage();
vexit(-1);
}
}

- 

multiple setup

2001-08-28 Thread Andrew Martin


I currently have qmail installed and using about 50 domains with ~/.qmail
files - I wish these to stay this way, for multiple reasons.  These
mailboxes also do not use Maildir

What I need is to run ONE domain with this patch.  So far, everything is
working except pop3.  I need to find a way to load pop3 so that it will
authenticate via /etc/passwd *first* and if it does not match anything
there, it will search for an auth in /home/vpopmail/...

At least, I think that is the way it should be run?  Just something so
that it will work for that one domain, but ignore the others and leave
them running the way they are.

Failing that, how would I convert all of the existing domains to use
vpopmail - and still be able to use pine in a shell?  I want minimal
(read: no) changes to my existing users configurations, but require
vpopmail for one client.

Any help would be appricated;

Andrew




Re: Tutorial

2001-08-28 Thread Gabriel Ambuehl

-BEGIN PGP SIGNED MESSAGE-

Hello Kelly,

Tuesday, August 28, 2001, 4:13:36 PM, you wrote:

 are there any good tutorial about setting up virtual pop service
 using qmail, vpopmail and courier-IMAP?

 I am new to qmail... I need more step by step instruction.

Start at http://www.lifewithqmail.org


Best regards,
 Gabriel


-BEGIN PGP SIGNATURE-
Version: PGP 6.5i

iQEVAwUBO4vKgcZa2WpymlDxAQFEDQgAkZECC10TVDuSRvLF+s+sHY28QaZoQU2D
7TyTKAGBId5o8w8nG8vm/l8ZgO/Dg6yQHvn+kUtfUwhgtpWYRke18sl/gftFvTTG
YApgIioSZMvhz/srYt7sJyvnc8q/22oQ3LQbKrF46VJdojEh/L7hkfPG86LkzZJU
cayt1H5nw0NQqwF1fPjnR+GkHGIbuH3N/h3oLrUEnSTV0uBNdJdla7NhptjqIoG2
Cg5fnUx8VMBDq2bVFNBSSJH6YU8EHo0aQ25WJqWzgjFzi7RbqHK13sen8MU3QhA5
Ip4OMmwXHnCqa48+FLacmy27h2V2pL5huq/IYdX+jXEVaHI89iKD4Q==
=xmVk
-END PGP SIGNATURE-




Re: can not POP domain in morercpthosts using Vpopmail/vchkpw

2001-08-28 Thread Brandon Ramirez

You should have a .qmail-default file in there as well as a directory called
postmaster.
If they aren't there, I suggest you vdeldomain the entire domain and re-add
it. If it doesn't work, then I don't know heh.

- Brandon Ramirez
System Administrator
UnrealHost
www.unrealhost.net

- Original Message -
From: Michael [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 7:28 AM
Subject: can not POP domain in morercpthosts using Vpopmail/vchkpw


 Hi Folks;

 I have been running my qmail/vpopmail setup for about a year and things
 have been going fine, but today a new domain was added using the
 ./vaddomain command and it wound up in the morercpthosts file which I
 understand is fine as there are over 50 lines in the rcpthosts file.

 The problem is I can not POP the new domain and I get the following
 error..

 [root@ns vpopmail]# telnet cedarcreek.net 110
 Trying 64.65.49.30...
 Connected to cedarcreek.net.
 Escape character is '^]'.
 +OK [EMAIL PROTECTED]
 user rudy
 +OK
 pass test
 -ERR authorization failed
 Connection closed by foreign host.
 [root@ns vpopmail]#

 I can logon to the account above using Sqwebmail and logon no
 problem...as well the account above can send mail just fine.

 In /var/qmail/control I have two files relating to morercpthosts
 ie:

 -rw-r--r--   1 root root   72 Aug 28 13:37 morercpthosts
 -rw-r--r--   1 root root 2212 Aug 28 13:38 morercpthosts.cdb

 I have also run /var/qmail/bin/qmail-newmrh to make sure things were up
 to date..still no luck.

 As well I have the following in that domains Vpopmail directory...
 /home/httpd/html/vpopmail/domains/cedarcreek.net/

 -rw---   1 vpopmail vchkpw   2403 Aug 28 13:02 vpasswd
 -rw---   1 vpopmail vchkpw   4979 Aug 28 13:02 vpasswd.cdb

 i have tried the list archives..but could not find any resolution
 there...any ideas whats going on with my  morercpthosts domain??

 Using the following software:
 ---
 qmail 1.03
 vpopmail-4.9.5
 sqwebmail-1.0.3

 --

best regards
 -michael

 Hello, and thank you for calling MicroSoft Technical Support.  May I
 ask what version of the Code Red Worm your server is running?

 08/15/01 -- as Code Red runs amuck on 500,000 Winderz Servers.






Re: can not POP domain in morercpthosts using Vpopmail/vchkpw

2001-08-28 Thread Michael

Thanks Brandon;

On Tue, 28 Aug 2001, Brandon Ramirez scribed:
 You should have a .qmail-default file in there as well as a directory called
 postmaster.
 If they aren't there, I suggest you vdeldomain the entire domain and re-add
 it. If it doesn't work, then I don't know heh.

Sorry I did not mention those files/directories...but they do indeed
exist.. and we have already tried using vdeldomain to remove the entire
directory and started over...same results...

-
[root@ns cedarcreek.net]# ls -al
total 160
drwx--  24 vpopmail vchkpw   4096 Aug 28 16:47 .
drwx--  51 vpopmail vchkpw   4096 Aug 28 15:38 ..
-rw---   1 vpopmail vchkpw 35 Aug 28 16:47 .dir-control
-rw---   1 vpopmail vchkpw 66 Aug 28 16:04 .qmail-bev
-rw---   1 vpopmail vchkpw 64 Aug 28 16:03 .qmail-bill
-rw---   1 vpopmail vchkpw102 Aug 28 15:39 .qmail-default
-rw---   1 vpopmail vchkpw 63 Aug 28 16:04 .qmail-glen
-rw---   1 vpopmail vchkpw 65 Aug 28 16:04 .qmail-kathy
-rw---   1 vpopmail vchkpw 64 Aug 28 16:05 .qmail-linda
-rw---   1 vpopmail vchkpw 64 Aug 28 16:02 .qmail-lisa
-rw---   1 vpopmail vchkpw 64 Aug 28 16:02 .qmail-mary
-rw---   1 vpopmail vchkpw 65 Aug 28 16:03 .qmail-pam
-rw---   1 vpopmail vchkpw 63 Aug 28 16:04 .qmail-philip
-rw---   1 vpopmail vchkpw 64 Aug 28 16:03 .qmail-ray
-rw---   1 vpopmail vchkpw 62 Aug 28 16:05 .qmail-robert
-rw---   1 vpopmail vchkpw  0 Aug 28 16:47 .vpasswd.lock
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:57 andy
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:54 beverly
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:55 billk
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:52 bob
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:59 gladys
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:59 gladys
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:53 jan
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:39 jodi
drwx--   3 vpopmail vchkpw   4096 Aug 28 16:47 kbo
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:57 kristy
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:58 laura
drwx--   3 vpopmail vchkpw   4096 Aug 28 16:00 living
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:52 lynda
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:54 maryk
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:58 melissa
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:56 pamela
drwx--   3 vpopmail vchkpw   4096 Aug 28 16:00 patricia
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:54 phil
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:38 postmaster
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:53 rachel
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:55 ron
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:39 rudy
drwx--   3 vpopmail vchkpw   4096 Aug 28 15:56 susan
-rw---   1 vpopmail vchkpw   2201 Aug 28 16:47 vpasswd
-rw---   1 vpopmail vchkpw   4733 Aug 28 16:47 vpasswd.cdb


 - Brandon Ramirez
 System Administrator
 UnrealHost
 www.unrealhost.net
 
 - Original Message -
 From: Michael [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, August 28, 2001 7:28 AM
 Subject: can not POP domain in morercpthosts using Vpopmail/vchkpw
 
 
  Hi Folks;
 
  I have been running my qmail/vpopmail setup for about a year and things
  have been going fine, but today a new domain was added using the
  ./vaddomain command and it wound up in the morercpthosts file which I
  understand is fine as there are over 50 lines in the rcpthosts file.
 
  The problem is I can not POP the new domain and I get the following
  error..
 
  [root@ns vpopmail]# telnet cedarcreek.net 110
  Trying 64.65.49.30...
  Connected to cedarcreek.net.
  Escape character is '^]'.
  +OK [EMAIL PROTECTED]
  user rudy
  +OK
  pass test
  -ERR authorization failed
  Connection closed by foreign host.
  [root@ns vpopmail]#
 
  I can logon to the account above using Sqwebmail and logon no
  problem...as well the account above can send mail just fine.
 
  In /var/qmail/control I have two files relating to morercpthosts
  ie:
 
  -rw-r--r--   1 root root   72 Aug 28 13:37 morercpthosts
  -rw-r--r--   1 root root 2212 Aug 28 13:38 morercpthosts.cdb
 
  I have also run /var/qmail/bin/qmail-newmrh to make sure things were up
  to date..still no luck.
 
  As well I have the following in that domains Vpopmail directory...
  /home/httpd/html/vpopmail/domains/cedarcreek.net/
 
  -rw---   1 vpopmail vchkpw   2403 Aug 28 13:02 vpasswd
  -rw---   1 vpopmail vchkpw   4979 Aug 28 13:02 vpasswd.cdb
 
  i have tried the list archives..but could not find any resolution
  there...any ideas whats going on with my  morercpthosts domain??
 
  Using the following software:
  ---
  qmail 1.03
  

RE: Upgrade from 4.9.10 to 4.10.35

2001-08-28 Thread Brad Dameron

Hey ken,

That worked. However vpopmail will no longer authenticate any users that use
the aliased domain name.

So if a user does username@tscnet.com it authenticates. If a user does
username@sinclair.net (our other domain) it says user not found. What do I
need to do to get it to authenticate the second domain. Is there now a MySQL
table or change that needs to be done. I read that the new vpopmail uses
MySQL for aliases and other things.

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



-Original Message-
From: Ken Jones [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 4:41 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Upgrade from 4.9.10 to 4.10.35


On Mon, 2001-08-27 at 14:44, Brad Dameron wrote:
 First off:

 Using mysql for authentication.

 Well I tried to upgrade vpopmail so I could upgrade my qmailadmin for
 testing. But after I upgraded my users could no longer authenticate.

 vchkpw: vpopmail user not found

 I used the exact same configuration was I did with 4.9.10. It is listed
 here:

 ./configure --enable-mysql=y \
 [EMAIL PROTECTED] \
 --enable-default-domain=tscnet.com \
 --enable-large-site=y \
  ^
enable large site has been removed from 4.10 and replaced with
  --enable-many-domains=n|y
Default is yes, no optimizes for sites with one domain and many users

You want --enable-many-domains=n

Which means it is looking for only one table vpopmail
that holds all the users. You have one table per domain.
Hence it can't find the user in the vpopmail table.

Ken Jones

 --enable-sqlincdir=/usr/local/include/mysql \
 --enable-sqllibdir=/usr/local/lib/mysql \
 --enable-logging=v \
 --enable-log-name=pop3 \
 --enable-passwd=n

 I added in the following to my configure script:

 --enable-auth-logging=y

 which should not of made my users not be able to authenticate. Yes I did
 modify the vmysql.h file and put my passwords in.

 I have tried several things. But no go. I looked over the vmysql.h file
for
 table changes or something but didn't anything that would cause the
problem.
 It is like it no longer recognizes my default-domain. I am not a noob
here.
 So please give me some advanced advice.

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










SOLVED = Re: can not POP domain in morercpthosts using Vpopmail/vchkpw

2001-08-28 Thread Michael

On Tue, 28 Aug 2001, Michael scribed:
 Thanks Brandon;
 
 On Tue, 28 Aug 2001, Brandon Ramirez scribed:
  You should have a .qmail-default file in there as well as a directory called
  postmaster.
  If they aren't there, I suggest you vdeldomain the entire domain and re-add
  it. If it doesn't work, then I don't know heh.
 
 Sorry I did not mention those files/directories...but they do indeed
 exist.. and we have already tried using vdeldomain to remove the entire
 directory and started over...same results...

hate to answer my own emails...but I figured I should say the issue has
been resolved...and it turned out to be DNS related.

I had asked the other tech if the DNS was correct and he assured me it
was...upon further checking..it wasn't.

thanks for the help

-- 
best regards
michael

Hello, and thank you for calling MicroSoft Technical Support.  
May I ask what version of the Code Red Worm your server is running?

 -- as Code Red runs amuck on 500,000 Winderz Servers.




EPS - Email Processing System

2001-08-28 Thread vol

Hi, everyone.

EPS development has been released.  Currently, it's only going to be
useful to people who have development experience, and probably won't
even be compilable, or usable by anyone without a technical background.

However, if you are used to dealing with packages without configuration
scripts, etc, you may be able to get started.  Take a look at the
Makefile for compile options, and look at the TECHS file for a list
of functions and their uses.  eps.c contains the higher-level API that
most people should be using.

http://www.inter7.com/eps

It's packaged with an email archiving tool which allows you to reference
an email with a URL containing an email ID.

Please, if you wish to discuss EPS and it's uses, subscribe to
[EMAIL PROTECTED] by sending an email to [EMAIL PROTECTED]

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




Re: LDAP setup questions

2001-08-28 Thread A“c—T”V

 Has anybody deployed vpopmail (any version) successfully using LDAP?

  I am using vpopmail 4.9.8 with openldap 2.0.11 (and proftpd 1.2.2) successfully.
But, I had to rewrite vldap.c and etc., because I could not compile with
--enable-ldap=y option.

# Critical problem was(is ?) that vldap.c has no
# ifdef # IP_ALIAS_DOMAINS  section :(.

 I am sorry that I have little time to make patches for using ldap... 


UEDA Hiroyuki [EMAIL PROTECTED]