Re: How can I know if error happens when sending mail?
- To: mutt-users@xxxxxxxx
- Subject: Re: How can I know if error happens when sending mail?
- From: "Chengqi(Lars) Song" <songcq@xxxxxxxxx>
- Date: Tue, 2 Jun 2009 10:09:19 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=OSONYbYmgwWcMJCKnvdlDUwrFceYnSk+MjOfMuG3lSo=; b=ZJA50XNJKaCpUjMXvvWE0NRgS3igvWSnE7dGGE6fEEnJCeYcMTlAjWRfVCDyyLYqUH V4bJWBUOXVRsC869mHmIydcGDPTeRq6kiX4d6tJW1XHQZ2RAIdSwLV7bIqGWbF6+1WnC VxqwMRfiW9jVtal/mHz50cGjGEb/7/TWtNXWs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=w2S1WCBIX06i5afJElg+i4MeKi7b2rJVNubsgPZ6UM3HMq65SCnZBNRvTAlFe9E5/q WxM/iA18Q6ce9VENh/l7DEBtVt3E9gwsxjw48fLyaX24rutQK+yEq5QyAsaJswZyHF/1 01SWfUMf5IUZY7pt1K/6eOgt6CCr68sJtWi1s=
- In-reply-to: <20090601163556.GA1934@xxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- References: <20090601160846.GA5565@xxxxxxxxxxxxxxxxx> <20090601163556.GA1934@xxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-05-17)
indeed can not interrupt mutt, but can send a local mail to myself instead i
think ...
lars
On Mon, 01 Jun 2009, Kyle Wheeler wrote:
> On Tuesday, June 2 at 12:08 AM, quoth Chengqi(Lars) Song:
> > Thanks for the method you provided. In fact I thought of that too.
> > But still it's not efficient to watch that log file everytime after
> > sending a mail. Logwatch should work but still I wonder if there is
> > any easier way to do this job. Could we possible wrap msmtp in a
> > shell script, and in the script call pass all parameters to msmtp
> > and watch consequential results? Have anybody done that?
>
> Sure, you could do that, but what then? What should the shell script
> do if sending the message fails? It can't interrupt your mutt
> session...
>
> ~Kyle
> --
> The government of the United States is not in any sense founded on the
> Christian Religion.
> -- US Treaty with Tripoly, 1797