Tuesday, March 15, 2005

Fetchmail setting to retrieve multiple email accounts

here is an example of fetchmail setting/configuration file (.fetchmailrc).

(Sorry this text i created just for test my layout on blogger's template, please ignore. Thanks. Sorry this text i created just for test my layout on blogger's template, please ignore. Thanks. Sorry this text i created just for test my layout on blogger's template, please ignore. Thanks )

(Sorry this text i created just for test my layout on blogger's template, please ignore. Thanks. Sorry this text i created just for test my layout on blogger's template, please ignore. Thanks. Sorry this text i created just for test my layout on blogger's template, please ignore. Thanks. Sorry this text i created just for test my layout on blogger's template, please ignore. Thanks. Sorry this text i created just for test my layout on blogger's template, please ignore. Thanks )

set daemon 600
set logfile /home/apachelynx/.log-fetchmail
set postmaster "apachelynx@myserver.com"
set showdots

defaults
tracepolls
pass8bits
limit 5242880
warnings 86400
expunge 5
fetchlimit 0

poll pop.mail.yahoo.co.uk
proto pop3
port 110
user "apachelynx"
pass "xxx"
is "apachelynx@localhost.jkt.myserver.com"
fetchall
smtphost "localhost.jkt.myserver.com"
smtpaddress "localhost.jkt.myserver.com"

then you just need to run fetchmail at your account using following command:
$ fetchmail -v -f /home/apachelynx/.fetchmailrc

and in other case, if you want to shutdown the fetchmail from background process, you can use following command:
$ fetchmail -q