-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Package: msmtp
Version: 1.8.11-2~bpo10+1
Severity: important

Dear Maintainer,

I am trying to use msmtpd as my local smtp server. So far, I cannot get
qBittorrent to work with it.

When setup individually, qBittorrent can send mail through both exim4
and opensmtpd, and msmtp are able to work together with apt-listchanges,
or test emails via sendmail command.

However, when configure qBittorrent to send via msmtpd, it doesn't
produce any results.

qBittorrent's log didn't record anything, dispite it should log errors
if
something goes wrong during the SMTP session.

```
(N) TIMESTAMP - 'Totally legit torrent' added to download list.
(N) TIMESTAMP - Torrent: Totally legit torrent, sending mail
notification
```

And there is no new entry in smtp's log.

When attempt to produce a mail dump using `--command`, it appears that
msmtpd didn't receive anything, as there is no contents piped to command
line.

I cannot reproduce this problem a Debian 11 Bullseye VM (amd64), with
msmtp version 1.8.11 it just works as expected. I can get mail dumped as
following:

```
$ cat maildump
m...@example.com
Date: Sun, 26 Sep 2021
From: qbittorrent_notificat...@service.example.com
Subject: [qBittorrent] 'Totally legit torrent' has finished downloading
To: m...@example.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64

VG9ycmVudCBuYW1lOiBUb3RhbGx5IGxlZ2l0IHRvcnJlbnQKVG9ycmVudCBzaXplOiA4LjYgTWlCClNhdmUgcGF0aDogL2hvbWUvdXNlci9Eb3dubG9hZHMvCgpUaGUgdG9ycmVudCB3YXMgZG93bmxvYWRlZCBpbiA8IDFtLgoKClRoYW5rIHlvdSBmb3IgdXNpbmcgcUJpdHRvcnJlbnQuCg==
```

However, this problem will occur in a Debian 10 Buster VM, with
qBittorrent 4.1.5-1+deb10u1 from official repo (though qBittorrent
version doesn't matter here, as it all failed including unofficial
builds). Upgrade msmtp to Version 1.8.11-2~bpo10+1 from buster-backports
WILL NOT fix this issue.

I have also raised this issue in upstream, more details and discussions
are available here: https://github.com/marlam/msmtp-mirror/issues/59

Regards
Reka


- -- System Information:
Debian Release: 10.10
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf

Kernel: Linux 5.10.60-v8+ (SMP w/4 CPU cores; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_CRAP
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages msmtp depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-10+rpt2+rpi1
ii  libglib2.0-0           2.58.3-2+deb10u3
ii  libgnutls30            3.6.7-4+deb10u7
ii  libgsasl7              1.8.0-8+b2
ii  libsecret-1-0          0.18.7-1
ii  ucf                    3.0038+nmu1

Versions of packages msmtp recommends:
ii  ca-certificates  20200601~deb10u2

Versions of packages msmtp suggests:
ii  msmtp-mta  1.8.11-2~bpo10+1

- -- debconf information:
* msmtp/host: smtp.sendgrid.net
  msmtp/tls: on /etc/ssl/certs/ca-certificates.crt
  msmtp/sysconfig: true
  msmtp/port: 465
-----BEGIN PGP SIGNATURE-----
Version: BCPG C# v1.8.8.0

iQE4BAEBCAAiBQJhUH03GxxTb2x5YSBSZWthIDxyZWthQGJ1dGEubW9lPgAKCRDX
S8NKJK0NOr+FB/4iYW/kpRECEOKRYxKGZO5eRjuNHoggDFIMkmggxKYgUu6xKKe6
HwP77kWCrMt1bewn5BmFMmDkUR/b6jkdZRMbhWKdfZzpgPNGhlnL7KLXBe9Wle4f
UZSosWcHFaOm2CsHkGrDAgWj6AmI6MdxrFK/wvxx2vmrRCL9SWdiheAYLdU+Afx9
HR0hOjj64zp5F5zLBp98c2GQ0QIqXKzJPcaifDsgUkdCqzUZcMU5l15V3dqAWx15
Fb1EleQ/hHsh85ZYinby7U3MKYGc1GCkESShOzfCBcIdgx5piWgPDMGuxJejspUx
EBKEJCYi1WlZWi/s0Wx3TKt9FRYFa7phc1eE
=lNte
-----END PGP SIGNATURE-----

Attachment: reka@buta.moe.asc
Description: application/pgp-keys

Reply via email to