I have a box that dials up to an ISP and disconnects etc etc. I have followed Doug Vander Woude's documentation on Mail Queue, and it works a treat, for what it does. But I'm getting greedy now, and I want things to be a little more dynamic. Instead of the queue being used all the time and mail sent when the link comes up, I want qmail to send out the PPP if it is up, or place it in the queue if the PPP is down. This way, if I am online for 40-50 mins I wouldn't have to wait for the link to go down then back up again (as Dougs solution involves the queue being flushed on ip-up) or I wouldn't have to manually instruct the queue to be flushed, when the link is up. Has anybody thought of (and made) a reliable system for this. I came up with some nasty polling scripts that get run when the PPP is open, sending the queued mail every 30 second, but I figured the must be a much more eloquent method. I'm sure somebody can suggest a method. Cheers Shem
