Re: Waiting for scripts in /etc/ppp/ip-up.d
Moore, Paul writes:
> >From: Peter Iannarelli[SMTP:Peter.Iannarelli@genxl.com]
> >Hello:
> >
> >Wouldn't it just be cleaner to use dial on demand (diald)
> >which would automatically bring up and/or turn down the
> >link based on idle time.
>
> Sorry, I should have said this. Diald won't work for two main reasons.
> First, my ISP passes mail to me when I'm online (not via POP3 - I can
> use POP3, but it's not suitable for a number of complex reasons...). So
> I have to go online anyway to grab mail. Second, I want to work in a
> batch-online mode, where I get everything in one big slug (which I can
> run, for example, while I have my tea :-) and then scan it all offline.
>
> Hope this explains better,
> Paul.
Yep, you confuse connectivity with mail transfer. Diald only makes/breaks a
PPP connection based on IP traffic. You say that you use SMTP to get your
mail. "fetchmail" should fit the bill. It fetches mail via SMTP and does it
as a batch job. You can use "cron" to activate "fetchmail" periodically.
"fetchmail" would then activate "diald" to make the connection.
>From the fetchmail manpage:
...
The fetchmail program can gather mail from servers sup-
porting any of the common mail-retrieval protocols: POP2,
POP3, IMAP2bis, and IMAP4. It can also use the ESMTP ETRN
extension. (The RFCs describing all these protocols are
listed below.)
...
---
-= Sent by Debian 1.3 Linux =-
Thomas Kocourek KD4CIK
@_@tko@westgac3.dragon.com Remove @_@ for correct Email address
--... ...-- ... -.. . -.- -.. ....- -.-. .. -.-
Reply to: