Re: [vchkpw] Newbie - how to backup and restore mailbox

2005-12-19 Thread zhaoyj



please check the version of vpopmail and the parameter 
the script configure

  
  - Original Message - 
  From: 
  Winanjaya - PBXSoftwares.com 
  
  To: vchkpw@inter7.com 
  Sent: Monday, December 19, 2005 5:27 PM
  Subject: [vchkpw] Newbie - how to backup and 
  restore mailbox
  Dear allI am very new with this, I had qmail servers 
  run with vpopmail, how tobackup mailboxes? .. I tried to run below 
  commands:cd /home/vpopmail/domainstar cvf mailboxes.tar 
  lippogeneral.comwhen restoring to another qmail (fresh install) .. 
  :tar xvf mailboxes.tarall restored mailboxes unrecognized 
  ..please help ..Thanks a lot in 
  advanceRegardsWinanjaya
  


Re: [vchkpw] Newbie - how to backup and restore mailbox

2005-12-19 Thread Bob Hutchinson
On Monday 19 Dec 2005 09:27, Winanjaya - PBXSoftwares.com wrote:
 Dear all

 I am very new with this, I had qmail servers run with vpopmail, how to
 backup mailboxes? .. I tried to run below commands:

Are you just backing up or transferring accounts to a new server?


 cd /home/vpopmail/domains
 tar cvf mailboxes.tar lippogeneral.com

 when restoring to another qmail (fresh install) .. :

 tar xvf mailboxes.tar

 all restored mailboxes unrecognized ..

are the uid/gid of vpopmail/vchkpw the same on the new box?
how about /var/qmail/users/assign?
how about the files in /var/qmail/control?

more information please

-- 
-
Bob Hutchinson
Midwales dot com
-


Re: [vchkpw] Re: domain/.qmail-user vs user/.qmail [was: Per user .qmail patch]

2005-12-19 Thread Ken Jones

DAve wrote:

Jeremy Kister wrote:


On 12/16/2005 6:43 PM, Rick Macdougall wrote:

What's the advantage of this over .qmail-user-list in the main domain 
directory ?





With this change deleting a user removes all the users .qmail 
(.vpopmail?) files. Currently I have my management system delete the 
user, but that does not clean up any dot files they have, as they are in 
the domain directory.




Which spawns an equally interesting question -- why have user/.qmail at
all?  I cant think of any scenarios where user/.qmail is needed..

user/.qmail hurts performance, as qmail-local has to call vdelivermail
instead of just dealing with the mail itself.



Currently if I need to create a .qmail file in the domain directory I am 
still calling vdelivermail (if I want to use things like valias, which I 
do). For a copy I currently add a vdelivermail line and a address line 
to a .qmail-user file.


#cat pixelhammer.com/.qmail-dave
|/home/vpopmail/bin/vdelivermail '' bounce-no-mailbox
[EMAIL PROTECTED]

Is that wrong?


Probably. Depends on what you need to do.
qmail-local can handle forwarding to local or remote users
as well as writing into Maildir's or exec'ing programs.

vdelivermail was written for the .qmail-default file.
The idea being, once qmail-local exhausts the .qmail files
then the email is for a vpopmail account.





i think you're right -- neither user/.qmail, user/.qmail-ext nor
user/.vpopmail are needed.


I disagree ;^)


Me too.

Ken Jones


[vchkpw] Newbie - No rule to make target `cdb/*.o`, needed by 'libvpopmail.a'. Stop

2005-12-19 Thread 褚永锋
Dear all
 
   It seems as though no matther what version of vpopmail
I try to compile on my Solaris 7 wokstation ,I always get:
   
   No rule to make target `cdb/*.o', needed by `libvpopmail.a'. Stop.

   Can anyone offer any suggestins?

   Thank a lot in advance.
  

E4500-1#make -n
make  all-recursive
make[1]: Entering directory `/export/home/hcy/qmail/vpopmail-5.4.10'
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='cdb'; for subdir in $list; do \
  echo Making $target in $subdir; \
  if test $subdir = .; then \
dot_seen=yes; \
local_target=$target-am; \
  else \
local_target=$target; \
  fi; \
  (cd $subdir  make  $local_target) \
   || case $amf in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test $dot_seen = no; then \
  make  $target-am || exit 1; \
fi; test -z $fail
Making all in cdb
make[2]: Entering directory `/export/home/hcy/qmail/vpopmail-5.4.10/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
( cat warn-auto.sh; \
echo exec `head -1 conf-cc` '-c ${1+$@}' \
)  compile
chmod 755 compile
( cat warn-auto.sh; \
echo 'main=$1; shift'; \
echo exec `head -1 conf-ld` \
'-o $main $main.o ${1+$@}' \
)  load
chmod 755 load
( ( ./compile tryulong32.c  ./load tryulong32  \
./tryulong32 ) /dev/null 21 \
 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
make[2]: Leaving directory `/export/home/hcy/qmail/vpopmail-5.4.10/cdb'
make[2]: Entering directory `/export/home/hcy/qmail/vpopmail-5.4.10'
gcc -I. -Icdb  -I. -I. -I. -g -O2 -Wall -c `test -f 'vpopmail.c' || echo 
'./'`vpopmail.c
gcc -I. -Icdb  -I. -I. -I. -g -O2 -Wall -c `test -f 'md5.c' || echo 
'./'`md5.c
gcc -I. -Icdb  -I. -I. -I. -g -O2 -Wall -c `test -f 'bigdir.c' || echo 
'./'`bigdir.c
gcc -I. -Icdb  -I. -I. -I. -g -O2 -Wall -c `test -f 'vauth.c' || echo 
'./'`vauth.c
gcc -I. -Icdb  -I. -I. -I. -g -O2 -Wall -c `test -f 'file_lock.c' || echo 
'./'`file_lock.c
gcc -I. -Icdb  -I. -I. -I. -g -O2 -Wall -c `test -f 'vpalias.c' || echo 
'./'`vpalias.c
gcc -I. -Icdb  -I. -I. -I. -g -O2 -Wall -c `test -f 'seek.c' || echo 
'./'`seek.c
gcc -I. -Icdb  -I. -I. -I. -g -O2 -Wall -c `test -f 'vlimits.c' || echo 
'./'`vlimits.c
gcc -I. -Icdb  -I. -I. -I. -g -O2 -Wall -c `test -f 'maildirquota.c' || 
echo './'`maildirquota.c
make[2]: *** No rule to make target `cdb/*.o', needed by `libvpopmail.a'.  
Stop.make[2]: Leaving directory `/export/home/hcy/qmail/vpopmail-5.4.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/hcy/qmail/vpopmail-5.4.10'
make: *** [all] Error 2



Re: [vchkpw] Newbie - No rule to make target `cdb/*.o`, needed by 'libvpopmail.a'. Stop

2005-12-19 Thread Jeremy Kitchen
On Monday 19 December 2005 06:09 pm, 褚永锋 wrote:
 Dear all

It seems as though no matther what version of vpopmail
 I try to compile on my Solaris 7 wokstation ,I always get:

No rule to make target `cdb/*.o', needed by `libvpopmail.a'. Stop.

try getting GNU make from sunfreeware.com and give that a try.

http://sunfreeware.com/programlistsparc7.html#make (sparc)
http://sunfreeware.com/programlistintel7.html#make

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.


pgpnlP9fSQzWp.pgp
Description: PGP signature