Make sure there is a /home/vpopmail directory owned by vpopmail.vchkpw Looks like the configure script is unable to create the /home/vpopmail/etc directory.
Ken Jones On Friday 27 September 2002 03:48 pm, rm wrote: > I seem to be going backwards with this. I've decided to completely drop > the mysql vpopmail database, delete the current vpopmail installation, > remove all domain references from qmail control and rcpt host > files,removed domain references from /qmail/usrs/assign & cdb, run > qmail-newu, send killall -HUP to qmail-send, and completely reinstall > vpopmail 5.2.1 from a new source download. > > I used the following configure options > ./configure --enable-roaming-users=y --enable-relay-clear-minutes=60 > --enable-mysql-logging=y --enable-clear-passwd=y > --enable-incdir=/usr/include --enable-libdir=/usr/lib --enable-mysql=y > --enable-mysql-replication=y --enable-valias > --enable-tcprules-prog=/usr/local/bin/tcprules > --enable-tcpserver-file=/home/vpopmail/etc/tcp.smtp > --enable-auth-logging=y > > I got a warning when running the above configure line - > mkdir: cannot create directory /home/vpopmail/etc: No such file or dir > configure: warning: maiking a vpopmail etc directory > ./configure: /home/vpopmail/etc/lib_deps: No such file or directory > ./configure: /home/vpopmail/etc/inc_deps: No such file or directory > > It does make and install without error - but.. > > There is no /home/vpopmail/etc/tcp.smtp file, and when I try to add a > test domain I get- Error:Domain does not exist. When I check the domain > directory, I find the domain was created - but the postmaster account > was not. When I try to add a user to the domain I also get- Error: > Domain does not exist. > > This has become frustrating because I've installed vpopmail several > times with few problems, but now even the basic functions won't work, > let alone the roaming users feature that started this adventure. Any > ideas on what I've done wrong? > > thanks, > > regis > > On Thu, 2002-09-26 at 18:38, [EMAIL PROTECTED] wrote: > > Hi, > > > > I just tried what Alfredo described in his message without success (I > > still have to manually modify tcp.smtp to relay), any sugestion will be > > appreciated. > > > > > > MCA > > > > Alfredo Perez escribió: > > > This is an old e-mail i found.... Perhaps it will help > > > > > > > > > > > > -------- BEGIN HERE --------- > > > > > > On Friday, February 8, 2002, at 09:35 AM, Nicolas DEFFAYET wrote: > > >> How do you use it with courier-imap ? > > >> Because pop before smtp don't work, the user can't send a mail. > > > > > > This really should be put in the FAQ. Ken, how about adding this: > > > > > > Question: How do I get Courier-IMAP use vpopmail's "roaming users"? > > > > > > Answer: Follow these steps > > > > > > 1. Make sure vpopmail is compiled with --enable-roaming-users=y > > > 2. Courier-IMAP doesn't detect roaming users in the vpopmail library > > > correctly, so force it by doing something like this just before > > > compiling: > > > export CFLAGS="-DHAVE_OPEN_SMTP_RELAY" > > > 3. compile courier-imap with --without-authdaemon --with-authvchkpw > > > 4. Make sure you run your imap server as the same user as your pop > > > server (so open-smtp and tcp.smtp have the same ownership). man > > > couriertcpd for details, but you will change /usr/lib/courier- > > > imap/libexec/imapd.rc something like this: > > > > > > Change this line: > > > /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \ > > > > > > To: > > > /usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \ > > > -user=vpopmail -group=vchkpw \ > > > > > > > > > > > > Regards, > > > > > > Bill Shupp > > > -------- END HERE ---------