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 :-)
--
Oooooo-oooo-oooo-ooooo, Oooooo-oooo-oooo-ooooo, Ooooo-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