Arief Yudhawarman wrote:
Selamat untuk anda.
Terima kasih :)
Gimana kalau ditambahin juga quota untuk masing-masing user mailbox
virtual domain ?
Akan saya coba.
Anda pakai metode pop3 ya untuk tarik email ?
Kalau serius ingin mail hosting ada banyak hosting provider yg mempunyai
jasa domainpop. Keuntungannya ada banyak, account user diset di mail
server anda sendiri bukannya isp, yaitu pada konfigurasi mail box user
di postfixadmin. Tapi saya akan coba membantu masalah anda
Ini saya ada contoh skrip .fetchmailrc yg saya gunakan untuk download email
dari pop3.telkom.net:
# cat .fetchmailrc
##Hostname : proxy.megaplasma.com
##My Domain: megaplasma.com
set postmaster "[EMAIL PROTECTED]"
set no bouncemail
set no spambounce
defaults protocol pop3
set logfile /var/log/fetchmail
poll pop3.telkom.net
timeout 30
envelope "X-Rcpt-To"
user 'usro' with pass 'password' is usro here fetchall
user 'unyil' with pass 'password' is unyil here fetchall
user 'ucrit' with pass 'password' is ucrit here fetchall
dropdelivered
smtpaddress megaplasma.com
Hm, dalam kasus anda, isinya akan jadi begini:
# cat .fetchmailrc
set postmaster "[EMAIL PROTECTED]"
set no bouncemail
set no spambounce
set logfile /tmp/fetchmail/fetchmail.log
poll asiacemerlang.com
timeout 30
## envelope ini penting lho
envelope "X-Rcpt-To"
user '[EMAIL PROTECTED]' with pass 'rahasia' is usera here fetchall
user '[EMAIL PROTECTED]' with pass 'rahasia' is userb here fetchall
.. dst ..
smtpaddress acp.local
poll mitrafinishindo.com
timeout 30
## envelope ini penting lho
envelope "X-Rcpt-To"
user '[EMAIL PROTECTED]' with pass 'rahasia' is usera here fetchall
user '[EMAIL PROTECTED]' with pass 'rahasia' is userb here fetchall
.. dst ..
smtpaddress mfu.local
Wah, kelihatannya tidak efektif ya ? Tiap nambah atau hapus satu user anda
harus edit file .fetchmailrc-nya. Paling enak pakai model domainpop, ini salah
satu contoh script yg saya buat untuk ambil email domainpop dr provider
indoglobal:
# domain jbr.mega-plasma.com harus dianggap lokal oleh postfix
poll pop.mega-plasma.com localdomains jbr.mega-plasma.com
timeout 30
envelope "X-Rcpt-To"
# pakai multidrop
user '[EMAIL PROTECTED]' with pass 'rahasia' to * here fetchall
dropdelivered
smtpaddress megaplasma.com
Paling enak waktu jalankan fetchmail enable verbose logging:
# fetchmail -f /root/bin/.fetchmailrc -v
Selama masa percobaan ganti option 'fetchall' dengan 'keep' untuk mencegah
email didownload dan postfix bingung mau deliver kemana.
Salam
~yudi
Makasih atas jawaban dan contoh scriptnya, saya akan coba dulu.
Catur