You shall have to run a cron job to check whether there's mail in the
queue, which can be fired up through the rc.sysinit or rc.local script.
Once connected, configure the /etc/ppp/ip-up.local to run fetchmail and
sendmail -q to get the mail and flush the queue. You can get the
fetchmail return value to check the status. Once everythig is OK, you
can configure a shell-script to kill the ppp0 interface.

I have done exactly same on my departmental mail server which flushes
the queue and gets mail after every one hour, automatically.

Madhurjya

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to