View Single Post
Old 30th December 2008, 16:46
jniltinho jniltinho is offline
Junior Member
Join Date: Dec 2008
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Wink Add Dovecot ::Very Simple::


zypper update
init 6

zypper update
init 6

zypper install -y findutils readline libgcc glibc-devel findutils-locate gcc flex 
zypper install -y lynx compat-readline4 db-devel wget gcc-c++ make iputils

zypper install -y zypper install -y postfix postfix-mysql findutils-locate dovecot11 dovecot11-backend-mysql
zypper install -y libmysqlclient-devel 
zypper install -y apache2 apache2-mod_perl apache2-mod_php5 apache2-prefork

zypper install -y php5-bcmath php5-bz2 php5-calendar php5-ctype php5-curl php5-dbase 
zypper install -y php5-dom php5-ftp php5-gd php5-gettext php5-gmp php5-iconv php5-imap
zypper install -y php5-mbstring php5-mcrypt php5-mysql php5-ncurses php5-odbc php5-openssl 
zypper install -y php5-pcntl php5-posix php5-shmop php5-snmp php5-soap php5-sockets php5-sqlite 
zypper install -y php5-sysvsem php5-tokenizer php5-wddx php5-xmlrpc php5-xsl php5-zlib php5-exif 
zypper install -y php5-fastcgi php5-pear php5-sysvmsg php5-sysvshm ImageMagick curl

zypper install -y webalizer perl-DateManip
zypper install -y pure-ftpd quota pam-devel libtool
zypper install -y amavisd-new clamav clamav-db zoo unzip unrar bzip2 unarj perl-DBD-mysql
init 6


chkconfig --add mysql
/etc/init.d/mysql start
##Set the mysql database password:
mysqladmin -u root password 123456

chkconfig --add postfix
/etc/init.d/postfix start

chkconfig --add amavis
chkconfig --add clamd
/etc/init.d/amavis start
/etc/init.d/clamd start

a2enmod suexec
a2enmod rewrite
a2enmod ssl
a2enmod actions

chkconfig --add apache2
/etc/init.d/apache2 start

chkconfig --del SuSEfirewall2_setup
chkconfig --del SuSEfirewall2_init
/etc/init.d/boot.apparmor stop
chkconfig -d boot.apparmor


cd /tmp
rpm -ivh getmail-4.7.6-1.4.i586.rpm

cd /tmp
tar xvfz pure-ftpd-1.0.21.tar.gz
cd pure-ftpd-1.0.21/
./configure --sysconfdir=/etc/pure-ftpd --with-everything --with-mysql
make install
mv /usr/sbin/pure-ftpd /usr/sbin/pure-ftpd.suse
ln -s /usr/local/sbin/pure-ftpd /usr/sbin/pure-ftpd

cd /tmp
rm -rf pure-ftpd-1.0.21
rm -f pure-ftpd-1.0.21.tar.gz

chkconfig --add pure-ftpd
/etc/init.d/pure-ftpd start

cd /tmp
rpm -i mydns*.rpm

rm -f /tmp/mydns*

chkconfig --add mydns

cd /tmp
tar xvfz vlogger-1.3.tar.gz
mv vlogger-1.3/vlogger /usr/sbin/
rm -rf vlogger*

##Installing Jailkit:
cd /tmp
tar xvfz jailkit-2.5.tar.gz
cd jailkit-2.5
make install
cd /tmp
rm -rf jailkit-2.5*

cd /tmp
tar xvfz ISPConfig-
cd ispconfig3_install/install/
php -q install.php


another time I add the dovecont.conf as in this example: