# Dowmload Paket
mkdir /downloads
cd /downloads
wget http://www.qmailrocks.org/downloads/qmailrocks.tar.gz
tar zxvf qmailrocks.tar.gz
# Setup Patch RedHat/Fedora
/downloads/qmailrocks/scripts/install/qmr_install_linux-s1.script
/downloads/qmailrocks/scripts/util/qmail_big_patches.script
cd /usr/src/qmail/qmail-1.03
make man && make setup check
./config-fast mail.pemda.go.id
make cert
# Country Name (2 letter code) [GB]:ID
# State or Province Name (full name) [Berkshire]:pemda
# Locality Name (eg, city) [Newbury]:Jayapura
# Organization Name (eg, company) [My Company Ltd]:BPDE Provinsi pemda
# Organizational Unit Name (eg, section) []:Cyber
# Common Name (eg, your name or your server's hostname) []:mail.pemda.go.id
# Email Address []:bpde@pemda.go.id
# chmod 640 /var/qmail/control/servercert.pem
# chown qmaild.qmail /var/qmail/control/servercert.pem
# ln -s /var/qmail/control/servercert.pem /var/qmail/control/clientcert.pem
chown -R vpopmail:qmail /var/qmail/control/clientcert.pem /var/qmail/control/servercert.pem
# UCSPI
cd /usr/src/qmail/ucspi-tcp-0.88/
patch < /downloads/qmailrocks/patches/ucspi-tcp-0.88.errno.patch
make && make setup check
# Daemon Tools
cd /package/admin/daemontools-0.76/src
patch > /etc/tcp.smtp
qmailctl cdb
# Alias
echo bpde@pemda.go.id > /var/qmail/alias/.qmail-root
echo bpde@pemda.go.id > /var/qmail/alias/.qmail-postmaster
echo bpde@pemda.go.id > /var/qmail/alias/.qmail-mailer-daemon
ln -s /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-anonymous
chmod 644 /var/qmail/alias/.qmail*
# Kick Sendmail
rpm -e --nodeps sendmail
ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
# Testing setetes langsung bunting
/downloads/qmailrocks/scripts/util/qmr_inst_check
qmailctl stop
qmailctl start
# Paket Tambahan
# IMAP
# rpm -ivh tcl-8.4.13-1.1.i386.rpm
# rpm -ivh expect-5.43.0-3.1.i386.rpm
# rpm -ivh gdbm-devel-1.8.0-26.2.i386.rpm
cd /downloads/qmailrocks/
tar jxvf courier-authlib-0.55.tar.bz2
cd courier-authlib-0.55
./configure --prefix=/usr/local --exec-prefix=/usr/local --with-authvchkpw --without-authldap --without-authmysql --disable-root-check --with-ssl --with-authchangepwdir=/usr/local/libexec/authlib --with-redhat
make && make check
make install-strip && make install-configure
vi /etc/rc.local
cd /downloads/qmailrocks/
tar jxvf courier-imap-4.0.2.tar.bz2
chown -R bpdetj:wheel courier-imap-4.0.2
cd /downloads/qmailrocks/courier-imap-4.0.2
su bpdetj
./configure --prefix=/usr/local --exec-prefix=/usr/local --with-authvchkpw --without-authldap --without-authmysql --disable-root-check --with-ssl --with-authchangepwdir=/usr/local/libexec/authlib --with-redhat
make && make check
exit
make install-strip && make install-configure
/usr/local/sbin/mkimapdcert
vi /usr/local/etc/imapd.cnf
# change postmaser@example.com an administrative email address
vi /usr/local/etc/imapd
# Make sure that the following configuration exists: IMAPDSTART=YES
vi /usr/local/etc/imapd-ssl
# Make sure that the following configuration exists: IMAPDSSLSTART=YES
# Make sure that the following configuration exists: TLS_CERTFILE=/usr/local/share/imapd.pem
vi /usr/local/etc/authlib/authdaemonrc
# Around like 27, you should see the "authmodulelist" setting. Make sure that "authvchkpw" is the only module listed. Like so:
# authmodulelist="authvchkpw"
cp /usr/local/libexec/imapd.rc /etc/rc.d/init.d/imap
cp /usr/local/libexec/imapd-ssl.rc /etc/rc.d/init.d/imaps
# Testing
/usr/local/sbin/authdaemond stop
/usr/local/sbin/authdaemond start
/etc/rc.d/init.d/imap stop
/etc/rc.d/init.d/imaps stop
/etc/rc.d/init.d/imap start
/etc/rc.d/init.d/imaps start
# Jangan lupa masukin ke /etc/rc.local
# Courries Passd Untuk Ganti Pasword Lewat Web
cd /downloads/qmailrocks
tar zxvf courierpassd-1.1.0-RC1.tar.gz
cd courierpassd-1.1.0-RC1
./configure
make && make install
# rpm -ivh xinetd-2.3.13-6.2.1.i386.rpm
vi /etc/xinetd.d/courierpassd
# service courierpassd
# {
# port = 106
# socket_type = stream
# protocol = tcp
# user = root
# server = /usr/local/sbin/courierpassd
# server_args = -s imap
# wait = no
# only_from = 127.0.0.1
# instances = 4
# disable = no
# }
vi /etc/services
# courierpassd 106/tcp #for /etc/xinetd.d/courierpassd
# Antivirus dan SpamAssasin
# rpm -ivh perl-suidperl-5.8.8-5.i386.rpm
# rpm -ivh fedora-usermgmt-setup-0.8-2.fc5.noarch.rpm
# rpm -ivh fedora-usermgmt-shadow-utils-0.8-2.fc5.noarch.rpm fedora-usermgmt-0.8-2.fc5.noarch.rpm
# rpm -ivh clamav-data-0.88.3-1.fc5.i386.rpm
# rpm -ivh clamav-lib-0.88.3-1.fc5.i386.rpm
# rpm -ivh clamav-0.88.3-1.fc5.i386.rpm
# rpm -ivh clamav-update-0.88.3-1.fc5.i386.rpm
# rpm -ivh clamav-server-0.88.3-1.fc5.i386.rpm
cp /usr/share/clamav/template/clamd.conf /etc/
vi /etc/clamd.conf
# "Example" - should already be commented out. However, if it is not, make sure that it is commented out (#)
# "LogFile" - should be set to /var/log/clamav/clamd.log
# "LogTime" - should be uncommmented.
# "LogSyslog" - should be uncommented.
# "User" - should be set to qscand
# "ScanMail" - should be uncommented.
# PidFile /var/run/clamd/clamd.pid
# LocalSocket /var/run/clamd/clamd.sock
mkdir /var/run/clamd
chown -R qscand /var/run/clamd/
# Biar clamav auto update
crontab -e
# 25 1 * * * /usr/bin/freshclam --quiet
useradd -s /home/spamd spamd
vi /etc/sysconfig/spamassassin
SPAMDOPTIONS="-x -u spamd -H /home/spamd -d"
# Konekkan Clamav dan SpamAssasin ke Qmail
cd /downloads/qmailrocks
tar zxvf qmail-scanner-1.25.tgz
tar zxvf qms-analog-0.4.2.tar.gz
cd qms-analog-0.4.2
make all
cp qmail-scanner-1.25-st-qms-20050219.patch /downloads/qmailrocks/qmail-scanner-1.25/
cd /downloads/qmailrocks/qmail-scanner-1.25
patch -p1 /home/vpopmail/etc/defaultdomain
# Anal Log
cd /downloads/qmailrocks/
tar zxvf qmailanalog-0.70.tar.gz
cd qmailanalog-0.70
patch < /downloads/qmailrocks/patches/0.70-errno.patch
make && make setup check
cd /downloads/qmailrocks/
tar zxvf qlogtools-3.1.tar.gz
cd qlogtools-3.1
patch < /downloads/qmailrocks/patches/qlogtools_errno.patch
make
./installer
cp /downloads/qmailrocks/qms-analog-0.4.2/qmailstats /var/qmail/bin
# Backup Qmail
# tar -cvzf backup.tar.gz /home/vpopmail/
# /var/qmail
# /etc/passwd
# /etc/group
# /etc/shaddow
Saturday, August 12, 2006
Home »
Daily Routines
» Install Qmail Vpopmail in Fedora Core 5
Install Qmail Vpopmail in Fedora Core 5
I'm tried to install Qmail with Vpopmail, using QmailRocks in Linux Fedora Core 5. And Everything well done, except for Clamav (Antivirus) and SpamAssassin (note: finally i can manage to set Clamav and SpamAssasin). Here is my documentation:
15 comments:
mas..makasih tutorialnya..
ada yang lainnya gak? (set server dhcp, pop3 dan smtp)
kalau gak set server yang lainnya. :)
Pingin coba tapi belum ada SERVERnya :(
mas tutorialnya bagus tuh.. bisa buat referensi buat pemula
tutorialnya bagus banget.
tapi lebih bagus di kasih keterangan step by step ke gunaan perintah di atas soalnya saya udah jalanin persis di atas
KAGAK jalan gimana bantuin dong
bisa kasi tau ga kalo install qmail dengan rpm?
bentrok dengan sendmail nih ngatasinya gimana?
# 4
Cah gaul, kemungkinan ada library yang belum terinstall di server.
# 5
Mas Jayadi uninstall dulu sendmailnya
from where to find the following rpm files
fedora-usermgmt-setup-0.8-2.fc5.noarch.rpm (yes this is available)
fedora-usermgmt-shadow-utils-0.8-2.fc5.noarch.rpm fedora-usermgmt-0.8-2.fc5.noarch.rpm
clamav-data-0.88.3-1.fc5.i386.rpm
clamav-lib-0.88.3-1.fc5.i386.rpm
clamav-0.88.3-1.fc5.i386.rpm
clamav-update-0.88.3-1.fc5.i386.rpm
clamav-server-0.88.3-1.fc5.i386.rpm
Pl help me to find those files. I am also installed qmail with vpopmail, qmailadmin, etc foowing qmailrocks documentation, but stock at antivirus and spam control.
Thank you.
Kishor
# 7. Kishor Das,
You can search at http://rpm.pbone.net/. Pbone.Net is very usefull to me to find these RPMs.
kren.. tapi ada satu bagian yang terlupakan... hal ini sepele tapi bisa membuat newbie kebingungan.. kalo qmail itu harus mengaktifkan dns terlebih dahulu... HARUS pakek DNS. setau saya betitu... mohon ma'af kaloo kelliru...
Saya lg coba instalasi qmail di FC5, pada blok ini :
#UCSPI
cd /usr/src/qmail/ucspi-tcp-0.88/
patch
Saya sudah install postfix+postfix webadmin +mysql di FC 5 tapi saya binggung unutk install courierimap nya bisa kasih caranya
terima kasih sebelumnya
kayaknya kalau install lalu konfigurasi courier imap di postfix disetting di xinetd-nya ya, soalnya saya pake postfix udah 4 tahun lalu (2002).
Mas tutornya bermanfaat sekali, mungkin mas juga bisa buatkan tutor utk instalasi php?
bgmna caranya pakai wine di fedora 6
heru :
bgmna caranya pakai wine di fedora 6
Pelan pelan ngajarinya, pake keterangan laangkah demilangkanh donk. biar ga bingun nich, i kan newbie
Post a Comment