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