Re: Configuring Mutt with Sendmail and PPP.
I suppose you could make a fcc-hook to an outbox, then setup a send-hook from that outbox. This would more then likely do that job. Manual. On Wed, Aug 23, 2000 at 10:36:45PM -0400, Damien Tougas muttered: | Hello, | | 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). | | Is there any way that I can make Mutt process my outgoing mail after I | have composed all of my messages? Is there another way of doing this? | | Please reply to me directly, since I am not subscribed to this list. | | Thanks. | | Damien. -- /Jason G Helfman "At any given moment, you may find the ticket to the circus that has always been in your possession." Fingerprint: 6A32 3774 E390 33B5 8C96 2AA1 2BF4 BD71 35A1 C149 GnuPG http://www.gnupg.org Get Private! 1024D/35A1C149
Re: Configuring Mutt with Sendmail and PPP.
Damien Tougas [EMAIL PROTECTED] wrote on Wed, 23 Aug 2000: Is there any way that I can make Mutt process my outgoing mail after I have composed all of my messages? Is there another way of doing this? When you send an email, Mutt calls a program defined in the $sendmail Mutt configuration variable. If you want to use some kind of "send later" scheme, it's probably best if you create your own custom setup for this. I personally would recommend ditching sendmail altogether and using something like MasqMail or something which has been created for dialup use. I don't know what kind of delayed-mailing features they have, though, but probably better than sendmail anyway. Or you could just write a custom script that saves the email in some special folder (or whatever data format you want to use), from where the emails are then sent by another script once you're online. In any case, Mutt doesn't have any kind of "send later" feature, except that you can choose your delivery program yourself. Regards, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy scifi, the Corrs / It *is* as bad as you think, and they *are* out to get you.
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
RE: Configuring Mutt with Sendmail and PPP.
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
Re: Configuring Mutt with Sendmail and PPP.
At 11:29 -0500 24 Aug 2000, Larry Rosenman [EMAIL PROTECTED] wrote: sendmail can be configured in the sendmail.cf to use mode=queueonly. It can also be done on the command line by including the -odq option. But d deferred; the same as q except that database lookups (notably DNS and NIS lookups) are avoided would probably be more appropriate here. It can be set on the command line using -odd . -- Aaron Schrab [EMAIL PROTECTED] http://www.execpc.com/~aarons/ At the source of every error which is blamed on the computer you will find at least two human errors, including the error of blaming it on the computer.
Re: Configuring Mutt with Sendmail and PPP.
On Thu, Aug 24, 2000 at 11:29:38AM -0500, Larry Rosenman wrote: 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 My sendmail.cf is: O DeliveryMode=background and no dialup is initiated if the PC is offline when mail is sent. If the PC is online, the mail is sent immediately. -rex
Re: Configuring Mutt with Sendmail and PPP.
*[Damien Tougas on Wed, Aug 23, 2000 at 10:36:45PM -0400]: 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 In /etc/sendmail.cf (or /etc/mail/sendmail.cf in sendmail 8.10.x and above) just set o HoldExpensive = True (default is false) Mail is queued on your local sendmail queue - /var/spool/mqueue in redhat - and you can process the queue by /usr/sbin/sendmail -q A complete howto is given on the ILUG Hyderabad homepage at http://linuxindia.virtualave.net/vsnlcon.html Is there any way that I can make Mutt process my outgoing mail after I have composed all of my messages? Is there another way of doing this? hth -suresh -- Suresh Ramasubramanian + Wallopus Malletus Indigenensis mallet @ cluestick.org + Lumber Cartel of India, tinlcI The college graduate is presented with a sheepskin to cover his intellectual nakedness. -- Robert M. Hutchins