RE: [vchkpw] Error when vpopmail is autocreating a user - FOllowup

2004-01-07 Thread Shane Chrisp
>What were your configure options?  

./configure --enable-rebuild-tcpserver-file=n --enable-roaming-users=y
--enable-defaultquota=20971520S --enable-auth-module=mysql
--enable-file-sync=n --enable-mysql-logging=y --enable-learn-passwords=y
--enable-clear-passwd=y --enable-valias=y --enable-mysql-limits=y
--enable-logging=p --enable-relay-clear-minutes=15

>What does your config.h file look like?  This is very odd, and something
that I haven't seen before.

/* config.h.  Generated automatically by configure.  */
/* config.h.in.  Generated automatically from configure.in by autoheader.
*/

/* Define if the closedir function returns void instead of int.  */
/* #undef CLOSEDIR_VOID */

/* Define to empty if the keyword does not work.  */
/* #undef const */

/* Define to `int' if  doesn't define.  */
/* #undef gid_t */

/* Define if you have  that is POSIX.1 compatible.  */
#define HAVE_SYS_WAIT_H 1

/* Define if utime(file, NULL) sets file's timestamp to the present.  */
#define HAVE_UTIME_NULL 1

/* Define as __inline if that's what the C compiler calls it.  */
/* #undef inline */

/* Define to `int' if  doesn't define.  */
/* #undef mode_t */

/* Define to `long' if  doesn't define.  */
/* #undef off_t */

/* Define to `int' if  doesn't define.  */
/* #undef pid_t */

/* Define as the return type of signal handlers (int or void).  */
#define RETSIGTYPE void

/* Define to `unsigned' if  doesn't define.  */
/* #undef size_t */

/* Define if you have the ANSI C header files.  */
#define STDC_HEADERS 1

/* Define if your  declares struct tm.  */
/* #undef TM_IN_SYS_TIME */

/* Define to `int' if  doesn't define.  */
/* #undef uid_t */

/* Define if you have the bzero function.  */
#define HAVE_BZERO 1

/* Define if you have the dup2 function.  */
#define HAVE_DUP2 1

/* Define if you have the fdatasync function.  */
#define HAVE_FDATASYNC 1

/* Define if you have the getcwd function.  */
#define HAVE_GETCWD 1

/* Define if you have the gethostname function.  */
#define HAVE_GETHOSTNAME 1

/* Define if you have the getpass function.  */
#define HAVE_GETPASS 1

/* Define if you have the getspnam function.  */
#define HAVE_GETSPNAM 1

/* Define if you have the memset function.  */
#define HAVE_MEMSET 1

/* Define if you have the mkdir function.  */
#define HAVE_MKDIR 1

/* Define if you have the putenv function.  */
#define HAVE_PUTENV 1

/* Define if you have the rmdir function.  */
#define HAVE_RMDIR 1

/* Define if you have the socket function.  */
#define HAVE_SOCKET 1

/* Define if you have the strchr function.  */
#define HAVE_STRCHR 1

/* Define if you have the strdup function.  */
#define HAVE_STRDUP 1

/* Define if you have the strerror function.  */
#define HAVE_STRERROR 1

/* Define if you have the strncasecmp function.  */
#define HAVE_STRNCASECMP 1

/* Define if you have the strrchr function.  */
#define HAVE_STRRCHR 1

/* Define if you have the strspn function.  */
#define HAVE_STRSPN 1

/* Define if you have the strstr function.  */
#define HAVE_STRSTR 1

/* Define if you have the utime function.  */
#define HAVE_UTIME 1

/* Define if you have the  header file.  */
#define HAVE_ARPA_INET_H 1

/* Define if you have the  header file.  */
#define HAVE_DIRENT_H 1

/* Define if you have the  header file.  */
#define HAVE_FCNTL_H 1

/* Define if you have the  header file.  */
#define HAVE_MEMORY_H 1

/* Define if you have the  header file.  */
/* #undef HAVE_NDIR_H */

/* Define if you have the  header file.  */
#define HAVE_NETINET_IN_H 1

/* Define if you have the  header file.  */
#define HAVE_SHADOW_H 1

/* Define if you have the  header file.  */
#define HAVE_STDLIB_H 1

/* Define if you have the  header file.  */
#define HAVE_STRING_H 1

/* Define if you have the  header file.  */
/* #undef HAVE_SYS_DIR_H */

/* Define if you have the  header file.  */
#define HAVE_SYS_FILE_H 1

/* Define if you have the  header file.  */
/* #undef HAVE_SYS_NDIR_H */

/* Define if you have the  header file.  */
#define HAVE_SYS_PARAM_H 1

/* Define if you have the  header file.  */
#define HAVE_SYS_SOCKET_H 1

/* Define if you have the  header file.  */
#define HAVE_SYS_TIME_H 1

/* Define if you have the  header file.  */
#define HAVE_SYSLOG_H 1

/* Define if you have the  header file.  */
#define HAVE_UNISTD_H 1

/* Define if you have the  header file.  */
#define HAVE_UTIME_H 1

/* Define if you have the crypt library (-lcrypt).  */
#define HAVE_LIBCRYPT 1

/* Name of package */
#define PACKAGE "vpopmail"

/* Version number of package */
#define VERSION "5.4.0-rc1"

/*  */
#define PS_COMMAND "ps axww"

/*  */
#define QMAILDIR "/var/qmail"

/*  */
#define QMAILNEWU "/var/qmail/bin/qmail-newu"

/*  */
#define QMAILINJECT "/var/qmail/bin/qmail-inject"

/*  */
#define QMAILNEWMRH "/var/qmail/bin/qmail-newmrh"

/*  */
#define VPOPUSER "vpopmail"

/*  */
#define VPOPGROUP "vchkpw"

/*  */
#define VPOPMAILDIR "/home/vpopmail"

/*  */
#define VPOPMAILUID 89

/*  */
#define VPOPMAILGID 89

/*  */
#define POP_AUTH_OPEN_REL

Re: [vchkpw] Error when vpopmail is autocreating a user - FOllowup

2004-01-07 Thread Tom Collins
On Jan 7, 2004, at 5:14 AM, Shane Chrisp wrote:
Ok, I have just tried going up to version 5.4.0-rc1 and it does the 
same
thing, so I rolled back to 5.3.27 + patches (5.3.28 basically) and all
works again properly.

This is what happens.

The system is creating a new dir called ¨ßB¨ßBopmail/ in the
/home/vpopmail/domains directory and then it creates the domains/
dir and the domain.com/ dir inside that and eventually the users
dir that needs to be created. So you end up with
/home/vpopmail/domains
/home/vpopmail/domains/user/
/home/vpopmail/domains/¨ßB¨ßBopmail/
/home/vpopmail/domains/¨ßB¨ßBopmail/domain.com/
/home/vpopmail/domains/¨ßB¨ßBopmail/domain.com/user
What were your configure options?  What does your config.h file look 
like?  This is very odd, and something that I haven't seen before.

What does /var/qmail/users/assign look like?  Do the directory names 
match the ones you just listed?

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/