[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: How can I know if error happens when sending mail?
From:       Kyle Wheeler <kyle-mutt () memoryhole ! net>
Date:       2009-06-01 16:35:56
Message-ID: 20090601163556.GA1934 () marvin ! we-be-smart ! org
[Download RAW message or body]

-----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-----
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic