Now, I will give example script on fetchmail and getmail
1. GETMAIL
I use getmail with version 3.2.4
create directory.getmail
# mkdir .getmail
create getmailrc file
# touch getmailrc
Script getmailrc :
(let's say we will put inbox on maildir (I use qmail))
[default]
verbose = 1
readall = 0
delete = 1
message_log = /var/log/getmail.log
timeout = 240
max_message_size = 1048576
[java_ux's Mail]
server = geocities.com
username = java_ux@geocities.com
password = n64ntuk
postmaster = /home/vpopmail/domains/geocities.com/java_ux/Maildir/
[user1's Mail]
server = geocities.com
username = user1@geocities.com
password = t1du12
postmaster = /home/vpopmail/domains/geocities.com/user1/Maildir/
2. FETCHMAIL
create .fetchmailrc file
# touch .fetchmailrc
Contoh .fetchmailrc:
(let's say, we will put inbox to home user (I use sendmail))
poll geocities.com with proto pop3:
no envelope no dns
username java_ux%takaful.com password n64ntuk
to java_ux
poll geocities.com with proto pop3:
no envelope no dns
username user1%takaful.com password t1du12
to user1
'yeah , easy, U just copy then paste thats script, right? '
Selasa, 15 Januari 2008
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar