Hi Preben! On Sat, 15 Jul 2000, Preben Randhol wrote:
> I'm trying to setup exim and spruce (e-mail client) so that I can use it > for a dial-up (ISDN) system. > > What I do now is that all messages are sent from spruce to exim on > localhost, and then I want to open the connection to the internet (as > the user) and have exim send all the messages before the connection is > closed again. > > Opening and closing of the internet is working, but the problem is how > to get exim to send the messages at once. exim -qf and/or exim -qff will send all mail from the queue. If I remember they both are blocking, i.e. will only return when all messages got send. I'm not sure how they work, if another queue run is running already (as is started in /etc/ppp/ip-up.d/ iirc. If they are only blocking when they are the only queue run you might consider removing /etc/ppp/ip-up.d/exim and then call exim -qf by hand and disconnect afterwards. HTH yours, peter -- PGP encrypted messages preferred. http://www.cosy.sbg.ac.at/~ppalfrad/