Re: online/offline exim config

2003-03-25 Thread Mike Beattie
On Tue, Mar 25, 2003 at 09:08:03AM -0400, Derek Broughton wrote:
> Aargh.  No.  It _can_ be performed with sendmail

Correct.

> (or exim - in the current
> discussion we've been discussing exim but no mention has been made of the fact
> that exim installs itself with the synonym 'sendmail').

As do most MTA's. Please note that in my original mail, I stated
"/usr/bin/sendmail", as distinct from "sendmail". The '/usr/sbin/sendmail'[0]
interface is a defacto standard whichever way you look at it. If your MTA
provides such an interface, it proves much easier to use with default
configurations.

And no, it doesn't 'install itself' with the synonym 'sendmail', the package
contains a symlink of that name pointing to the exim binary, to supply that
interface.

[0] I was incorrect, /usr/sbin is the correct location. (although Solaris
has /usr/lib/sendmail, so this is a moot point)

> But there's absolutely
> no reason not to use SMTP for queuing local mail if your preferred MUA can't
> pipe to a native program (fairly common).
>
> If exim is configured not to accept SMTP connections except from the local
> subnet (common for this kind of laptop setup) and you have appropriate 
> firewall
> rules, there's nothing to fear from letting exim use SMTP to queue local mail.

Of course not. but people need to be aware that most programs will use
/usr/bin/sendmail to inject mail into the local MTA's queue, and if they do
so, they do not require the MTA to be listening on port 25.

This is an awareness factor, more than anything else.

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>  ZL4TXK, IRLP Node 6184

"Sometimes I think that the surest sign that intellegent life exists
   elsewhere in the universe is that none of it has tried to contact us."



Re: online/offline exim config

2003-03-25 Thread Mike Beattie
On Tue, Mar 25, 2003 at 09:08:03AM -0400, Derek Broughton wrote:
> Aargh.  No.  It _can_ be performed with sendmail

Correct.

> (or exim - in the current
> discussion we've been discussing exim but no mention has been made of the fact
> that exim installs itself with the synonym 'sendmail').

As do most MTA's. Please note that in my original mail, I stated
"/usr/bin/sendmail", as distinct from "sendmail". The '/usr/sbin/sendmail'[0]
interface is a defacto standard whichever way you look at it. If your MTA
provides such an interface, it proves much easier to use with default
configurations.

And no, it doesn't 'install itself' with the synonym 'sendmail', the package
contains a symlink of that name pointing to the exim binary, to supply that
interface.

[0] I was incorrect, /usr/sbin is the correct location. (although Solaris
has /usr/lib/sendmail, so this is a moot point)

> But there's absolutely
> no reason not to use SMTP for queuing local mail if your preferred MUA can't
> pipe to a native program (fairly common).
>
> If exim is configured not to accept SMTP connections except from the local
> subnet (common for this kind of laptop setup) and you have appropriate firewall
> rules, there's nothing to fear from letting exim use SMTP to queue local mail.

Of course not. but people need to be aware that most programs will use
/usr/bin/sendmail to inject mail into the local MTA's queue, and if they do
so, they do not require the MTA to be listening on port 25.

This is an awareness factor, more than anything else.

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>  ZL4TXK, IRLP Node 6184

"Sometimes I think that the surest sign that intellegent life exists
   elsewhere in the universe is that none of it has tried to contact us."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-25 Thread Derek Broughton
From: "Mike Beattie" <[EMAIL PROTECTED]>

> On Tue, Mar 25, 2003 at 02:50:22AM +0100, Fran?ois TOURDE wrote:
> > For my local MTA running... But if you have a solution without 25 open,
> > I'm interested... Even if my firewall is paranoid.. :)
>
> You only need 25 when you're accepting remote mail. local delivery is
> performed with /usr/bin/sendmail

Aargh.  No.  It _can_ be performed with sendmail (or exim - in the current
discussion we've been discussing exim but no mention has been made of the fact
that exim installs itself with the synonym 'sendmail'). But there's absolutely
no reason not to use SMTP for queuing local mail if your preferred MUA can't
pipe to a native program (fairly common).

If exim is configured not to accept SMTP connections except from the local
subnet (common for this kind of laptop setup) and you have appropriate firewall
rules, there's nothing to fear from letting exim use SMTP to queue local mail.



Re: online/offline exim config

2003-03-25 Thread Derek Broughton
From: "Mike Beattie" <[EMAIL PROTECTED]>

> On Tue, Mar 25, 2003 at 02:50:22AM +0100, Fran?ois TOURDE wrote:
> > For my local MTA running... But if you have a solution without 25 open,
> > I'm interested... Even if my firewall is paranoid.. :)
>
> You only need 25 when you're accepting remote mail. local delivery is
> performed with /usr/bin/sendmail

Aargh.  No.  It _can_ be performed with sendmail (or exim - in the current
discussion we've been discussing exim but no mention has been made of the fact
that exim installs itself with the synonym 'sendmail'). But there's absolutely
no reason not to use SMTP for queuing local mail if your preferred MUA can't
pipe to a native program (fairly common).

If exim is configured not to accept SMTP connections except from the local
subnet (common for this kind of laptop setup) and you have appropriate firewall
rules, there's nothing to fear from letting exim use SMTP to queue local mail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread Mike Beattie
On Tue, Mar 25, 2003 at 02:50:22AM +0100, Fran?ois TOURDE wrote:
> For my local MTA running... But if you have a solution without 25 open,
> I'm interested... Even if my firewall is paranoid.. :)

You only need 25 when you're accepting remote mail. local delivery is
performed with /usr/bin/sendmail

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>  ZL4TXK, IRLP Node 6184

Never underestimate the power of very stupid people in large groups.



Re: online/offline exim config

2003-03-24 Thread François TOURDE
Mike Beattie <[EMAIL PROTECTED]> writes:

> > /etc/inetd.conf:
> > [...]
> > smtpstream  tcp nowait  mail/usr/sbin/exim exim -bs
> > [...]
> > 
> > So, when I send local mail, it is queued.
> 
> Um, why do you need 25 open?

For my local MTA running... But if you have a solution without 25 open,
I'm interested... Even if my firewall is paranoid.. :)

-- 
Q:  How many marketing people does it take to change a light bulb?
A:  I'll have to get back to you on that.
-- 
François TOURDE - tourde.org - 23 rue Bernard GANTE - 93250 VILLEMOMBLE
Tél: 01 49 35 96 69 - Mob: 06 81 01 81 80
eMail: mailto:[EMAIL PROTECTED] - URL: http://francois.tourde.org/



Re: online/offline exim config

2003-03-24 Thread François TOURDE
Lukasz Wiechec <[EMAIL PROTECTED]> writes:

> 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).

Probably something like a DNS resolving. I've no delay when I send a mail.

Check log files to see where the delay is.

-- 
Kansas state law requires pedestrians crossing the highways at night to
wear tail lights.
-- 
François TOURDE - tourde.org - 23 rue Bernard GANTE - 93250 VILLEMOMBLE
Tél: 01 49 35 96 69 - Mob: 06 81 01 81 80
eMail: mailto:[EMAIL PROTECTED] - URL: http://francois.tourde.org/



Re: online/offline exim config

2003-03-24 Thread Mike Beattie
On Tue, Mar 25, 2003 at 02:50:22AM +0100, Fran?ois TOURDE wrote:
> For my local MTA running... But if you have a solution without 25 open,
> I'm interested... Even if my firewall is paranoid.. :)

You only need 25 when you're accepting remote mail. local delivery is
performed with /usr/bin/sendmail

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>  ZL4TXK, IRLP Node 6184

Never underestimate the power of very stupid people in large groups.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread François TOURDE
Mike Beattie <[EMAIL PROTECTED]> writes:

> > /etc/inetd.conf:
> > [...]
> > smtpstream  tcp nowait  mail/usr/sbin/exim exim -bs
> > [...]
> > 
> > So, when I send local mail, it is queued.
> 
> Um, why do you need 25 open?

For my local MTA running... But if you have a solution without 25 open,
I'm interested... Even if my firewall is paranoid.. :)

-- 
Q:  How many marketing people does it take to change a light bulb?
A:  I'll have to get back to you on that.
-- 
François TOURDE - tourde.org - 23 rue Bernard GANTE - 93250 VILLEMOMBLE
Tél: 01 49 35 96 69 - Mob: 06 81 01 81 80
eMail: mailto:[EMAIL PROTECTED] - URL: http://francois.tourde.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread François TOURDE
Lukasz Wiechec <[EMAIL PROTECTED]> writes:

> 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).

Probably something like a DNS resolving. I've no delay when I send a mail.

Check log files to see where the delay is.

-- 
Kansas state law requires pedestrians crossing the highways at night to
wear tail lights.
-- 
François TOURDE - tourde.org - 23 rue Bernard GANTE - 93250 VILLEMOMBLE
Tél: 01 49 35 96 69 - Mob: 06 81 01 81 80
eMail: mailto:[EMAIL PROTECTED] - URL: http://francois.tourde.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread Mike Beattie
On Mon, Mar 24, 2003 at 04:21:40PM +0100, Fran?ois TOURDE wrote:
> 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.

Um, why do you need 25 open?

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>  ZL4TXK, IRLP Node 6184

 Contentsofsignaturemaysettleduringshipping.



Re: online/offline exim config

2003-03-24 Thread Mike Beattie
On Mon, Mar 24, 2003 at 04:21:40PM +0100, Fran?ois TOURDE wrote:
> 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.

Um, why do you need 25 open?

Mike.
-- 
Mike Beattie <[EMAIL PROTECTED]>  ZL4TXK, IRLP Node 6184

 Contentsofsignaturemaysettleduringshipping.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread Joao Clemente
> In fact, you only need exim running if you are online (to process
> possible connection errors). 
> 
> So, the minimal working situation would be schematically:
> 
> .- On ifup --> start exim -q30m
> .- On ifdown --> stop exim 
> .- Use "sendmail" as the MTA in your e-mail client.
> .- inetd not running


But... Can you qeue mail without having it running?!?
(Maybe yuo can.. I was suposing you couldn't..)



Re: online/offline exim config

2003-03-24 Thread Derek Broughton
From: "Lukasz Wiechec" <[EMAIL PROTECTED]>

> On Mon, Mar 24, 2003 at 04:21:40PM +0100, François TOURDE wrote:
> > Joao Pedro Clemente <[EMAIL PROTECTED]> 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).

That sounds like it must be the time required to start from inetd.  If you run
exim as a daemon, it can do exactly the same things without the startup
overhead.




Re: online/offline exim config

2003-03-24 Thread Joao Clemente
> In fact, you only need exim running if you are online (to process
> possible connection errors). 
> 
> So, the minimal working situation would be schematically:
> 
> .- On ifup --> start exim -q30m
> .- On ifdown --> stop exim 
> .- Use "sendmail" as the MTA in your e-mail client.
> .- inetd not running


But... Can you qeue mail without having it running?!?
(Maybe yuo can.. I was suposing you couldn't..)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread Derek Broughton
From: "Lukasz Wiechec" <[EMAIL PROTECTED]>

> On Mon, Mar 24, 2003 at 04:21:40PM +0100, François TOURDE wrote:
> > Joao Pedro Clemente <[EMAIL PROTECTED]> 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).

That sounds like it must be the time required to start from inetd.  If you run
exim as a daemon, it can do exactly the same things without the startup
overhead.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread Lukasz Wiechec
On Mon, Mar 24, 2003 at 04:21:40PM +0100, François TOURDE wrote:
> Joao Pedro Clemente <[EMAIL PROTECTED]> 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



Re: online/offline exim config

2003-03-24 Thread Derek Broughton
From: "Joao Pedro Clemente" <[EMAIL PROTECTED]>

> > > My dream mail configuration looks like this: while off-line, spool the
> > > outgoing mail into some file, and then when I'm on-line, send it in one
> > > run. While on-line (i.e. at work, where I have permanent connection),
> > > mail should be sent right away.
> >
> > I use ifplugd (apt-get it) and fetchmail...
> >
> > When plugged, my ifplugd config start exim to flush the queue (Exim is
> > configured with smarthost).
>
> I actually am doing things "by hand", as I havent found a way for exim to
> know what is a "offline state": I found out that "exim -q" flushes the
> mails I have in my mail queue (instead of waiting for the next retry date)
>
> 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?!?

I use much the same config.  Exim can be running but not necessarily ready to
run the queues at the same time as you connect, so you have ifplugd, or
whereami, or some other network-aware program, do an explicit queue run at
connection.

Meanwhile, exim doesn't need to know if it's offline - you send it mail, it
tries to forward it, and if it can't it puts it in the queue for retry.



Re: online/offline exim config

2003-03-24 Thread Lukasz Wiechec
On Mon, Mar 24, 2003 at 04:21:40PM +0100, François TOURDE wrote:
> Joao Pedro Clemente <[EMAIL PROTECTED]> 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread François TOURDE
Joao Pedro Clemente <[EMAIL PROTECTED]> 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:
[...]
smtpstream  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.

-- 
Television has brought back murder into the home -- where it belongs.
-- Alfred Hitchcock
-- 
François TOURDE - tourde.org - 23 rue Bernard GANTE - 93250 VILLEMOMBLE
Tél: 01 49 35 96 69 - Mob: 06 81 01 81 80
eMail: mailto:[EMAIL PROTECTED] - URL: http://francois.tourde.org/



Re: online/offline exim config

2003-03-24 Thread Joao Pedro Clemente
> > My dream mail configuration looks like this: while off-line, spool the
> > outgoing mail into some file, and then when I'm on-line, send it in one
> > run. While on-line (i.e. at work, where I have permanent connection),
> > mail should be sent right away.
>
> I use ifplugd (apt-get it) and fetchmail...
>
> When plugged, my ifplugd config start exim to flush the queue (Exim is
> configured with smarthost).

I actually am doing things "by hand", as I havent found a way for exim to
know what is a "offline state": I found out that "exim -q" flushes the
mails I have in my mail queue (instead of waiting for the next retry date)

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?!?




Re: online/offline exim config

2003-03-24 Thread Derek Broughton
From: "Joao Pedro Clemente" <[EMAIL PROTECTED]>

> > > My dream mail configuration looks like this: while off-line, spool the
> > > outgoing mail into some file, and then when I'm on-line, send it in one
> > > run. While on-line (i.e. at work, where I have permanent connection),
> > > mail should be sent right away.
> >
> > I use ifplugd (apt-get it) and fetchmail...
> >
> > When plugged, my ifplugd config start exim to flush the queue (Exim is
> > configured with smarthost).
>
> I actually am doing things "by hand", as I havent found a way for exim to
> know what is a "offline state": I found out that "exim -q" flushes the
> mails I have in my mail queue (instead of waiting for the next retry date)
>
> 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?!?

I use much the same config.  Exim can be running but not necessarily ready to
run the queues at the same time as you connect, so you have ifplugd, or
whereami, or some other network-aware program, do an explicit queue run at
connection.

Meanwhile, exim doesn't need to know if it's offline - you send it mail, it
tries to forward it, and if it can't it puts it in the queue for retry.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread François TOURDE
Lukasz Wiechec <[EMAIL PROTECTED]> writes:

> Hi,
> 
> My dream mail configuration looks like this: while off-line, spool the
> outgoing mail into some file, and then when I'm on-line, send it in one
> run. While on-line (i.e. at work, where I have permanent connection),
> mail should be sent right away. 

I use ifplugd (apt-get it) and fetchmail...

When plugged, my ifplugd config start exim to flush the queue (Exim is
configured with smarthost).

About fetchmail: When plugged, fetchmail is started to read mail from my
mail server, and stay running to fetch every xxx minutes.

When unplugged, fetchmail is stopped, just to avoid error messages.

Hope this help.

-- 
Well, I think Perl should run faster than C.  :-)
 -- Larry Wall in <[EMAIL PROTECTED]>
-- 
François TOURDE - tourde.org - 23 rue Bernard GANTE - 93250 VILLEMOMBLE
Tél: 01 49 35 96 69 - Mob: 06 81 01 81 80
eMail: mailto:[EMAIL PROTECTED] - URL: http://francois.tourde.org/



Re: online/offline exim config

2003-03-24 Thread François TOURDE
Joao Pedro Clemente <[EMAIL PROTECTED]> 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:
[...]
smtpstream  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.

-- 
Television has brought back murder into the home -- where it belongs.
-- Alfred Hitchcock
-- 
François TOURDE - tourde.org - 23 rue Bernard GANTE - 93250 VILLEMOMBLE
Tél: 01 49 35 96 69 - Mob: 06 81 01 81 80
eMail: mailto:[EMAIL PROTECTED] - URL: http://francois.tourde.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread Joao Pedro Clemente
> > My dream mail configuration looks like this: while off-line, spool the
> > outgoing mail into some file, and then when I'm on-line, send it in one
> > run. While on-line (i.e. at work, where I have permanent connection),
> > mail should be sent right away.
>
> I use ifplugd (apt-get it) and fetchmail...
>
> When plugged, my ifplugd config start exim to flush the queue (Exim is
> configured with smarthost).

I actually am doing things "by hand", as I havent found a way for exim to
know what is a "offline state": I found out that "exim -q" flushes the
mails I have in my mail queue (instead of waiting for the next retry date)

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?!?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: online/offline exim config

2003-03-24 Thread François TOURDE
Lukasz Wiechec <[EMAIL PROTECTED]> writes:

> Hi,
> 
> My dream mail configuration looks like this: while off-line, spool the
> outgoing mail into some file, and then when I'm on-line, send it in one
> run. While on-line (i.e. at work, where I have permanent connection),
> mail should be sent right away. 

I use ifplugd (apt-get it) and fetchmail...

When plugged, my ifplugd config start exim to flush the queue (Exim is
configured with smarthost).

About fetchmail: When plugged, fetchmail is started to read mail from my
mail server, and stay running to fetch every xxx minutes.

When unplugged, fetchmail is stopped, just to avoid error messages.

Hope this help.

-- 
Well, I think Perl should run faster than C.  :-)
 -- Larry Wall in <[EMAIL PROTECTED]>
-- 
François TOURDE - tourde.org - 23 rue Bernard GANTE - 93250 VILLEMOMBLE
Tél: 01 49 35 96 69 - Mob: 06 81 01 81 80
eMail: mailto:[EMAIL PROTECTED] - URL: http://francois.tourde.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]