sendmail can be configured in the sendmail.cf to use mode=queueonly.

(from man sendmail:

DeliveryMode=x
          Set the delivery mode to x. Delivery modes are
        i
               interactive (synchronous) delivery
        b
               background (asynchronous) delivery
        q
               queue only; that is, actual delivery is done the next time
               the queue is run
        d
               deferred; the same as q except that database lookups
               (notably DNS and NIS lookups) are avoided

)

See also the sendmail operations guide.

LER


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of rex
Sent: Thursday, August 24, 2000 11:40 AM
To: Damien Tougas
Cc: [EMAIL PROTECTED]
Subject: Re: Configuring Mutt with Sendmail and PPP.


On Wed, Aug 23, 2000 at 10:36:45PM -0400, Damien Tougas wrote:
>
> I am using Mutt on a laptop, with a dialup connection. I have Sendmail
> configured to queue messages, and I force processing of the mailqueue
> when I connect via PPP. The problem is, every time mutt sends a message
> it forces sendmail to do a DNS lookup which in turn causes PPPd to make
> a connection to the net. (I know that this is Sendmail's fault, but
> from what I can see, there is no way to prevent Sendmail from doing this).
>
I'm using Sendmail on a dialup and it queues messages when offline. When
Mutt sends a message it's put in the queue and no dialup is initiated.
Later, when I connect, I type "sendmail -q" and the queued messages are
sent. Unfortunately, I don't remember where this is configured, but at
least you know it's possible to stop sendmail/PPPd from dialing every time
a message is queued (I think this is a PPPd issue).

If someone else doesn't point out what needs to be configured, let me know
and I'll dig into it more.

Regards,

-rex


Reply via email to