fetchmail-friends
[Top] [All Lists]

Re: [fetchmail] fetchmail - Dial up

2003-02-25 13:33:44
On Tue, 25 Feb 2003, Rob MacGregor wrote:

Is it possible that fetchmail automatically dials dial up connection
whenever it needs to fetch mails from remote mail server, or whatever time
we set it to dial the internet.

Down to your OS (I'm guessing Linux).

If you configure it for dial on demand then it will.  A time for RTFM I'm
afraid (if you're using Linux then try http://www.tldp.org/, if you're using
FreeBSD try the Handbook).

Or:
#!/bin/english_script_sh

if ping www.something.com fails; then
        /usr/local/bin/dial_up_to_my_isp
        fetchmail
        /usr/local/bin/kill_dial_up
elsif
        fetchmail
fi


-- 
Matt Piechota

<Prev in Thread] Current Thread [Next in Thread>