Re: online/offline exim config
On Mon, Mar 24, 2003 at 04:21:40PM +0100, François TOURDE wrote:
> Joao Pedro Clemente <jpcl@rnl.ist.utl.pt> writes:
>
> > I haven't understood this reply: If you just start exim when you get
> > online, what happens when you try to send mail while offline? If exim is
> > not running, will it not fail?!?
>
> Exim is always ready on my laptop. Not started directly, but using inetd
> capabilities...
>
> /etc/inetd.conf:
> [...]
> smtp stream tcp nowait mail /usr/sbin/exim exim -bs
> [...]
>
> So, when I send local mail, it is queued.
>
> Once connected, exim is started with -qf option by script in /etc/ifplugd/
> or any software you can use for plug/unplug mode.
>
This works fine, thanks (the easiest solution stands usually right
in front of one's eyes :-).
The only concern I have is that when I'm unplugged, I need to wait ~5sec
for exim to accept mail (normally it's being sent right away).
--
Lukasz
Reply to: