Re: [vchkpw] Compiled FreeBSD 4.8

2003-08-28 Thread Michael Bowe



Hi Raymond
 
From memory you have used my webmail server guide 
to install your vpopmail system
 
If this is the case, and you now want to convert to 
using roaming users, then I suggest you will need to do these steps 
:
 
* mv /etc/tcp.smtp* /home/vpopmail/etc
 
* edit the file
    
/var/qmail/supervise/qmail-smtpd/run
  and change the references of :
    /etc/tcp.smtp.cdb 
  to be :
    
/home/vpopmail/etc/tcp.smtp.cdb
 
* edit the file 
    
 /var/qmail/bin/qmailctl
   and change the references of 

 
/etc/tcp.smtp*
   to be 
 
/home/vpopmail/etc/tcp.smtp*
 
 * qmailctl restart
 
 * optionally download a copy of 
vpopmail-5.3.24 or later (I would recommend you do this)
 
 * delete your previous vpopmail source 
dir
 
 * extract your vpopmail 
source
 
 * configure --enable-roaming-users=y 
plus any of your other config settings
   make 
   make install-strip
 
 * In the /home/vpopmail/etc/ dir, you should 
now see the tcp.smtp.cdb file auto-updating each time someone successfully pop 
auths.
 
Dont forget to crontab the clearopensmtp script to 
run periodically
 
Dont forget that you then need to also rebuild any 
other apps that use the vpopmail libraries
 
eg
   qmailadmin
 * go to your qmailadmin 
source dir
 * make clean
 * ./configure (with your 
preferred options)
 * make 
install-strip
  
   courier-imap
 * go to your courier-imap 
source dir
 * make clean

 * ./configure (with your 
preferred options)
 * make 
install
 Michael.
 

  - Original Message - 
  From: 
  Raymond 
  Luong 
  To: vpopmail list 
  Sent: Thursday, August 28, 2003 7:40 
  AM
  Subject: Re: [vchkpw] Compiled FreeBSD 
  4.8
  
  Please HelpI recompile vpopmail with --enable roaming=y-- but it 
  still does not work. I can connect to via pop3 server but can not send mail. 
  It reply with "domain isn't in my list of allow rcpthosts". I don't know 
  what's wrong or what I'd missing. I really need to get this up and running. 
  Any help will be great. I'm runningredhat 8.0, vpopmail 5.3.14, qmailadmin, 
  and courier-imap.Thank you so much for any help you can 
  provideraymond


Re: [vchkpw] Compiled FreeBSD 4.8

2003-08-27 Thread Raymond Luong
Please HelpI recompile vpopmail with --enable roaming=y-- but
it still does not work. I can connect to via pop3 server but can not send
mail. It reply with "domain isn't in my list of allow rcpthosts". I don't
know what's wrong or what I'd missing. I really need to get this up and
running. Any help will be great. I'm runningredhat 8.0, vpopmail 5.3.14,
qmailadmin, and courier-imap.Thank you so much for any help you
can provideraymond



Re: [vchkpw] Compiled FreeBSD 4.8

2003-08-27 Thread Tom Collins
On Wednesday, August 27, 2003, at 09:55  AM, Hani Mouneimne wrote:
Came across the following on make install . Also noted some options on 
the
FreeBSD "install" are different to linux but not greatly. Also tried 
using
the install-sh and same error.
Can you try with this patch?

--- vpopmail-5.3.26/Makefile.am Tue Aug 26 16:45:32 2003
+++ vpopmail-5.3.27/Makefile.am Tue Aug 26 21:31:27 2003
@@ -89,7 +89,7 @@
 DEFS=-I. @auth_inc@ 
 
 install-data-local:
-   $(INSTALL) -d [EMAIL PROTECTED]@ --mode=0700 [EMAIL PROTECTED]@ \
+   $(INSTALL) -d -g @vpopgroup@ -m 0700 -o @vpopuser@ \
  $(DESTDIR)@vpopmaildir@/@domains_dir@
 
$(INSTALL) -d $(DESTDIR)@vpopmaildir@/etc
@@ -106,22 +106,22 @@
  chmod 0600$(MYSQLCONF) ; \
fi
 
-   $(INSTALL) --owner=root --mode=0600 --group=root -D \
+   $(INSTALL) -o root -m 0644 -g root -D \
  libvpopmail.a $(DESTDIR)@vpopmaildir@/lib/libvpopmail.a
 
-   $(INSTALL) [EMAIL PROTECTED]@ --mode=0444 [EMAIL PROTECTED]@ -D \
+   $(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ -D \
  config.h $(DESTDIR)@vpopmaildir@/include/vpopmail_config.h
 
-   $(INSTALL) [EMAIL PROTECTED]@ --mode=0444 [EMAIL PROTECTED]@ \
+   $(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
  vpopmail.h config.h vauth.h vlimits.h \
  $(DESTDIR)@vpopmaildir@/include/
 
$(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/man_html
$(INSTALL) -d $(DESTDIR)@vpopmaildir@/doc/doc_html
-   $(INSTALL) [EMAIL PROTECTED]@ --mode=0444 [EMAIL PROTECTED]@ \
+   $(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
  doc/man_html/* $(DESTDIR)@vpopmaildir@/doc/man_html/
 
-   $(INSTALL) [EMAIL PROTECTED]@ --mode=0444 [EMAIL PROTECTED]@ \
+   $(INSTALL) -o @vpopuser@ -m 0444 -g @vpopgroup@ \
  doc/doc_html/* $(DESTDIR)@vpopmaildir@/doc/doc_html/
 
 fix-priv:


--
Tom Collins
[EMAIL PROTECTED]
http://sniffter.com/ - info on the Sniffter hand-held Network Tester