On Fri, May 31, 2002 at 02:48:23PM +0530, Sridhar M.A. wrote: >On Fri, May 31, 2002 at 02:14:45PM +0530, Dushyanth Harinath wrote: > > > > * <[EMAIL PROTECTED]> wrote from a remote bunker : > > > I just shifted to Debian (no X) from RH. > > > > > > I'm using fetchmail to download my mail from various boxes. How > > > do I know when fetchmail has finished checking all the > > > mail-boxes, so that I can disconnect? > > > > You can wrap it in a shell script. > > > > #!/bin/sh > > fetchmail > > killall wvdial or whatever > > >Is that essential? I have been using fetchmail all the time. Unless run >as a daemon, it just puts the ouput on the console. As Ajay seems to be >a dialup user, I do not think that he will be running fetchmail in >daemon mode.
Ajay will have to just process mailq, run fetchmail and than kill wvdial or whatever from /etc/ppp/ip-up.local # !/bin/sh /usr/sbin/sendmail -q -v -v /usr/bin/fetchmail -e 15 -t 60 -v -a -f /etc/fetchmailrc -L /var/log/fetchmail.log killall wvdial Peace -- Rajesh : ####[ Linux One Stanza Tip (LOST) ]########################### Sub : Konquerer (kde) LOST #146 Do you know that konqueror can do much more than web browsing? You can use the following URL schemes, and many more: tar: - to browse tar.gz or tar.bz2 files smb: - to browse Windows shares man: & info: - to browse man and info pages audiocd: - to browse audio CDs ####<[EMAIL PROTECTED]>######################################## : _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
