diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-06 20:22:47 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-06 20:22:47 +0100 |
commit | 57445759ee3c26dd03aa8292be3187685a424c1d (patch) | |
tree | 39cce9ee56e030bb9d6d7c23b43953330ad805e2 /examples/mailtransportresource/mailtransport.h | |
parent | 9237f0d23fb3700244933b36116397b80f466902 (diff) | |
download | sink-57445759ee3c26dd03aa8292be3187685a424c1d.tar.gz sink-57445759ee3c26dd03aa8292be3187685a424c1d.zip |
Get mailtransport with kolabnow to work
when connecting to smtps:// the command will silently fail,
with wireshark spewing out a cryptic "5.5.2 command not recognized".
The magic commandline (that works) is:
curl smtp://smtp.kolabnow.com:587 -v --mail-from
"$USER" --mail-rcpt "$USER" --ssl -u
$USER.ch:$PW -T alternative.mbox -k --anyauth
Diffstat (limited to 'examples/mailtransportresource/mailtransport.h')
-rw-r--r-- | examples/mailtransportresource/mailtransport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mailtransportresource/mailtransport.h b/examples/mailtransportresource/mailtransport.h index 3ef4a6d..662fdc9 100644 --- a/examples/mailtransportresource/mailtransport.h +++ b/examples/mailtransportresource/mailtransport.h | |||
@@ -26,8 +26,8 @@ | |||
26 | namespace MailTransport | 26 | namespace MailTransport |
27 | { | 27 | { |
28 | enum Option { | 28 | enum Option { |
29 | UseTls, | 29 | UseTls = 1, |
30 | VerifyPeers | 30 | VerifyPeers = 2 |
31 | }; | 31 | }; |
32 | Q_DECLARE_FLAGS(Options, Option); | 32 | Q_DECLARE_FLAGS(Options, Option); |
33 | 33 | ||