Re: sending postponed messages

2001-02-21 Thread Suresh Ramasubramanian

Erika Pacholleck proclaimed on mutt-users that: 

> But better than this mousing around - and no I do not intend to
> throw Mutt out but kmail as soon as I got my headers correct. 
 
 Try my howto at http://www.hserus.net/dlhowto.html (email on a
 dialup).  That's a howto on how to configure sendmail + mutt on a
 dialup.  There's also a copy of my .muttrc in case you are
 interested.
 
-s

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin  



Re: sending postponed messages

2001-02-21 Thread Erika Pacholleck

( Die, 20 Feb 2001 ) [EMAIL PROTECTED] <-- :
> If you're offline when you send messages (not postpone them),
> sendmail should queue the messages. When you're online again, "sendmail -q"
> should flush the queue, i.e., send all the messages in the queue.

( Mit, 21 Feb 2001 ) BWise <-- :
> Erika, don't throw Mutt out!
> 
> I'm on a dial-up connection (as you are) and have a script run by
> a cron-daemon which connects me to my isp, checks my various mail
> accounts, and sends queued mail (using "sudo qsend" so that I do
> not have to be logged in as root) at regular intervals. And at
> this moment I have in the neighborhood of a half-dozen postponed
> messages in Mutt.

Ok, in kmail I made myself a folder out.wait for drafts besides out.
But you are right sendmail -q does the trick - for god sake this is
not one of those postfix's sendmail commands whith (ignored:), so I
only have to discipline myself that sent is nearly out and not longer
a draft ...
But better than this mousing around - and no I do not intend to
throw Mutt out but kmail as soon as I got my headers correct. 

And of course I will end up with scripting the whole thing, that's
at least what I exactely know how to do it ;)

Thanks to all for that hint.
Erika



Re: sending postponed messages

2001-02-21 Thread Joe Philipps

On Tue, Feb 20, 2001 at 12:54:21PM -0800, [EMAIL PROTECTED] wrote:
>On Tue, Feb 20, 2001 at 08:11:22AM +0100, Pacholleck wrote:
>> I cannot afford long online times waiting that some sendmail
>> deceides to try delivery again or recalling every of all those
>> postponed in vi again.
>
>If you're offline when you send messages (not postpone them),
>sendmail should queue the messages. When you're online again, "sendmail -q"
>should flush the queue, i.e., send all the messages in the queue.
>
>Have a look at:
>http://lists.suse.com/archives/suse-linux-e/2000-Jun/2112.html
>http://cork.linux.ie/projects/install-sendmail/

I'd like to add another Sendmail tip:

So that Sendmail doesn't take long to return to Mutt when it runs
while sending a message, you might also consider using its -odd
option.

"-o" some configuration [o]ption
"d"  the [d]elivery mode option
"d"  delivery mode "[d]eferred", which is like queued, but also skips
initial DNS lookups.

This is what I do.  In fact, my sendmail Mutt variable is set to a
shell script which looks through the numeric ("-n") output of
netstat(1) for the default ("0.0.0.0") route.  Since I generally use
the "defaultroute" option to pppd(8), when I'm online, a default route
will be present, but will be absent while offline:

#!/bin/bash

sendm='/usr/sbin/sendmail -oem -oi'
if netstat -nr | grep '^0\.0\.0\.0' >/dev/null 2>&1
then # there is a default route; we're on the Internet
: # so do nothing extra
else # we aren't, so use the Sendmail defer option
sendm="$sendm -odd"
fi
exec $sendm "$@"

I hope you Mutt w/ Sendmail users like this :-)

-- 
Oo---o, Oo---o, O-weem-oh-wum-ooo-ayyy
In the jungle, the silicon jungle, the process sleeps tonight.
Joe Philipps <[EMAIL PROTECTED]>, http://www.philippsfamily.org/Joe/
public PGP/GPG key 0xFA029353 available via http://www.keyserver.net

 PGP signature


Re: sending postponed messages

2001-02-20 Thread Conor Daly

On Tue, Feb 20, 2001 at 12:54:21PM -0800 or so it is rumoured hereabouts, 
[EMAIL PROTECTED] thought:
> On Tue, Feb 20, 2001 at 08:11:22AM +0100, Pacholleck wrote:
> > I have already been through dejanews for search and as far as I
> > understood form the thread it is really not possible to send the
> > postponed messages in one bunch once I am connected to the net?
> > 
> > I cannot afford long online times waiting that some sendmail
> > deceides to try delivery again or recalling every of all those
> > postponed in vi again.
> 
> If you're offline when you send messages (not postpone them),
> sendmail should queue the messages. When you're online again, "sendmail -q"
> should flush the queue, i.e., send all the messages in the queue.
> 
> Have a look at:
> http://lists.suse.com/archives/suse-linux-e/2000-Jun/2112.html
> http://cork.linux.ie/projects/install-sendmail/
> 
I used install-sendmail to get set up initially and then use a script that
gets fired up when I go online to do a 'sendmail -q' to send queued mail.
There's a few other things that happen with that script like: firing up my
firewall, fetching mail from numerous pop servers and fetching news for my
local news server.  That's available if you want but you need to check out 
how to start a script once you go online (I use diald which has an option 
for a "just connected" script).

-- 
Conor Daly <[EMAIL PROTECTED]>

Domestic Sysadmin :-)
-
faenor.cod.ie
 12:48am  up 120 days,  7:17,  0 users,  load average: 0.08, 0.02, 0.01

Hobbiton.cod.ie
 12:53am  up 25 days, 14:43,  1 user,  load average: 0.00, 0.00, 0.00



Re: sending postponed messages

2001-02-20 Thread BWise

Erika, don't throw Mutt out! As others have mentioned, the
solution is in the mail queue, not in the postpone function of
Mutt. The postpone feature of Mutt applies only to the drafting
of messages, not to sending them. IOW, the postpone feature
allows you to save the message you are composing so you can
finish it later without queuing it for send.

I'm on a dial-up connection (as you are) and have a script run by
a cron-daemon which connects me to my isp, checks my various mail
accounts, and sends queued mail (using "sudo qsend" so that I do
not have to be logged in as root) at regular intervals. And at
this moment I have in the neighborhood of a half-dozen postponed
messages in Mutt.

On Tue, Feb 20, 2001 at 08:11:22AM +0100, Pacholleck wrote:
> I have already been through dejanews for search and as far as I
> understood form the thread it is really not possible to send the
> postponed messages in one bunch once I am connected to the net?

> Thank you.
> Erika

-- 
HTH,
BWise



Re: sending postponed messages

2001-02-20 Thread Suresh Ramasubramanian

[EMAIL PROTECTED] proclaimed on mutt-users that: 

> On Tue, Feb 20, 2001 at 08:11:22AM +0100, Pacholleck wrote:

> > I have already been through dejanews for search and as far as I
> > understood form the thread it is really not possible to send the
> > postponed messages in one bunch once I am connected to the net?
 
 It is, very much so
 
> Have a look at:
> http://lists.suse.com/archives/suse-linux-e/2000-Jun/2112.html
> http://cork.linux.ie/projects/install-sendmail/
 
 Or my howto at http://www.hserus.net/dlhowto.html (which has a copy of my
 muttrc as well <-- mentioned for the sake of staying on topic for the
 mutt-users list )
 
-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
mallet @ cluestick.org + Lumber Cartel of India, tinlcI
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Re: sending postponed messages

2001-02-20 Thread rex

On Tue, Feb 20, 2001 at 08:11:22AM +0100, Pacholleck wrote:
> I have already been through dejanews for search and as far as I
> understood form the thread it is really not possible to send the
> postponed messages in one bunch once I am connected to the net?
> 
> I cannot afford long online times waiting that some sendmail
> deceides to try delivery again or recalling every of all those
> postponed in vi again.

If you're offline when you send messages (not postpone them),
sendmail should queue the messages. When you're online again, "sendmail -q"
should flush the queue, i.e., send all the messages in the queue.

Have a look at:
http://lists.suse.com/archives/suse-linux-e/2000-Jun/2112.html
http://cork.linux.ie/projects/install-sendmail/

HTH,

-rex

-- 
Photons have mass? I didn't even know they were Catholic. 



Re: sending postponed messages

2001-02-20 Thread [EMAIL PROTECTED]

Erika,

Wouldn't that be a function of sendmail's mail queue?  I know sendmail can be 
configured to send mail when connected.  The mail queue is pretty powerful, so your 
solution might lie there.

* Pacholleck ([EMAIL PROTECTED]) wrote:
> I have already been through dejanews for search and as far as I
> understood form the thread it is really not possible to send the
> postponed messages in one bunch once I am connected to the net?
> 
> Can't really believe that there is not yet a solution out there
> from one of all those mutt users, but unfortunately those I asked
> told me well, I am always online, that doesn't touch me.
> 
> I cannot afford long online times waiting that some sendmail
> deceides to try delivery again or recalling every of all those
> postponed in vi again.
> 
> Just began to love mutt and if someone helps with this one now
> I could just throw away all the other stuff.
> 
> Thank you.
> Erika



Re: Re: sending postponed messages

1999-04-29 Thread Stefan `Sec` Zehl

On Thu, Apr 29, 1999 at 06:09:00PM +0200, Renaud Colinet wrote:
> Hmm, mutt complains at startup: no such menu
> I tried 'postponed' instead of 'postpone' (the former seems more likely from
> what I read in the manual), but I get the same message.
> I wonder if it recognizes this menu (maybe a problem of version, I use version
> 0.91.1)

I use 95.4i and it works here. So I think you migt try upgrading your
mutt.

CU,
Sec
-- 
The attached bug will fix that. 
-- Byrial Jensen <[EMAIL PROTECTED]> on mutt-dev/21.7.98



Re: Re: sending postponed messages

1999-04-29 Thread Renaud Colinet

on Apr 28, Stefan `Sec` Zehl wrote:
> On Wed, Apr 28, 1999 at 12:36:55PM +0200, Renaud Colinet wrote:
> > Hi
> > 
> > when i recall a postponed message, the only thing I can do (afaik) is press
> > , which brings me in insert mode. To send the message I have to exit
> > the editor and send. Is it possible to skip this phase and send the message
> > without editing ? (the 'y' key has no effect in this mode)
> 
> You probably could archive something like that with
> 
> macro postpone y ":set editor=touch\n:set editor='vim'\ny"

Hmm, mutt complains at startup: no such menu
I tried 'postponed' instead of 'postpone' (the former seems more likely from
what I read in the manual), but I get the same message.
I wonder if it recognizes this menu (maybe a problem of version, I use version
0.91.1)

Any hint appreciated 
-- 
  ___
{~._.~}Renaud COLINET   |
 ( Y ) [EMAIL PROTECTED] |
()~*~()(33)1 48 42 22 80 (home) |
(_)-(_)(33)1 41 75 31 37 (off)  |



Re: sending postponed messages

1999-04-28 Thread Stefan `Sec` Zehl

On Wed, Apr 28, 1999 at 12:36:55PM +0200, Renaud Colinet wrote:
> Hi
> 
> when i recall a postponed message, the only thing I can do (afaik) is press
> , which brings me in insert mode. To send the message I have to exit
> the editor and send. Is it possible to skip this phase and send the message
> without editing ? (the 'y' key has no effect in this mode)

You probably could archive something like that with

macro postpone y ":set editor=touch\n:set editor='vim'\ny"
   ^
You probably have to edit your editor setting there|

CU & HTH,
Sec
-- 
In 1968 it took the computing-Power of 2 C-64 to fly a rocket to the moon.
Now, 1997 it takes the Power of a Pentium 133 to run Microsoft Windows 95.
Something must have gone wrong.