Tugriceri Web Notes

Fetchmail example

by on Dec.24, 2007, under Mail

Example .fetchmailrc file ;

[root@mail Maildir]# cat /root/.fetchmailrc

defaults
    fetchall
    keep
set no bouncemail

poll 127.0.0.1 protocol IMAP
    user efsaneuser@superdomain.com there with password xxxxx is efsane.user@superdomain.com here
    smtphost 192.168.0.10
———————————————–
if you want to fetch old mails with subfolders, you can try this settings.

[root@mail Maildir]# cat /root/fet.sh

for gonder in “INBOX.Ocak” “INBOX.Subat” “INBOX.Mart” “INBOX.Nisan” “INBOX.Mayis” “INBOX.Haziran” “INBOX.Temmuz” “INBOX.Agustos” “INBOX.Eylul” “INBOX.Kasim” “INBOX.Aralik”
do
fetchmail -r $gonder
done

Powered by ScribeFire.

No comments for this entry yet...

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...