The DigitalPimp
Ben Pfountz |
Note: This ports requires many other ports as prerequesites.
Install ispell from ports: cd /usr/ports/textproc/ispell make install make clean
Install expect from ports: cd /usr/ports/lang/expect make install WITHOUT_X11=yes make clean
Install gpgme for security/encryption from ports: cd /usr/ports/security/gpgme make install make clean
Install courier-authlib from ports: cd /usr/ports/mail/courier-authlib make install make clean
Install maildrop from source: download, unzip, and change into the source directory ./configure --enable-syslog=1 check maildrop/config.h, and set DEFAULT_DEF=./Maildir gmake gmake install-strip gmake install-man
enable filtering in sqwebmail: create the file maildirfilterconfig in each user's Maildir, and put in it: MAILDIRFILTER=../.mailfilter MAILDIR=./Maildir
enable filtering in qmail: create the file .qmail in each user's home directory, and put in it: | /usr/local/bin/maildrop
Install courier-authlib: Download, unzip, and change into the source directory. As a regular user, run the following commands:
Remove old sqwebmail:
Install sqwebmail: download, unzip, and change into the source directory as a regualr user run the following commands: ./configure
\ gmake gmake check su to root and run the following commands: gmake install-strip gmake install-configure
Add the following lines to /etc/pam.conf
Restore the startup authentication script: /usr/local/etc/rc.d/webmail.sh Note: You can just hack one out, as long as it runs /usr/lib/sqwebmail/libexec/sqwebmaild.rc with 'start' and 'stop' as parameters.
check /usr/local/etc/authlib/authdaemonrc, set daemons=2
restore /usr/local/www/webmail/imagedir/index.php: <?
Configure apache with correct webmail paths (put just below the /cgi-bin/ alias): # The script
alias for webmail access
Rewrite /usr/local/share/sqwebmail/sendit.sh to remove @digitalpimp.princenet from Return_Path #!/usr/local/bin/ksh # # chmod the above script to a+x
To enable encryption for each user, from each user's home directory, type /usr/lib/sqwebmail/share/sqwebmail/webgpg /usr/home/[homedir]/Maildir
Note: be careful with restoring the permissions on the above files.
Enable calendaring create the file calendarmode in the configuration directory (/usr/local/share/sqwebmail) "local" - enable account calendaring "net" - enable calendaring in groupware mode. restart sqwebmail via sqwebmail.sh
THE FOLLOWING IS UNTESTED IN VERSION 5.0.0 Update your scripts to allow for password changing... restore the following files: /usr/local/share/sqwebmail/libexec/authlib/authsystem.passwd /usr/local/share/sqwebmail/libexec/authlib/whoamit
|
|