Edwin Casimero wrote:

Does Fetchmail work with Qmail? I Need way to download remote mail periodically.

Yep, I do this myself to grab my fiance's email from her college account (IMAP only) and dump it to her regular email account.
Install fetchmail normally (yum install fetchmail).
I create a config file for root, since root runs my cron jobs (file is /root/.fetchmailrc)
.fetchmailrc:
set postmaster [EMAIL PROTECTED]
set syslog

poll remote.com protocol imap authenticate password
    user "username"
    password "password"
    is "local-email"
    smtpaddress your-other-domain.com

I then run a cron job to fetch it every 20 minutes:
0-59/20 * * * * /usr/bin/fetchmail -f /root/.fetchmailrc 2>&1 >/dev/null

And that's it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to