ports/119966: vpopmail patch

William Olson wolson at gmail.com
Fri Jan 25 04:00:03 UTC 2008


>Number:         119966
>Category:       ports
>Synopsis:       vpopmail patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 25 04:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     William Olson
>Release:        FreeBSD-6.3
>Organization:
freebsdrocks.net
>Environment:
FreeBSD laughzilla.nw.local 6.3-STABLE FreeBSD 6.3-STABLE #0: Sat Jan 19 23:05:36 UTC 2008     wolson at laughzilla.nw.local:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I am trying to make the skel patch for vpopmail 5.4.26 and it keeps failing on me. I have done
this once before and it works fie but I just can't figure it out.

I have done a bit of explaining here more as I am not 100% sure you are fimiliar with FreeBSD

here is what I have done:

[/home/wolson] root at test# mkdir ~root/vpopmail-orig
[/home/wolson] root at test# mkdir ~root/vpopmail-patch
[/home/wolson] root at test# cd /usr/ports/mail/vpopmail
[/usr/ports/mail/vpopmail] root at test# make extract
===>  Vulnerability check disabled, database not found
=> vpopmail-5.4.26.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://heanet.dl.sourceforge.net/sourceforge/vpopmail/.
vpopmail-5.4.26.tar.gz                        100% of  511 kB  394 kBps
===>  Extracting for vpopmail-5.4.26
=> MD5 Checksum OK for vpopmail-5.4.26.tar.gz .
=> SHA256 Checksum OK for vpopmail-5.4.26.tar.gz.
===>   vpopmail-5.4.26 depends on file: /usr/local/bin/perl5.8.8 - found
[/usr/ports/mail/vpopmail] root at test# cd work/vpopmail-5.4.26/


basically what I have done is:

    Create the ~root/vpopmail-orig and ~root/vpopmail-patch folders
    I ran make extract on /usr/ports/mail/vpopmail (Basically fetches the vpopmail 5.4.26 and extracts it)
    I then go to work/vpopmail-5.4.26 /

So now I copy the original source:   
   
[/usr/ports/mail/vpopmail/work/vpopmail-5.4.26] root at test# cp -Rp * ~root/vpopmail-orig

and then fetch your patch and patch it:

[/usr/ports/mail/vpopmail/work/vpopmail- 5.4.26] root at test# fetch http://qmail.jms1.net/vpopmail/vpopmail-5.4.26-skel3.patch
vpopmail-5.4.26-skel3.patch                   100% of   19 kB  595 kBps
[/usr/ports/mail/vpopmail/work/vpopmail-5.4.26] root at test# patch < vpopmail-5.4.26-skel3.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN vpopmail-5.4.26-factory/Makefile.am vpopmail-5.4.26-patched/Makefile.am
|--- vpopmail-5.4.26-factory/Makefile.am        2007-11-03 21:05:20.000000000 -0400
|+++ vpopmail-5.4.26-patched/Makefile.am        2007-12-28 21:10: 13.000000000 -0500
--------------------------
Patching file Makefile.am using Plan A...
Hunk #1 succeeded at 7.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN vpopmail-5.4.26-factory/Makefile.in vpopmail-5.4.26-patched/Makefile.in
|--- vpopmail-5.4.26-factory/Makefile.in        2007-11-15 04:41:22.000000000 -0500
|+++ vpopmail-5.4.26-patched /Makefile.in        2007-12-28 21:10:13.000000000 -0500
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 71.
Hunk #2 succeeded at 310.
Hunk #3 succeeded at 610.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN vpopmail-5.4.26-factory/README.skel vpopmail-5.4.26-patched /README.skel
|--- vpopmail-5.4.26-factory/README.skel        1969-12-31 19:00:00.000000000 -0500
|+++ vpopmail-5.4.26-patched/README.skel        2007-12-28 21:10:13.000000000 -0500
--------------------------
(Creating file README.skel...)
Patching file README.skel using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN vpopmail-5.4.26-factory/config.h.in vpopmail-5.4.26-patched/config.h.in
|--- vpopmail-5.4.26-factory/config.h.in        2007-11-15 04:42:32.000000000 -0500
|+++ vpopmail-5.4.26-patched/config.h.in        2007-12-28 21:10: 13.000000000 -0500
--------------------------
Patching file config.h.in using Plan A...
Hunk #1 succeeded at 214.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN vpopmail-5.4.26-factory/configure vpopmail-5.4.26-patched/configure
|--- vpopmail-5.4.26-factory/configure  2007-11-15 04:41:27.000000000 -0500
|+++ vpopmail-5.4.26-patched /configure  2007-12-28 21:10:13.000000000 -0500
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 1324.
Hunk #2 succeeded at 7069.
Hunk #3 succeeded at 9829.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN vpopmail-5.4.26-factory/configure.in vpopmail-5.4.26-patched/configure.in
|--- vpopmail-5.4.26-factory/configure.in       2007-10-19 03:32: 26.000000000 -0400
|+++ vpopmail-5.4.26-patched/configure.in       2007-12-28 21:10:13.000000000 -0500
--------------------------
Patching file configure.in using Plan A...
Hunk #1 succeeded at 851.
Hunk #2 succeeded at 1685.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN vpopmail-5.4.26-factory/copydir.c vpopmail-5.4.26-patched /copydir.c
|--- vpopmail-5.4.26-factory/copydir.c  1969-12-31 19:00:00.000000000 -0500
|+++ vpopmail-5.4.26-patched/copydir.c  2007-12-28 21:13:48.000000000 -0500
--------------------------
(Creating file copydir.c.. .)
Patching file copydir.c using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN vpopmail-5.4.26-factory /copydir.h vpopmail-5.4.26-patched/copydir.h
|--- vpopmail-5.4.26-factory/copydir.h  1969-12-31 19:00:00.000000000 -0500
|+++ vpopmail-5.4.26-patched/copydir.h  2007-12-28 21:10:13.000000000 -0500
--------------------------
(Creating file copydir.h...)
Patching file copydir.h using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN vpopmail-5.4.26-factory/vpopmail.c vpopmail-5.4.26-patched/vpopmail.c
|--- vpopmail-5.4.26-factory/vpopmail.c 2007-10-31 03:55:39.000000000 -0400
|+++ vpopmail-5.4.26-patched/vpopmail.c 2007-12-28 21:10: 13.000000000 -0500
--------------------------
Patching file vpopmail.c using Plan A...
Hunk #1 succeeded at 59.
Hunk #2 succeeded at 1349.
Hunk #3 succeeded at 2398.
Hunk #4 succeeded at 3122.
done

So far, so good right? HUH

So now I delete your patch and copy the patched source to ~root/vpopmail-patch

[/usr/ports/mail/vpopmail/work/vpopmail-5.4.26] root at test# rm vpopmail-5.4.26-skel3.patch
[/usr/ports/mail/vpopmail/work/vpopmail- 5.4.26] root at test# cp -Rp * ~root/vpopmail-patch/

I then cd to root and start making my diff file:

[/root] root at test# fetch http://qmail.jms1.net/vpopmail/vpopmail-5.4.26-skel3.patch
vpopmail-5.4.26-skel3.patch                   100% of   19 kB 1123 kBps
[/root] root at test# cat vpopmail-5.4.26-skel3.patch | grep +++
+++ vpopmail-5.4.26-patched/Makefile.am 2007-12-28 21:10:13.000000000 -0500
+++ vpopmail-5.4.26-patched/Makefile.in 2007-12-28 21:10:13.000000000 -0500
+++ vpopmail-5.4.26-patched/README.skel 2007-12-28 21:10:13.000000000 -0500
+++ vpopmail-5.4.26-patched/config.h.in 2007-12-28 21:10:13.000000000 -0500
+++ vpopmail-5.4.26-patched/configure   2007-12-28 21:10:13.000000000 -0500
+++ vpopmail-5.4.26-patched/configure.in        2007-12-28 21:10:13.000000000 -0500
+++ vpopmail-5.4.26-patched/copydir.c   2007-12-28 21:13: 48.000000000 -0500
+++ vpopmail-5.4.26-patched/copydir.h   2007-12-28 21:10:13.000000000 -0500
+++ vpopmail-5.4.26-patched/vpopmail.c  2007-12-28 21:10:13.000000000 -0500

My diff.sh looks like so:

diff -ruN vpopmail-orig/Makefile.am vpopmail-patch/Makefile.am >> /root/patch- vpopmail-skel-5.4.26
diff -ruN vpopmail-orig/Makefile.in vpopmail-patch/Makefile.in >> /root/patch-vpopmail-skel-5.4.26
diff -ruN vpopmail-orig/README.skel vpopmail-patch/README.skel >> /root/patch-vpopmail-skel-5.4.26
diff -ruN vpopmail-orig/config.h.in vpopmail-patch/config.h.in >> /root/patch-vpopmail-skel-5.4.26
diff -ruN vpopmail-orig/configure vpopmail-patch/configure >> /root/patch-vpopmail-skel-5.4.26
diff -ruN vpopmail-orig/configure.in vpopmail-patch/configure.in >> /root/patch- vpopmail-skel-5.4.26
diff -ruN vpopmail-orig/copydir.c vpopmail-patch/copydir.c >> /root/patch-vpopmail-skel-5.4.26
diff -ruN vpopmail-orig/copydir.h vpopmail-patch/copydir.h >> /root/patch-vpopmail-skel-5.4.26
diff -ruN vpopmail-orig/vpopmail.c vpopmail-patch/vpopmail.c >> /root/patch-vpopmail-skel-5.4.26

So when I run this it will take the differences between the original source against the patched source and send the output to /root/patch- vpopmail-skel-5.4.26

So now I have a patch file which is here:

http://nospam.mine.nu/patch-vpopmail-skel-5.4.26

and now I test it first (make clean and distclean clean the source out thats been downloaded from make extract)

# make clean
# make distclean
# make extract
===>  Vulnerability check disabled, database not found
=> vpopmail-5.4.26.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://heanet.dl.sourceforge.net/sourceforge/vpopmail/.
vpopmail-5.4.26.tar.gz                        100% of  511 kB  397 kBps
===>  Extracting for vpopmail-5.4.26
=> MD5 Checksum OK for vpopmail-5.4.26.tar.gz.
=> SHA256 Checksum OK for vpopmail-5.4.26.tar.gz.
===>   vpopmail-5.4.26 depends on file: /usr/local/bin/perl5.8.8 - found
[/usr/ports/mail/vpopmail] root at test# cd work/vpopmail-5.4.26/

and now I patch it

[/usr/ports/mail/vpopmail/work/vpopmail-5.4.26] root at test# patch < ../../patch-vpopmail-skel-5.4.26
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vpopmail-orig/Makefile.am  Sat Nov  3 21:05:20 2007
|+++ vpopmail-patch/Makefile.am Tue Jan  8 02:08:36 2008
--------------------------
Patching file Makefile.am using Plan A...
Hunk #1 succeeded at 7.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vpopmail-orig/Makefile.in  Sat Nov  3 21:05:20 2007
|+++ vpopmail-patch/Makefile.in Tue Jan  8 02:08:36 2008
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 71.
Hunk #2 succeeded at 310.
Hunk #3 succeeded at 609.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vpopmail-orig/README.skel  Tue Jan  8 02:19:51 2008
|+++ vpopmail-patch/README.skel Tue Jan  8 02:08:36 2008
--------------------------
(Creating file README.skel...)
Patching file README.skel using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vpopmail-orig/config.h.in  Mon Oct  1 02:59:55 2007
|+++ vpopmail-patch/config.h.in Tue Jan  8 02:08:36 2008
--------------------------
Patching file config.h.in using Plan A...
Hunk #1 succeeded at 214.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vpopmail-orig/configure    Wed Oct 31 03:55:39 2007
|+++ vpopmail-patch/configure   Tue Jan  8 02:08:36 2008
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 1324.
Hunk #2 succeeded at 7069.
Hunk #3 succeeded at 9825.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vpopmail-orig/configure.in Fri Oct 19 03:32:26 2007
|+++ vpopmail-patch/configure.in        Tue Jan  8 02:08:36 2008
--------------------------
Patching file configure.in using Plan A...
Hunk #1 succeeded at 851.
Hunk #2 succeeded at 1681.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vpopmail-orig/copydir.c    Tue Jan  8 02:19:55 2008
|+++ vpopmail-patch/copydir.c   Tue Jan  8 02:08:36 2008
--------------------------
(Creating file copydir.c...)
Patching file copydir.c using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vpopmail-orig/copydir.h    Tue Jan  8 02:19:58 2008
|+++ vpopmail-patch/copydir.h   Tue Jan  8 02:08:36 2008
--------------------------
(Creating file copydir.h...)
Patching file copydir.h using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- vpopmail-orig/vpopmail.c   Wed Oct 31 03:55:39 2007
|+++ vpopmail-patch/vpopmail.c  Tue Jan  8 02:08:36 2008
--------------------------
Patching file vpopmail.c using Plan A...
Hunk #1 succeeded at 59.
Hunk #2 succeeded at 1349.
Hunk #3 succeeded at 2398.
Hunk #4 succeeded at 3122.
done

Now to run configure:

[/usr/ports/mail/vpopmail/work/vpopmail- 5.4.26] root at test# ./configure --enable-logging --enable-skeleton
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking build system type... i386-unknown-freebsd6.2
checking host system type... i386-unknown-freebsd6.2
checking for gawk... (cached) nawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for library containing strerror... none required
checking for crypt in -lcrypt... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for memory.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking shadow.h usability... no
checking shadow.h presence... no
checking for shadow.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking return type of signal handlers... void
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for bzero... yes
checking for dup2... yes
checking for fdatasync... no
checking for getcwd... yes
checking for gethostname... yes
checking for getpass... yes
checking for getspnam... no
checking for memset... yes
checking for mkdir... yes
checking for putenv... yes
checking for rmdir... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for utime... yes
checking for warn... yes
checking vpopmail configure options... ok
checking whether we can locate the qmail directory... yes
checking whether we can locate the qmail-newu program... yes
checking whether we can locate the qmail-inject program... yes
checking whether we can locate the qmail-newmrh program... yes
checking for valid vpopmail user and group... yes
checking whether password file entry for the vpopmail user exists... yes
checking whether roaming-users has been enabled... no
checking whether learn-passwords is enabled... no
checking whether md5-passwords is enabled... yes
checking whether file-locking is enabled... yes
checking whether file-sync is enabled... no
checking whether make-seekable is enabled... yes
checking whether clear-passwd is enabled... yes
checking whether user-big-dir is enabled... yes
checking whether sqwebmail-pass is enabled... no
checking whether qmail-ext is enabled... no
checking whether ip-alias-domains is enabled... no
checking whether onchange script is enabled... no
checking whether skeleton directory is enabled... yes
checking whether spamassassin is enabled... no
checking whether maildrop is enabled... no
checking whether an auth module has been specified... no, so default to cdb
checking whether system accounts have been enabled... no
checking whether /etc/shadow exists... no
checking whether logging is enabled... all attempts
checking whether auth-logging is enabled... yes
checking whether sql-logging is enabled... no
checking whether mysql-limits is enabled... no
checking whether mysql-replication is enabled... no
checking whether valias is enabled... no
checking whether many-domains is enabled... yes
checking whether any discontinued --enable commands have been used... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands

           vpopmail 5.4.26
            Current settings
---------------------------------------

vpopmail directory = /usr/home/vpopmail
 domains directory = /usr/home/vpopmail/domains
               uid = 1002
               gid = 1002
     roaming users = OFF --disable-roaming-users (default)
 password learning = OFF --disable-learn-passwords (default)
     md5 passwords = ON  --enable-md5-passwords (default)
      file locking = ON  --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
     make seekable = ON  --enable-make-seekable (default)
      clear passwd = ON  --enable-clear-passwd (default)
 user dir hashing  = ON  --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
          ip alias = OFF --disable-ip-alias-domains (default)
   onchange script = OFF --disable-onchange-script (default)
skeleton directory = ON  --enable-skeleton
       auth module = cdb --enable-auth-module=cdb (default)
          auth inc = -Icdb
          auth lib =
  system passwords = OFF --disable-passwd (default)
        pop syslog = show successful and failed login attempts --enable-logging=y
      auth logging = ON  --enable-auth-logging (default)
      spamassassin = OFF --disable-spamassassin (default)
          maildrop = OFF --disable-maildrop (default)

Then run make install:

[/usr/ports/mail/vpopmail/work/vpopmail-5.4.26] root at test# make install
Making install in 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`" -fPIC '-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 2>&1  && 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
cd . && /usr/local/bin/bash /usr/ports/mail/vpopmail/work/vpopmail-5.4.26/missing --run aclocal-1.10
/usr/ports/mail/vpopmail/work/vpopmail-5.4.26/missing: line 46: aclocal-1.10: command not found
WARNING: `aclocal-1.10' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /usr/local/bin/bash /usr/ports/mail/vpopmail/work/vpopmail-5.4.26/missing --run automake-1.10 --foreign
/usr/ports/mail/vpopmail/work/vpopmail-5.4.26/missing: line 46: automake-1.10: command not found
WARNING: `automake-1.10' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
cd . && /usr/local/bin/bash /usr/ports/mail/vpopmail/work/vpopmail-5.4.26/missing --run autoconf
/usr/ports/mail/vpopmail/work/vpopmail-5.4.26/missing: line 46: autoconf: command not found
WARNING: `autoconf' is missing on your system.  You should only need it if
         you modified `configure.in'.  You might want to install the
         `Autoconf' and `GNU m4' packages.  Grab them from any GNU
         archive site.
/usr/local/bin/bash ./config.status --recheck
running CONFIG_SHELL=/usr/local/bin/bash /usr/local/bin/bash ./configure  --enable-logging --enable-skeleton  --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking build system type... i386-unknown-freebsd6.2
checking host system type... i386-unknown-freebsd6.2
checking for gawk... (cached) nawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for library containing strerror... none required
checking for crypt in -lcrypt... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for memory.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking shadow.h usability... no
checking shadow.h presence... no
checking for shadow.h... no
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking return type of signal handlers... void
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for bzero... yes
checking for dup2... yes
checking for fdatasync... no
checking for getcwd... yes
checking for gethostname... yes
checking for getpass... yes
checking for getspnam... no
checking for memset... yes
checking for mkdir... yes
checking for putenv... yes
checking for rmdir... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for utime... yes
checking for warn... yes
checking vpopmail configure options... ok
checking whether we can locate the qmail directory... yes
checking whether we can locate the qmail-newu program... yes
checking whether we can locate the qmail-inject program... yes
checking whether we can locate the qmail-newmrh program... yes
checking for valid vpopmail user and group... yes
checking whether password file entry for the vpopmail user exists... yes
checking whether roaming-users has been enabled... no
checking whether learn-passwords is enabled... no
checking whether md5-passwords is enabled... yes
checking whether file-locking is enabled... yes
checking whether file-sync is enabled... no
checking whether make-seekable is enabled... yes
checking whether clear-passwd is enabled... yes
checking whether user-big-dir is enabled... yes
checking whether sqwebmail-pass is enabled... no
checking whether qmail-ext is enabled... no
checking whether ip-alias-domains is enabled... no
checking whether onchange script is enabled... no
checking whether skeleton directory is enabled... yes
checking whether spamassassin is enabled... no
checking whether maildrop is enabled... no
checking whether an auth module has been specified... no, so default to cdb
checking whether system accounts have been enabled... no
checking whether /etc/shadow exists... no
checking whether logging is enabled... all attempts
checking whether auth-logging is enabled... yes
checking whether sql-logging is enabled... no
checking whether mysql-limits is enabled... no
checking whether mysql-replication is enabled... no
checking whether valias is enabled... no
checking whether many-domains is enabled... yes
checking whether any discontinued --enable commands have been used... no
configure: creating ./config.status

           vpopmail 5.4.26
            Current settings
---------------------------------------

vpopmail directory = /usr/home/vpopmail
 domains directory = /usr/home/vpopmail/domains
               uid = 1002
               gid = 1002
     roaming users = OFF --disable-roaming-users (default)
 password learning = OFF --disable-learn-passwords (default)
     md5 passwords = ON  --enable-md5-passwords (default)
      file locking = ON  --enable-file-locking (default)
vdelivermail fsync = OFF --disable-file-sync (default)
     make seekable = ON  --enable-make-seekable (default)
      clear passwd = ON  --enable-clear-passwd (default)
 user dir hashing  = ON  --enable-users-big-dir (default)
address extensions = OFF --disable-qmail-ext (default)
          ip alias = OFF --disable-ip-alias-domains (default)
   onchange script = OFF --disable-onchange-script (default)
skeleton directory = ON  --enable-skeleton
       auth module = cdb --enable-auth-module=cdb (default)
          auth inc = -Icdb
          auth lib =
  system passwords = OFF --disable-passwd (default)
        pop syslog = show successful and failed login attempts --enable-logging=y
      auth logging = ON  --enable-auth-logging (default)
      spamassassin = OFF --disable-spamassassin (default)
          maildrop = OFF --disable-maildrop (default)


 /usr/local/bin/bash ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a- vpopmail.o `test -f 'vpopmail.c' || echo './'`vpopmail.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-md5.o `test -f 'md5.c' || echo './'`md5.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a- bigdir.o `test -f 'bigdir.c' || echo './'`bigdir.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-vauth.o `test -f 'vauth.c' || echo './'`vauth.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-file_lock.o `test -f 'file_lock.c' || echo './'`file_lock.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-vpalias.o `test -f 'vpalias.c' || echo './'`vpalias.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-seek.o `test -f 'seek.c ' || echo './'`seek.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-vlimits.o `test -f 'vlimits.c' || echo './'`vlimits.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a- maildirquota.o `test -f 'maildirquota.c' || echo './'`maildirquota.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-vutil.o `test -f 'vutil.c' || echo './'`vutil.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a- vlistlib.o `test -f 'vlistlib.c' || echo './'`vlistlib.c
gcc -I. -Icdb -I.    -fPIC -g -O2 -Wall -c -o libvpopmail_a-copydir.o `test -f 'copydir.c' || echo './'`copydir.c
rm -f libvpopmail.a
ar cru libvpopmail.a libvpopmail_a-vpopmail.o  libvpopmail_a-md5.o libvpopmail_a-bigdir.o  libvpopmail_a-vauth.o  libvpopmail_a-file_lock.o  libvpopmail_a-vpalias.o libvpopmail_a-seek.o  libvpopmail_a-vlimits.o  libvpopmail_a- maildirquota.o  libvpopmail_a-vutil.o libvpopmail_a-vlistlib.o  libvpopmail_a-copydir.o cdb/*.o
ranlib libvpopmail.a
gcc -I. -Icdb -I.      -g -O2 -Wall -c vchkpw.c
gcc -I. -Icdb -I.      -g -O2 -Wall -c md5.c
gcc -I. -Icdb -I.      -g -O2 -Wall -c hmac_md5.c
gcc  -g -O2 -Wall   -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vdelivermail.c
gcc -I. -Icdb -I.      -g -O2 -Wall -c maildirquota.c
gcc  -g -O2 -Wall   -o vdelivermail vdelivermail.o  maildirquota.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c clearopensmtp.c
gcc  -g -O2 -Wall   -o clearopensmtp clearopensmtp.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vadddomain.c
gcc  -g -O2 -Wall   -o vadddomain vadddomain.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vdeldomain.c
gcc  -g -O2 -Wall   -o vdeldomain vdeldomain.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vpasswd.c
gcc  -g -O2 -Wall   -o vpasswd vpasswd.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vadduser.c
gcc  -g -O2 -Wall   -o vadduser vadduser.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vdeluser.c
gcc  -g -O2 -Wall   -o vdeluser vdeluser.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vaddaliasdomain.c
gcc  -g -O2 -Wall   -o vaddaliasdomain vaddaliasdomain.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vsetuserquota.c
gcc  -g -O2 -Wall   -o vsetuserquota vsetuserquota.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vpopbull.c
gcc  -g -O2 -Wall   -o vpopbull vpopbull.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vdeloldusers.c
gcc  -g -O2 -Wall   -o vdeloldusers vdeloldusers.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vmoduser.c
gcc  -g -O2 -Wall   -o vmoduser vmoduser.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c valias.c
gcc  -g -O2 -Wall   -o valias valias.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vuserinfo.c
gcc  -g -O2 -Wall   -o vuserinfo vuserinfo.o maildirquota.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vmkpasswd.c
gcc  -g -O2 -Wall   -o vmkpasswd vmkpasswd.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vipmap.c
gcc  -g -O2 -Wall   -o vipmap vipmap.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vdominfo.c
gcc  -g -O2 -Wall   -o vdominfo vdominfo.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vconvert.c
gcc  -g -O2 -Wall   -o vconvert vconvert.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vkill.c
gcc  -g -O2 -Wall   -o vkill vkill.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vmoddomlimits.c
gcc  -g -O2 -Wall   -o vmoddomlimits vmoddomlimits.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vchangepw.c
gcc  -g -O2 -Wall   -o vchangepw vchangepw.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c dotqmail2valias.c
gcc  -g -O2 -Wall   -o dotqmail2valias dotqmail2valias.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vpopmaild.c
gcc  -g -O2 -Wall   -o vpopmaild vpopmaild.o libvpopmail.a -lcrypt
gcc -I. -Icdb -I.      -g -O2 -Wall -c vlist.c
gcc -I. -Icdb -I.      -g -O2 -Wall -c vlistlib.c
gcc -I. -Icdb -I.      -g -O2 -Wall -c vutil.c
gcc  -g -O2 -Wall   -o vlist vlist.o vlistlib.o vutil.o libvpopmail.a -lcrypt
cd . && /usr/local/bin/bash /usr/ports/mail/vpopmail/work/vpopmail-5.4.26/missing --run autoheader
/usr/ports/mail/vpopmail/work/vpopmail- 5.4.26/missing: line 46: autoheader: command not found
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.in'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
rm -f stamp-h1
touch ./config.h.in
cd . && /usr/local/bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
for d in bin doc etc include lib ; do  if test ! -d /usr/home/vpopmail/$d; then  /usr/bin/install -c -d -g vchkpw -m 0755 -o vpopmail  /usr/home/vpopmail/$d ;  fi ;  done
/usr/bin/install -c -d -g vchkpw -m 0700 -o vpopmail  /usr/home/vpopmail/domains
echo "-I/usr/home/vpopmail/include" >  /usr/home/vpopmail/etc/inc_deps
echo "-L/usr/home/vpopmail/lib -lvpopmail  -lcrypt " >  /usr/home/vpopmail/etc/lib_deps
if test ! -r /usr/home/vpopmail/etc/vlimits.default; then  /usr/bin/install -c -o vpopmail -m 0644 -g vchkpw  vlimits.default /usr/home/vpopmail/etc/vlimits.default;  fi
if test "" = "1"; then  if test ! -r /usr/home/vpopmail/etc/vpopmail.mysql; then  echo "# MYSQL CONNECTION SETTINGS FOR VPOPMAIL" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "#" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "# Line 1 defines the connection to use for database reads," >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "# Line 2 defines the connection to use for database updates/writes." >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "#" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "# If you omit line 2, then the same settings will be" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "# used for both read and write." >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "#" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "# settings for each line:" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "# host|port|user|password|database" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "#" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "localhost|0|root|secret|vpopma
 il" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "#" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "# Note:" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "#   The value of host may be either a hostname or an IP address." >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "#   If host is 'localhost', then sockets (Unix) or named pipes (Windows)" >> /usr/home/vpopmail/etc/vpopmail.mysql;  echo "#   will be used instead of TCP/IP to connect to the server."   >> /usr/home/vpopmail/etc/vpopmail.mysql;  fi ;  chown vpopmail  /usr/home/vpopmail/etc/vpopmail.mysql ;  chgrp vchkpw /usr/home/vpopmail/etc/vpopmail.mysql ;  chmod 0640        /usr/home/vpopmail/etc/vpopmail.mysql ;  fi
/usr/bin/install -c -o root -m 0644  libvpopmail.a /usr/home/vpopmail/lib/libvpopmail.a
/usr/bin/install -c -o root -m 0444  config.h /usr/home/vpopmail/include/vpopmail_config.h
for include in vpopmail.h config.h vauth.h vlimits.h ; do  /usr/bin/install -c -o root -m 0444 $include  /usr/home/vpopmail/include/ ;  done
/usr/bin/install -c -d /usr/home/vpopmail/doc/man_html
/usr/bin/install -c -d /usr/home/vpopmail/doc/doc_html
/usr/bin/install -c -o vpopmail -m 0444 -g vchkpw  doc/man_html/*.* /usr/home/vpopmail/doc/man_html/
/usr/bin/install -c -o vpopmail -m 0444 -g vchkpw  doc/doc_html/*.* /usr/home/vpopmail/doc/doc_html/
test -z "/usr/home/vpopmail/bin" || ./install-sh -c -d "/usr/home/vpopmail/bin"
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vchkpw' '/usr/home/vpopmail/bin/vchkpw'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vdelivermail' '/usr/home/vpopmail/bin/vdelivermail'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'clearopensmtp' '/usr/home/vpopmail/bin/clearopensmtp'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vadddomain' '/usr/home/vpopmail/bin/vadddomain'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vdeldomain' '/usr/home/vpopmail/bin/vdeldomain'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vpasswd' '/usr/home/vpopmail/bin/vpasswd'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vadduser' '/usr/home/vpopmail/bin/vadduser'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vdeluser' '/usr/home/vpopmail/bin/vdeluser'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vaddaliasdomain' '/usr/home/vpopmail/bin/vaddaliasdomain'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vsetuserquota' '/usr/home/vpopmail/bin/vsetuserquota'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vpopbull' '/usr/home/vpopmail/bin/vpopbull'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vdeloldusers' '/usr/home/vpopmail/bin/vdeloldusers'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vmoduser' '/usr/home/vpopmail/bin/vmoduser'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'valias' '/usr/home/vpopmail/bin/valias'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vuserinfo' '/usr/home/vpopmail/bin/vuserinfo'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vmkpasswd' '/usr/home/vpopmail/bin/vmkpasswd'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vipmap' '/usr/home/vpopmail/bin/vipmap'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vdominfo' '/usr/home/vpopmail/bin/vdominfo'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vconvert' '/usr/home/vpopmail/bin/vconvert'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vkill' '/usr/home/vpopmail/bin/vkill'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vmoddomlimits' '/usr/home/vpopmail/bin/vmoddomlimits'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vchangepw' '/usr/home/vpopmail/bin/vchangepw'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'dotqmail2valias' '/usr/home/vpopmail/bin/dotqmail2valias'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vpopmaild' '/usr/home/vpopmail/bin/vpopmaild'
  /usr/bin/install -c -o vpopmail -m 711 -g vchkpw  'vlist' '/usr/home/vpopmail/bin/vlist'
[/usr/ports/mail/vpopmail/work/vpopmail-5.4.26] root at test# ~vpopmail/bin/vadddomain test.123
Please enter password for postmaster:
enter password again:
[/usr/ports/mail/vpopmail/work/vpopmail-5.4.26] root at test# cd ~vpopmail/domains/test.123/postmaster/

So you would think all is well and done, right? Nope!

When I create a domain IE; test.com using ~vpopmail/bin/vaddomain test.com test
This is what happens when I do a ls -la inside ~vpopmail/domains/test.com:

-rw-------  1 vpopmail  vchkpw    34 Jan 24 21:31 .dir-control
-rw-------  1 root      vchkpw    59 Jan 24 21:31 .qmail-default
-rw-------  1 vpopmail  vchkpw     0 Jan 24 21:31 .vpasswd.lock
drwx------  3 vpopmail  vchkpw   512 Jan 24 21:31 postmaster
-rw-------  1 vpopmail  vchkpw   124 Jan 24 21:31 vpasswd
-rw-------  1 vpopmail  vchkpw  2194 Jan 24 21:31 vpasswd.cdb

If I do a standard install without the skel patch, it works fine.
>How-To-Repeat:
One of the first things we need to do is fetch the tarball which contains the vpopmail skel(eton) files. Why do we need this you say? In laymans terms, rather than having vpopmail make a basic Maildir with new, cur and tmp in it, we are going to replace that with a completely customized Maildir. The next few commands will fetch the tarball, extract it in the correct place and then chown and chmod it.


# cd ~vpopmail
# fetch http://freebsdrocks.net/files/skel.tgz
# tar zxvf skel.tgz
# chown -R vpopmail:vchkpw skel/
# chmod -R 700 skel/
# chmod 0600 skel/.qmail skel/mailfilter
# rm skel.tgz

We need to change where vpopmail is located in FreeBSD. The location where ports will try to install it is /usr/local/vpopmail so we're going to delete that folder and symlink it to ~vpopmail: 


# cd /usr/local
# rm -dfr vpopmail
# ln -s ~vpopmail /usr/local/vpopmail

We are now going to change to the /usr/ports/mail/vpopmail/files folder and then download the patch into it so it's applied automagically! 


# cd /usr/ports/mail/vpopmail/files
# rm patch-vlist.c patch-vlistlib.c patch-vpalias.c patch-vpopmail.c patch-vutil.c patch-config.h.in patch-configure patch-vdelivermail.c patch-vmysql.c patch-vpgsql.c

# fetch http://freebsdrocks.net/files/patch-vpopmail-skel-5.4.26

Now we need to go the main vpopmail ports folder and run the configure command as shown:  


# cd /usr/ports/mail/vpopmail
# make CONFIGURE_ARGS="--enable-logging=p --enable-skeleton"

You will then get an output with all the settings that are enabled. Now we will want to run the make commands as follows: 


# make install

If that runs without errors, vpopmail is configured and installed. At this point I would add a domain and make sure it adds it okay. 

Now to clean up the installation:


# make clean

Your users will be very happy they will have the ability to turn on or off their spam protection, change their passwords and all kinda of other fun stuff. 

We need to now make a slight modification to the vchkpw file to make SMTP with TLS (Or SSL) work correctly:


# cd ~vpopmail/bin
# chmod 6711 vchkpw
# chown vpopmail:vchkpw vchkpw

>Fix:
unknown. I think it has to do with all the new patches in 

/usr/ports/mail/vpopmail/files:

-rw-r--r--  1 root  wheel    398 Dec 25 06:00 patch-config.h.in
-rw-r--r--  1 root  wheel   4497 Dec 25 06:00 patch-configure
-rw-r--r--  1 root  wheel   5215 Dec 25 06:00 patch-vdelivermail.c
-rw-r--r--  1 root  wheel   1422 Dec 25 06:00 patch-vlist.c
-rw-r--r--  1 root  wheel  16357 Dec 25 06:00 patch-vlistlib.c
-rw-r--r--  1 root  wheel   2067 Dec 25 06:00 patch-vmysql.c
-rw-r--r--  1 root  wheel   3545 Dec 25 06:00 patch-vpalias.c
-rw-r--r--  1 root  wheel   3167 Dec 25 06:00 patch-vpgsql.c
-rw-r--r--  1 root  wheel   2333 Dec 25 06:00 patch-vpopmail.c
-rw-r--r--  1 root  wheel   1301 Dec 25 06:00 patch-vutil.c


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list