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: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Mon, 1 Jun 2009 11:35:56 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=NcN0zMDI2aZ/H/Pt+jFknV373vo=; b=MMIs 9Pflj0L6m3gpnqUFAE1cRzlhR99hZaNK1UUV7TYZl7fkO2RIi+S7j4gbzB/IBVkd hwwwXYZSw3N3QUMFgXhTtDVMMS7vKv7KsvtGJRBQ1fTmdhU+/jZ7JeRiXTWw3L93 jUkAmhUTDVWHLJzPkqEs/UriPkd4/wlHHh4qF84=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=FtW6pYkTiHJ8tEiPO+9mxEgetKp41uGx2P9URUpN80P+PEc4A2vP2whwGJ3RzaZtUrFVAGWu6lVA1G0F+zCLI/3Jfam4KmCoWcAHLGE0uAibMNbM99PP5KjcDdsyy5hddTVDx1rsrsxN6T1XKOfAMiq5UBPrsXNaUq+NAFWSs4U=; h=Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20090601160846.GA5565@xxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20090601160846.GA5565@xxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.13 (2006-08-11)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
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
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iQIVAwUBSiQDbCuveozR/AWeAQgFlBAAq4E2F77muy+XnqnwEzCTcJ1UYAGjmV33
S5jT0LYfPLHo2OZs/GGhe9Om9H7gsSaqw4tCN/12TF9vD2AX8kl4p6UekrN8ZgWq
lihZrACoMK2lOsFhbaPxZQfwe3nulKti03U8ojgDjKPUsfajf7Ai9Yjp2EbiNTpN
1aSpvARGlsUXdqfwKjGfKmCV5cqGRVn/eIJ+Lo9FTCfI90TRgAdMmpIsir9QgHmf
9WUbhEUdyAcVCCEE+hcoJT0n3qR2AT8cn4h7WQZQQZb6C+BUQaiBwD+nS6+wBqz/
rqLEzITfcQbuNtsL4jgVJW7rhzP6dEsUonTsJblzjIQmotWGLEyWMH5cpgpuQXXw
8faosqwhQpYqMqT0jZV2Mov181aHmZ450MuLVh+Big7qAq/6hBnu3umM9kjWUzyI
Hs+RZFRh7LVX9qGvVCF1ENBSix+RdbncZEtsalDXT8AbG3a25CJgpFgyyXFtNGeQ
yWA1CNBWfBWSo53Rhle14PPrFRJcrdCwWZWbuampNvDxEW479PPRikZM7XBd5Z1Y
9zMnmymgDTeAV94FD1GHruu4DtdgG6iLIJRISP+ou91L/NArrgU5uaS4xJrDGdcp
4qPGZi8nLfJs+KhsfN551qI19faErDzP1IgxSvI4VyViu20q6s60WySx7aw1zmDs
ob8lOvnEMTA=
=MNds
-----END PGP SIGNATURE-----