file corruption after transmission over email
Marcelo Laia
marcelolaia at gmail.com
Sun May 22 18:27:26 UTC 2022
On 18/05/22 at 01:17, Marcelo Laia wrote:
>
> Nowadays, senders have a feedback that attach files that I sent was
> corrupted.
>
After more tests, I found that if I use the mutt native smtp, attach is
properly transmitted. I could open it very well!
So, I think there is a problem with msmtp or its configuration.
MSMTP config (msmtprc)
defaults
tls_trust_file /etc/ssl/certs/ca-certificates.crt
logfile ~/.msmtp.log
account gmail
auth oauthbearer
host smtp.gmail.com
port 587
protocol smtp
tls on
from mylogin at gmail.com
user mylogin at gmail.com
passwordeval /path/to/scripts/OAuth2/get_teteraorg_token_gmail.sh
MUTT native smtp relevant config (muttrc)
set smtp_oauth_refresh_command="/path/to/scripts/OAuth2/get_teteraorg_token_gmail.sh"
set smtp_authenticators="oauthbearer"
set smtp_url = "smtp://mylogin@gmail.com@smtp.gmail.com:587/"
set from = "mylogin at gmail.com"
set use_from = yes
set realname = "My Real Name"
--
Marcelo
More information about the Mutt-users
mailing list