Archive for 'Ngoprek'
Install Coppermine
July 10th, 2004. Published under Ngoprek. No Comments.
Restore backup-an album lama. Dulu menggunakan gallery 1.3, karena servernya diinstall ulang, albumnya hilang juga. Tapi tentu saja dibackup dulu donk :biggrin:.
Sekarang foto-foto tersebut diorganisasi menggunakan coppermine. Nih album foto saya (isinya masih foto-foto lama).
Beberapa hal yang perlu diperhatikan saat akan migrasi ke GOsa
June 28th, 2004. Published under Ngoprek. No Comments.
Untuk keperluan migrasi dari qmailLDAP + courier imap ke postfix LDAP + cyrus imap (menggunakan GOsa sebagai alat bantu administrasi) di mail server comlabs, ada beberapa hal yang perlu diperhatikan:
- Untuk mempertahankan login yang mengandung karakter “.” (titik). Yaitu untuk user asisten yang menggunakan standar login hasil concat dari firstname dan lastname.
- Cyrus imap harus di set menggunakan unix hierarchy convention
# /etc/imapd.conf unixhierarchysep: yes
- GOsa secara default menolak login yang mengandung karakter “.” (titik). Sehingga perlu sedikit diubah di file/usr/share/gosa/include/functions.inc pada fungsi is_dn, is_uid
# dari preg_match (\"/^[a-z0-9 _-]+$/i\", $uid) # menjadi preg_match (\"/^[a-z0-9 _.-]+$/i\", $uid)
- GOsa secara default menggunakan cyrus standard internal name space, maka perlu diubah supaya bisa menggunakan alternative name space pada file /usr/share/gosa/plugins/personal/mail/class_mailAccount.inc, fungsi mailAccount.
# dari $this->folder_prefix= \"user.\"; # menjadi $this->folder_prefix= \"user/\";
- Cyrus imap harus di set menggunakan unix hierarchy convention
- Untuk tetap mempertahankan login dengan all numeric character (semuanya menggunakan angka atau diawali dengan angka), kode sumber cyrus harus sedikit diubah. Hal ini untuk mempertahankan skema login untuk mahasiswa, dimana loginnya adalah NIM dari mahasiswa tersebut.Secara default cyrus menolak autentikasi user yang login mailbox semuanya menggunakan angka . Edit file cyrus-[vers]/lib/auth_unix.c.
/* Copy the string and look up values in the allowedchars array above. * If we see any we don't like, reject the string. */ // ganti sawalpha = 0; // dengan sawalpha =1; sawalpha = 0; for(p = retbuf; *p; p++) { switch (allowedchars[*(unsigned char*) p]) { case 0: return NULL; case 2: sawalpha = 1; /* FALL THROUGH */ default: ; } }
- SHA encryption perlu ditambahkan di GOsa
# /usr/share/gosa/include/functions.inc case \"sha\": $newpass = \"{sha}\".base64_encode(mhash(MHASH_SHA1, $password)); break; # plugins/personal/generic/class_user.inc $hashes= array(\"crypt\", \"md5\", \"sha\", \"ssha\");
Mentraining DSPAM lagi deh
May 31st, 2004. Published under Ngoprek. 2 Comments.
Karena kecerobohan saya sendiri, database dspam hilang dalam sekejap. Mungkin tepatnya bukan dalam sekejap, dalam sekali enter :biggrin:. Akhirnya saya harus mentraining lagi dari awal. :banghead::banghead:
IE lambat ketika akan mengakses halaman login desknow
May 30th, 2004. Published under Ngoprek. No Comments.
Ternyata solusinya mudah!
/var/desknow/webapps/desknow/jsp/original/Login_default.jsp
Hapus dua baris di bawah:
<%-- these lines are for detecting the google toolbar --%>
PostPosted: Wed Apr 21, 2004 6:57 am
the login page contains some code that checks if the Google toolbar is enabled in your browser, and displays a warning if it is. That code causes IE to access the net (and the microsoft.com site - don’t know why), so if your connection is slow or patchy, the page takes long to load.
Try this:
open the file Crogram FilesDeskNowwebappsdesknowjsporiginalLogin_default.jsp with a text editor and remove the 2 lines under <%– these lines are for detecting the google toolbar –%>. Then save the file.
_________________
DeskNow tech support
Referensi: www.desknow.com/forums/viewtopic.php?t=2054&highlight=long&sid=bdd776b5aec0d12e4ed39bacfcb69b7f
:thumbsup:
https di mailman
May 28th, 2004. Published under Ngoprek. No Comments.
Set httpd.conf
RedirectPermanent /mailman/ https://lists.comlabs.itb.ac.id/mailman/
Set $MAILMAN/Mailman/Default.py
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
Untuk lists yang sudah dibuat:
./withlist -l -r fix_url NAMA_MILIST -v -u lists.comlabs.itb.ac.id
NTP server
May 24th, 2004. Published under Ngoprek. No Comments.
Dari milists tanya-jawab@linux.or.id (link ke arsipnya blom gwe sempet cari/tulis)
# /etc/ntp.conf, configuration for ntpd # ntpd will use syslog() if logfile is not defined #logfile /var/log/ntpd driftfile /var/lib/ntp/ntp.drift statsdir /var/log/ntpstats/ statistics loopstats peerstats clockstats filegen loopstats file loopstats type day enable filegen peerstats file peerstats type day enable filegen clockstats file clockstats type day enable server 202.71.97.92 server 202.56.133.180 restrict 172.20.113.0 mask 255.255.255.0 notrust nomodify notrap restrict 192.168.0.0 mask 255.255.255.0 notrust nomodify notrap restrict 127.0.0.1
License Chart
May 12th, 2004. Published under Ngoprek. No Comments.
Suka bingung ngebedain lisensi aplikasi? Ini dia, mungkin bisa nambah elo pade bingung ![]()
Postfix - Amavisd-New + ClamAV - DSpam
April 29th, 2004. Published under Ngoprek. No Comments.
Dengan trick disana-sini, akhirnya bisa sukses jg.
Alhamdulillah ![]()
UPDATE: Sedikit tutorial udah saya tulis di sini
DSPAM + Postfix
April 18th, 2004. Published under Ngoprek. No Comments.
Install dspam utk dikombinasikan dengan postfix. Spam tidak dikarantina, tetapi dikirim ke user utk selanjutnya bisa difilter menggunakan procmail/sieve atau sistem filter dari MUA yg mereka gunakan.
./configure \ --with-userdir=/data/dspam \ --with-userdir-owner=dspam \ --with-userdir-group=postfix \ --with-dspam-owner=dspam \ --with-dspam-group=postfix \ --with-dspam-mode=4510 \ --with-local-delivery-agent=/usr/local/sbin/sendmail \ --with-storage-driver=mysql_drv \ --with-mysql-includes=/usr/local/include/mysql \ --with-mysql-libraries=/usr/local/lib/mysql \ --enable-alternative-bayesian \ --disable-trusted-user-security \ --enable-large-scale \ --enable-virtual-users \ --enable-long-usernames \ --enable-spam-delivery
Postfix + DSpam — regexp transport aliases
April 18th, 2004. Published under Ngoprek. No Comments.
http://www.mooluv.com/dspam.html
Sedikit catatan penting dari tulisan/link diatas,
What this means for us is that we cannot create aliases for adding spam
and false positives. So here comes my hacked up solution: a new transport
map and 2 more transports in master.cf.
/etc/postfix/master.cf: dspam-add unix - n n - - pipe flags=Rq user=virtual argv=/usr/bin/dspam –user ${user}@${nexthop} –addspam dspam-fp unix - n n - - pipe flags=Rq user=virtual argv=/usr/bin/dspam –user ${user}@${nexthop} –falsepositive /etc/postfix/transport: /^.*@addspam.(.*)$/ dspam-add:${1} /^.*@fp.(.*)$/ dspam-fp:${1} /etc/postfix/main.cf: transport_maps = regexp:/etc/postfix/transport dspam_destination_recipient_limit = 1 dspam-add_destination_recipient_limit = 1 dspam-fp_destination_recipient_limit = 1
Recent Comments