On Thu, May 20, 2004 at 12:37:08AM +0300, Tzafrir Cohen wrote:
> On Thu, May 20, 2004 at 12:07:44AM +0300, Micha Feigin wrote:
> > On Wed, May 19, 2004 at 05:09:24PM +0200, Nachum Kanovsky wrote:
> > > Hi all,
> > > 
> > > I am working with debian unstable, and when I boot the system, I will
> > > sometimes get a very long wait on 'Staring MTA:'.
> > 
> > I am experiencing the same delay when booting with no network cable. Its
> > a network timeout. Try disabling starting the network interface in
> > /etc/network/interfaces and see if that kills the wait, or boot with a
> > connected network.
> 
> The same? What you describe sounds like a dhcp lookup delay. You can try
> reducing the timeout.
> 

I don't have dhcp, and I don't know what exim is waiting for, since it
doesn't depend on whether there are waiting messages. I think its trying
to resolve the ip for the smarthost for some reason. It also locks up
when I do mailq or try to send a mail without a network but with an
upped interface (for the send I solved it by having mutt not wait for
exim).

BTW exim is not what should lock on DHCP timeout, maybe on a dns
timeout.

> For that reason I don't start the external network interface in rc.S . I
> "manually" start it in the standard rc[2345] .
> 

That can solve the initial lockup. I use netenv so I have an none entry
for when starting without a network which doesn't up an interface to
solve this (I usually suspend/resume with swsusp2 which bypasses the
problem).

> > 
> > > I am working with exim4.
> > > The only thing I want to configure exim4 to do is to send mail using an
> > > external smtp server. I receive mail from an external pop server, and that
> > > works fine.
> > 
> > I think you need to configure exim for mail sent by smart host, no
> > local mail delivery.
> 
> There should be local delivery: all messages sent from root. And all the
> messages from fetchmail .
> 

Local delivery doesn't need exim listening (running as daemon)
locally. You don't need a local smtp server to send mail to local
users. Try stopping exim and send a mail to yourself, you will see that
it arrives.

> I think "Internet with smarthost" fits here.

You want a smarthost with no local delivery if you have a mail program
that retrieves its mail itself (kmail/evolution/mozilla/etc.). You
local server only if you use fetchmail and the such.

> 
> -- 
> Tzafrir Cohen                       +---------------------------+
> http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
> mailto:[EMAIL PROTECTED]       +---------------------------+
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
>  
>  +++++++++++++++++++++++++++++++++++++++++++
>  This Mail Was Scanned By Mail-seCure System
>  at the Tel-Aviv University CC.
> 

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to