Hello. Is there a way of using the return code of $sendmail and, if needed, retry sending a message that failed? Here's precisely what I'm experiencing: Nov 15 20:18:08 host=smtp.gmail.com tls=on auth=on user=redondos@xxxxxxxxx from=redondos@xxxxxxxxx recipients=msmtp-users@xxxxxxxxxxxxxxxxxxxxx errormsg='cannot read from TLS connection: the operation timed out' exitcode=EX_IOERR This happens every once in a while, and I have to re-send these messages when I find them in the logs. I was suggested to use a null mailer at the msmtp-users mailing list, which I will do if it's my only option. But that might interfere with my setup, since I have a running Postfix configuration that handles incoming/outgoing mail for my domains, but I use fetchmail and msmtp to get and send mail using other providers' POP3/IMAP and SMTP servers, respectively. Perhaps I can have two separate Postfix configurations, or an alternative mailer for this purpose (nullmailer, exim, etc.) What do you suggest? What would be a perfect solution is that mutt interpreted the return of the $sendmail execution and retry sending the message accordingly. Thank you. Regards, -- redondos
Attachment:
pgpPW3uljKVcC.pgp
Description: PGP signature