On Wed, Jan 02, 2002 at 07:08:54PM +0530, Kingsly John wrote:
> On Tue, 1 Jan 2002, USM Bish wrote:
>
> |Purge pending messages (with sendmail -q &)
> |Fetch mails from pop3 server in the background
> |Wait till lock/ pid files of above are removed
> | and then disconnect from ISP
>
> Easier said than done... considering the quality of connec-
> tion here.. if your smtp or pop3 connection hangs for some
> reason... you'll end up with a whopping phone bill!!
>
How true ... I was assuming that all mails are being pushed
through the SMTP of the ISP, which normally is quite Okay ..
>
> I think Suresh's suggestion of ip-up and would be the best
> way to go and set a fixed amount of time for flushing and
> fetching mails using cron.
>
Essentially, what I had suggested was essentially ip-up and
ip-down which are called up by pppd on successful connect
and disconnect. If the point is to terminate even if all
mails are not uploaded, then do it with a time limit of 5
min or so. That should sort out the problem.
Bish
--
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : Changing default OS under LILO LOST #182
Edit /etc/lilo.conf. Put a line in /etc/lilo.conf:
default=oslabel # where oslabel is label the preferred OS
Then, Do: /sbin/lilo -v
Now next time you start lilo, default OS will alter.
####<[EMAIL PROTECTED]>################################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help