On Wed, 25 Sep 2002, dhadhank wrote:

# coba gini dulu ....
# pake cara sederhana...
#
# 0. pastikan fetchmail,procmail, dan smtp udah jalan
# 1.buat file .fetcmailrc di home dir
#
# vi .fetchmailrc
# poll mail.pop3xxx.xxx proto pop3 user xxxx password nnnn
# mda "procmail -d %T"
#
# 2.# chmod 0710 .fetchmailrc
# 3.# fetchmail -va
#
# kalau sampe step 3 berhasil, untuk di buat daemonized bisa dengan langkah
# berikut : (ambil email tiap 5 menit)
# 4.# fetchmail -d 300
#
# 5.otomatisasi bisa dengan cara sederhana seperti ini
# su user -c 'fetchmail -d 300'
#
# 5.a buat file kosong, isi dengan perintah
# su user -c 'fetchmail -d 300 &'
#
# 5.b chmod +x file tersebut , dan letakkan pada rc.local

langsung aja command itu di masukkan ke rc.local

# 5.c kalo mau via cron, skip 5a dan 5b, command :
# su user -c 'fetchmail -s' &
# letakkan pada file kosong, chmod +x file tsb, dan letakkan pada cron :
# cron -e
# */5 * * * *  /path-to-fil-tsb/file-tsb
#
# 6. more fun if you read the manual first.......

damn rite :)

Cheers

Indra Kusuma
--
 ,''`. Indra{@,.}Kusuma.OR.ID -> [Security - Debian/GNU Linux - IPv6]
: :' : 0x4D829E49 - 187D 8C98 FB76 E1A8 5558 853A 4795 4FC1 4D82 9E49
`. `'
  `-


---------------------------------------------------------------------
Jumlah pelanggan (updated daily): 184
Untuk berhenti berlangganan, kirim email ke: [EMAIL PROTECTED]
Arsip milis, hyperlink: http://www.mail-archive.com/[email protected]/ 

Kirim email ke