> a) Dials-up using ppp.
> b) Sendmail in queue
> c) Fetchmail
> 
> What we want is to carry on with step b) and c) only if the connection is
> sucessfully established, else pppd should keep retrying.

        Create a file ip-up.local in /etc/ppp. Add the following to that
file.

#!/bin/bash
/usr/sbin/sendmail -q &
fetchmail 

        This will be executed whenever the link is up.

        Regards,
        Kedar.


-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to