Koozali.org: home of the SME Server

Getting my @home mail to read from IMP

Doug

Getting my @home mail to read from IMP
« on: April 13, 2001, 01:46:18 AM »
Hi, I know there is probably a really simple way of doing this but my limited knowledge of the subject keeps getting in the way...

All I want to do is grab my mail from my @Home account periodicaly so when I log on to IMP from work my @Home mail will be waiting for me.

I tried this .fetchmailrc in my home directory (~/) :

poll mail.my-at-home-server.on.ca with proto POP3
user "my-mail-login" there with password "my-mail-password" is my-user-name here


Should this work?
I'm not seening any mail in IMP after I run fetchmail at the e-smith command line.

Anyway, thank you in advance, any help is appreciated.

Doug P.

Michael Maxwell

Re: Getting my @home mail to read from IMP
« Reply #1 on: April 13, 2001, 06:03:42 AM »
Try this...

poll mail.my-at-home-server.on.ca with proto POP3
user "my-mail-login" there with password "my-mail-password" is my-user-name here
options
flush fetchall
smtphost yourhostname.yourdomain.com

Place .fetchmailrc in the root home /root

Michael Maxwell

Doug wrote:
>
> Hi, I know there is probably a really simple way of doing
> this but my limited knowledge of the subject keeps getting in
> the way...
>
> All I want to do is grab my mail from my @Home account
> periodicaly so when I log on to IMP from work my @Home mail
> will be waiting for me.
>
> I tried this .fetchmailrc in my home directory (~/) :
>
> poll mail.my-at-home-server.on.ca with proto POP3
> user "my-mail-login" there with password "my-mail-password"
> is my-user-name here
>
>
> Should this work?
> I'm not seening any mail in IMP after I run fetchmail at the
> e-smith command line.
>
> Anyway, thank you in advance, any help is appreciated.
>
> Doug P.

Doug

Re: Getting my @home mail to read from IMP
« Reply #2 on: April 13, 2001, 08:22:56 AM »
So should I make cron run fetchmail hourly as root to keep IMP up to date?

Dan Brown

Re: Getting my @home mail to read from IMP
« Reply #3 on: April 13, 2001, 09:23:30 AM »
I wouldn't run it as a cron job; I'd run it as a daemon, polling at whatever interval you want.  You can do this using the "set daemon n" command in .fetchmailrc, where n is the number of seconds between checks.

Doug

Thanks! It works!
« Reply #4 on: April 18, 2001, 09:38:10 AM »
You guys (and gals) that offer your time and advice are really appreciated! Thanks again!