View Single Post
  #15  
Old 30th December 2008, 15: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::

Code:

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
wget http://download.opensuse.org/repositories/server:/mail/openSUSE_11.0/i586/getmail-4.7.6-1.4.i586.rpm
rpm -ivh getmail-4.7.6-1.4.i586.rpm


cd /tmp
wget http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.21.tar.gz
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
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
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/server:/dns/SUSE_Factory/i586/mydns-mysql-1.1.0-3.72.i586.rpm
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/server:/dns/SUSE_Factory/i586/mydns-1.1.0-3.72.i586.rpm
rpm -i mydns*.rpm

rm -f /tmp/mydns*

chkconfig --add mydns


cd /tmp
wget http://n0rp.chemlab.org/vlogger/vlogger-1.3.tar.gz
tar xvfz vlogger-1.3.tar.gz
mv vlogger-1.3/vlogger /usr/sbin/
rm -rf vlogger*


##Installing Jailkit:
cd /tmp
wget http://olivier.sessink.nl/jailkit/jailkit-2.5.tar.gz
tar xvfz jailkit-2.5.tar.gz
cd jailkit-2.5
./configure
make
make install
cd /tmp
rm -rf jailkit-2.5*


cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3.0.0.8-rc1.tar.gz
tar xvfz ISPConfig-3.0.0.8-rc1.tar.gz
cd ispconfig3_install/install/
php -q install.php




Links:

http://johnny.chadda.se/2007/04/15/mail-server-howto-postfix-and-dovecot-with-mysql-and-tlsssl-postgrey-and-dspam/
http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL
http://wiki.dovecot.org/Quota/1.1/
http://penguim.wordpress.com/2008/11/20/instalando-o-vmware-server-108-no-ubuntu-810-intrepid-ibex/
http://jangestre.wordpress.com/2007/11/27/mail-server-with-virtual-users-using-postfix-postfix-admin-dovecot-mysql-centos-45-with-roundcubemail/
http://idms-linux.org/tiki-index.php?page_ref_id=20
http://human.network.web.id/2008/07/25/quota-postfix/#more-159
http://human.network.web.id/2008/05/31/postfix-dovecot-trustix/

another time I add the dovecont.conf as in this example:
http://human.network.web.id/2008/05/...vecot-trustix/